10-27-2010 08:42 AM
How do I read the USB product names in CVI. I need to know which DAQmx instruments I have connected. If its a USB-6009 and/or USB-6221. Any help would be appreciated.
Thanks
10-27-2010 10:23 AM - edited 10-27-2010 10:25 AM
Device product type can be obtained with
DAQmxGetDeviceAttribute ("DeviceName", DAQmx_Dev_ProductType, msg, 4096);
There is a whole series of properties that you can retrieve on installed devices: I suggest you study the list of attributes available for this function in order to detect if some of them can be of some help for you.
The list of all devices present in the system (regardless they are simulated or actual devices) can be obtained with
DAQmxGetSystemInfoAttribute (DAQmx_Sys_DevNames, msg, 4096);