I am trying to find a way to search for all of the NI-DAQmx Devices connected to my computer in C#. I realize it will usually be Dev1. However, I am using mulitple NI-USB6501's and my computer remembers which on is Dev1, Dev2,... Is there a method that returns the names of the devics currently connected to the computer? I am hoping there is a way to return an array of strings of all the devices so that I could then try to connect to each without asking the user which device he has connected.
Thanks for any help.
Solved! Go to Solution.
Oops how did I miss C#. Well, the APIs are the same. If you do a search for those properties in .NET's DAQmx assembly, you will be able to find it. Have a look around and post back.