LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

identify usb device ID

hi,

My OS is Windows XP sp2, now want to program a USB application. When using DDW to install USB driver, it ask to fill the device ID , but I do not know how to do this. From Windows control panel , I have found that the device infomation :USB\VID_05E3&PID_0702\5&3733C518&0&4. which is the USB ID ? please advise . thanks.


David
0 Kudos
Message 1 of 5
(6,482 Views)
First, are you using the DDW to enable VISA control because the vendor of the USB device did not provide a driver? If that's so, then the vendor should be able to provide you with the device ID along with the communication protocol details. If you don't have these details, having the device ID won't do any good because you won't know what commands to send using the USB RAW class. If the vendor did provide a driver, you do not use the DDW. If the device is USBTMC compatible, VISA should detect it as soon as it's plugged in. If the device comes with a driver and it's not USBTMC compatible, you would not use VISA to communicate with it. You would use the Call Library Function Node to interface to the driver DLL.
0 Kudos
Message 2 of 5
(6,474 Views)
Hello~
Question:I want to give device's PID/VID(ex:USB\VID_05E3&PID_0702\5&3733C518&0&4 )
I try to do:
1.I use "VISA Resource Name Constant" and set it: Select VISA Class->I/O Session->USB RAW~I set "USB RAW"
 
2. VISA Resource Name Constant->Create->Property->Register Based Setting-> "Manufacturer Identification" ~in the Diagram Panel will appear Property:Register Based Setting:Manufacturer Identification
 
3.Connect "VISA Resource Name Constant" and Property:Register Based Setting:Manufacturer Identification,create Property:Register Based Setting:Manufacturer Identification output
 
4.Run this vi
 
5.I get error message:
 Error -1073807343 occurred at Property Node (arg 1) in Untitled 1 Possible reason(s): VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.
 
How could I get device device's PID/VID??~Please advise.thanks.
0 Kudos
Message 3 of 5
(6,012 Views)

Instead of posting to an old (and probably unrelated thread), you really should start a new one.

The original question was about using the Driver Development Wizard. Are you saying that you did that and now you get an error?

0 Kudos
Message 4 of 5
(5,998 Views)

Thanks~ Dennis!!

I used key word:VID to find this Item,I will start a new one.

I didn't use VISA Driver Development Wizard.

My description is in LabVIEW diagram panel,use a VISA I/O icon and set its attribute.(http://zone.ni.com/reference/en-XX/help/371361D-01/lvvisaprop/manf_id_usb_raw/)

I want to use LabVIEW programming read PID/VID of USB Device.

0 Kudos
Message 5 of 5
(5,982 Views)