02-21-2007 06:04 PM
02-22-2007 05:54 AM
If the original executable was written in LabVIEW 6.0, then you must have the LabVIEW6.0 runtime engine installed. The 6.1 engine will not work. But since it sounds like the application is running (you're getting a DAQ error), then I'm guessing that the 6.0 RTE has been installed, or the code was actually written in 6.1.
My best guess for the DAQ error is probably in the configuration of the DAQ card. If you go to the Win98 machine, you should find a program called "Measurement and Automation" Explorer. Normally there's an icon on the desktop. If not, look in the Start Menu>Programs>National Instruments. This is an application that gets installed with the DAQ driver that is used to configure the DAQ devices.
Open this and look in the tree on the left. Expand the "Devices and Interfaces" category. There should be a subcategory named "Traditional DAQ Devices" or something like that. Expand that and you should see the PCI-6023E card. After the card, there's another name. Possibly "Dev1", but it could be anything.
Now go the WinXP machine and look in the "Measurement and Automation" explorer for the DAQ card. Make sure it has the same name after the card name. Right click and Rename if it's not.
Give that a look and let us know if that takes care of it or not.
Ed
02-22-2007 12:58 PM
Hi Ed,
Thanks for your reply. Unfortunately, there was no difference in the labeling of the devices. In the Win98 and XP computer, the PCI-6023E are aleady both labeled as Device 1.
Any other suggestions or next steps to try?
One thing I am going to try is instead of using an XP computer, I will use another Win98 computer and duplicate the original system. Do you think the computer's platform has any bearing on whether this executable will work or not?
Regards,
Ken
02-22-2007
03:23 PM
- last edited on
07-08-2025
08:38 AM
by
Content Cleaner
MagCor:
As Ed eluded to earlier, if you created an executable using LabVIEW 6.0, only a computer with the RTE 6.0 installed will be able to run the application. Furthermore, if your application uses Traditional DAQ drivers, you will need to make sure that those drivers are installed on the other computer. The LabVIEW Run-Time Engine gives you the ability to access all native LabVIEW functions. To use applications that rely on the DAQ drivers, you can either install the Traditional DAQ driver or create an installer instead so that you can include the DAQ driver in it.
I hope this helps and please let me know how I can help you further.
Regards,
Rudi N.
02-23-2007 11:41 AM
02-23-2007 12:49 PM
I've gotten that error when the channels aren't set up in Measurement & Automation Explorer. With traditional NI-DAQ, you need to set up virtual channels. You can do this by right clicking on Data Neighborhood and selecting "Create New..." Then pick "Traditional NI-DAQ Virtual Channel." You can use this to set up all the channels on the new computer, or you can just copy the configuration over by doing the following:
Got to the old computer and open Measurement & Automation Explorer. Go to Tools -> Traditional NI-DAQ Configuration -> Save Configuration As...
Copy the file to the new computer. Go to the same menu and select Set Active Configuration...
The virtual channels should be copied over and show up under "Data Neighborhood."
02-23-2007 01:23 PM
02-26-2007 03:27 AM
MagCor:
It is great to know that things are now working fine. Please do not hesitate to post again if you need additional assistance.
Regards,
Rudi N.