From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Student Projects

cancel
Showing results for 
Search instead for 
Did you mean: 

(Automatically) Find myDAQ - DAQmx Utility Function

Update: For DAQmx 9.4 and higher any myDAQ device plugged in will be named "myDAQ1" by default to you can just use the defult constant. If you are using an older version of DAQmx this will be useful.

If you are trying to build VIs that automatically configure with myDAQ it can be tricky since myDAQ device numbers change if you plug in multiple devices. This function will automatically locate all connected myDAQ devices and allow you to build a physical channel specifiier. This VI could easily be configured to detect any type of device, just change the string constant. Please leave any questions in the comments.

Note this cannot be used with the DAQ assitant, since it does not have a physical channel input.

Context Help for Find myDAQ

Find myDAQ Context help.png

Find myDAQ Source Code

Find myDAQ.png

Example of how to use this function:

Example.png

Contributors