10-13-2009 07:17 AM
LabView 8.2 Pro
Ni-daqmx 8.5
I have always had a problem with device ID’s when building a stand alone distribution program.
I have about 6 USB DAQ modules and my development PC has them listed as device 1, 2, 3 etc. through MAX.
Every time I build an installer for a target PC I include LV runtime and Ni-daqmx 8.5 for the build along with the hardware config. from MAX.
The target PC will find the hardware and drivers with NI device monitor but the device ID’s are always different than my development PC.
I can usually get it to work by running a small application on the target PC that shows the device ID’s of the hardware plugged in. Then I go back to my development PC and change the device ID’s in the application to match the ID’s on the target PC. Then I build another application and install that on the target PC.
The target PC doesn’t have any LV application installed to manage devices other than NI-Device monitor.
I am sure I am doing something wrong any help would be appreciated.
Thanks
Brian
10-14-2009 05:31 PM
Hey Brian,
From what it sounds like to me, you've hard-wired your device identifiers on the block diagram of your VI. If you make them controls, you can change the device name on the front panel while the program is running. If that doesn't fix the issue- feel free to post your code/screen shots and we'll find a different solution. Have a good one!