Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

attribute for USB device description from the inf file

I have created an inf file for a USB device with the NI driver wizard.

During this process i entered a device description. This description can be seen in the inf file in the section [Strings] like:

 

USB\VID_XXXX&PID_XXXX.DeviceDesc="My Device Description"

 

This device description is also shown in the windows device manager in the category "NI-VISA USB Devices".

 

I want to read the device description from the inf file with a VISA function like GetAttribute.

But i was not able to find the attribute which gives me the device description from the inf file.

 

Is there an attibute or other function to get the device description?

0 Kudos
Message 1 of 3
(3,318 Views)

Hi, 

you can use the MAX API in LabVIEW.

 

Example: I have an USB handscanner from metrologic. The device description in the INF file is "Metrologic Scanner".

 

Untitled.png Untitled2$.png

 

Hope this helps!

Cheggers

Sascha
0 Kudos
Message 2 of 3
(3,311 Views)

Is there also a solution just using the VISA API?

0 Kudos
Message 3 of 3
(3,298 Views)