Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB BUS reset with VISA, using a USB-RAW device.

Hi Everyone,

I need to send an USB BUS reset to my device, which is a RAW DEVICE. What is the simpliest way to perform such an operation with VISA ??

To be really clear, I would like to perform this operation :
    http://libusb.sourceforge.net/doc/function.usbreset.html

This function works nicely with linux (or windows, with the win32 port), but .... I would like to do the same operation with VISA, using (under windows) the VISA dll and the NI VISA USB driver (NIVIUSBK.sys).

Any clue ???

Many thanks for your help.

0 Kudos
Message 1 of 3
(4,353 Views)
Hello tinomana,

there is no generic VISA function to reset a USB device, as such a function is depending on the device. You can send the correct RESET message if you know the command set of the device.

Please see the following forum post for more information:

http://forums.ni.com/ni/board/message?board.id=140&view=by_date_ascending&message.id=8146#M8146

Regards,
Johannes

NI Germany 649700
0 Kudos
Message 2 of 3
(4,334 Views)
Hi Johannes,

Thank you for your interrest in my problem.

However, my problem isn't device related. I would like to perform a USB BUS RESET, i.e., I would like to force the appropriate hub drive D+ and D- for my device to a level lower than Vol for more than 10 ms (that's the definition of an USB Bus Reset).

Do you have any ideas of how to do that ??

Again, many thanks.

Regards

Jacques

0 Kudos
Message 3 of 3
(4,309 Views)