LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i get all devices C/C++?

Hello,

I need to know all installed devices and there type in my program because I must choose the right device.
It is possible that there are more than one devices. So I want to check all Ni devices and search for all USB-6008.
So I can get the needed device/channel name to create a task.

How can I do this? I searched in the C Reference Help but i didn't found the required functions.
Thx for your help

Best regards

Pellaeon
0 Kudos
Message 1 of 2
(2,607 Views)
Ok, the solution is the well hidden functions DAQmxGetSysDevNames and DAQmxGetDevProductNum.
0 Kudos
Message 2 of 2
(2,578 Views)