LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Read DAQmx Product name in cvi

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

 

 

 

0 Kudos
Message 1 of 2
(2,943 Views)

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);

 



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,934 Views)