Make DAQmx Task Work Across Multiple Systems

Updated Jun 14, 2018

Reported In

Driver

  • NI-DAQmx

Issue Details

I have created a DAQmx task, and I would like the task to work on multiple systems.

For example, I have 3 laptops which all have USB DAQs installed, and I would like the same task to work on all three computers regardless of which piece of DAQ hardware is plugged in. How can I make sure this works?

Solution

As long as the hardware has the proper capabilities to perform the task, the devices simply need to have the same name in NI MAX across all systems (i.e., Dev1).

For example, you could have the same hardware-timed analog input task work on two separate DAQ devices of different model numbers on two different computers as long as the channels specified by the task exist, the devices have the name specified by the DAQmx task, and the hardware configuration is valid on both devices.

Additional Information

If a device of the same name already exists in NI MAX, you must rename the devices such that the device you want to use has the name specified by the DAQmx task.

WAS THIS ARTICLE HELPFUL?

Not Helpful