02-13-2012 07:36 PM
Hi , I have designed an experiment using LabVIEW and NI ELVIS II Board . I have used DAQmx and NIELVISmx functions in this vi but every time I run this vi I need to set the device name manually and this device name might be different from one ELVIS board to another ELVIS board. For example for one board it might be Dev1/ai0 and for the other one it might be Dev4/ai0 so before running my code I need to set all the device names one by one. Now I would like to know is it possible to change the code to automatically find the device?
02-14-2012
01:25 AM
- last edited on
07-09-2024
05:57 PM
by
Content Cleaner
Hello Tintin99,
There is a daqmx property called as "Device Names". This returnes the names of all the DAQ devices connected to the system. You can use this property to identify the device name programmatically.
Hope this will help.
Regards,
Hardik Asawa
02-14-2012 09:32 AM
It is also discussed in this thread