LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Get the installed hardware device list

Hello,

After installed some DAQ board or other controller, using MAX can find these installed infomation list, now I want also create the same application with CVI 7.0, I'd like to know does cvi can do this work ? if it can , which founction can be used ? Thanks.


David
0 Kudos
Message 1 of 3
(5,812 Views)
Hi,

You can use the functions viFindRsrc, a function from the VISA library to search for the connected hardware devices over different buses (PXI,GPIB,PCI,VXI) by mentioning in the search option string.

Regards,
Siddu
0 Kudos
Message 2 of 3
(5,812 Views)
You could also use the devcon utility to enumerate devices. I believe the Windows SDK might have the code for this available as well. Or you could just parse its output.

The advantage of this is that you wont need to have VISA installed on the machine to do this ( could be handy if you intend to redistribute the app). But the parsing can get complicated.
Bilal Durrani
NI
Message 3 of 3
(5,797 Views)