Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB communication without visa driver

 

Hi all,

 

I am currently developing the tests for printer product. I have a list of USB function (in hex format) provided by the firmware engineer. The firmware functions can work well if USB visa driver is used.As many might knows, printer device will show as "USB printing support" in the device manager, the printer software will use this "USB printing support" port for printing purpose. So if I use the USB visa driver to overwrite the "USB printing support", the printer software will not be able to send the print job to the printer.

 

I have to perform both USB firmware functions and user printing test in the same computer.

Is there a way to read/write USB raw data without creating the visa driver for printer?

 

Appreciate any help. Thank you.

 

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

You could have a look at the Libusb-win32 project.  It offers a filter driver for USB devices which enables parallel usage of standard drivers AND other usages.  It's not VISA and it'll require generating an INF and some DLL interfacing, but it should be just the ticket.

 

I haven't implemented this myself, but I was just looking at it for a possible project.

 

Shane.

0 Kudos
Message 2 of 3
(3,628 Views)

 

Thanks for the reply. But I couldn't visualize how to make use of the libusb for USB communication.

I did some research and found that the libusb have to be built into DLL then only can be used.

Is there anyone out there has the DLL for this libusb?

 

Thanks for help.

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