Click here to Skip to main content
15,913,722 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I will need to receive data from the usb port and display in graph form and save data

pic[^]
Posted
Updated 6-Jul-11 20:55pm
v2

You can subscribe to an event that will tell you when a new drive is connected. And you can then work out that it is a USB. But, a USB is just a drive, and you can read the data from it. There's a number of charting libraries, free and paid, if you can't draw your own charts, but it's not hard, esp as this is not a web app.
 
Share this answer
 
It sounds as though you're trying to treat the USB port like a serial or parallel port. You can't. It's not a port, it's a BUS.

You don't read from a USB port. You read from the device connected to it. How you do that depends on the device and what interface it exposes for applications to talk to it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900