Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically accessing list of NI-DAQmx devices in LabVIEW

We have multiple NI-6009 DAQ units that we use for test and cycle control. These are used on multiple computers and the DEV# is different on each computer. I was able to evaluate the DAQ Assistant and can do this with individual Dev#/Port#/Line#. But I have many DAQ Assistants within a VI that control only one or two lines each. So when I use all 12 digital outputs, I would have to have 12 different controls that I would need to change to a different DEV#. Is there anyway that I can set a DEV# only, and reference that DEV# when I need to control specific lines? I hope this is explained good enough. I attached a block diagram that may help with this explaination.
0 Kudos
Message 1 of 2
(3,202 Views)
Try using a string instead of a DAQconstant.
You can use concatenate string to build the correct value.

greetings from the Netherlands
0 Kudos
Message 2 of 2
(3,199 Views)