USB Data and Visual Basic Program.

Status
Not open for further replies.

vamanan

Full Member level 2
Joined
Aug 9, 2005
Messages
135
Helped
10
Reputation
20
Reaction score
4
Trophy points
1,298
Location
India the Great
Activity points
2,286
Hi All,
Just like grabbing the data coming in the RS232 Port by a Visual Basic Program, Is it possible to grab the USB serial data coming in the USB port by a Visual Basic Program?.
Can anybody guide me in getting a solution for that.
Advance thanks.
Regards,
Vamanan
 

Not really. Each USB device is a different kind and uses different drivers. You can buy devices that will appear as COM or LPT ports such as USB-to-serial, USB-to-parallel, USB modems, specialty USB devices (dongles, etc.) Some appear as mice or keyboards (HID's) and others are more specialized and require custom drivers. But in general it's unfortunately not possible to intercept the data like the serial or parallel ports.
What kind of USB device are you using?
 

Hi newelltech,
Thanx for your reply. Presently we are not usung any USB device. But in our project we have a microcontroller which sends the serial data through USB Port following the USB Protocol. But we didnt developed the USB data transmission till now. we are planning to do so. So we thought of making a VB program which will run in PC and collect the USB data coming and do furthur processing. Now it seems it is difficult. May be we have to do as per ypur advice (USB to serial) which look like LPT port in the PC. Thanx for your fast reply.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…