Visual Basic CODE for USB

G

Thread Starter

greg

I have an application that requires to extract some data from an existing Micrsoft Access file and send it to over USB to a test equipment.

It would very helpful if somebody has a source for App. notes or if somebody can recommend a good book with source code examples. I will be using VB 6.0 under WIN XP.

Thanks,
Greg
 
R

Robert Scott

USB is not like a serial port. You don't just "send it over USB". Instead each device on the USB (like the test equipment that you mentioned) comes with its own device driver that installs in Windows. That device driver can present a variety of interfaces to your application programs. Some devices present the equivalent of an async serial port. If that is the case with your device, then you would access this "pseudo serial port" just as you would any other serial port in Windows. You just have to find out what COM port number it is installed as in Windows. If this is not the interface that your test equipment provides, then you will have to get more information from the vendor of the test equipment to see how to interface to it with your application program.

Robert Scott
Real-Time Specialties
Embedded Systems Consulting
 
Top