Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading data from USB port 1

Status
Not open for further replies.

Juppo

Technical User
Jun 13, 2003
15
GB
Hi

Im new to usb and vb but have used C before. I was hoping someone could run through how I would read data from the USB port in Visual Basic. I've read/write data to serial port before in C but can't find much about VB/USB at the moment, Can anyone help?
Im hoping to read data from the usb port and display the reconstructed sinewave on a graph and store its details in a database.
 
You generally don't interact wit the USB port but with the driver for the device attached. How you interact with that driver will be specific to the driver.

Or are you asking how to write a USB port driver for a device?

======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
I am interested in this subject too.
How would I go about creating a simple USB link between 2 applications running on 2 computers like you can with MsComm?
Are there drivers or ActiveX controls for this?
 
Here
You can download drivets to make the usb look like a com port

======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
>How would I go about creating a simple USB link between 2 >applications running on 2 computers like you can with >MsComm

I don't think you can use USB to directly link 2 computers you'd need a HUB but then Im new to USB (see above) and Ive also found a USB link cable

>Or are you asking how to write a USB port driver for a device?
I followed the link you gave nigelrivett and this could make programming easier. Yes I guess Im asking how would I write a port driver.

Thanks
 
>> Yes I guess Im asking how would I write a port driver.
Think you would have to do that in assembler

You might look at this though

======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top