Click here to Skip to main content
15,906,558 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
hi to all
How can I use to read and write data to usb port in vb.net?
its possible?
i will record a biosensor diagram signal mediated micro-controller .
Posted

Probably the easiest way would be communicating with the microcontroller via a virtual RS232 (that is standard serial communication, ignoring USB details).
Do you have control on the microcontroller side?
 
Share this answer
 
Comments
aminsajad 27-Jan-12 15:29pm    
Noi have not any control on microcontroler side
i will control entirely with laptop
CPallini 27-Jan-12 15:32pm    
What I meant was: "Do you know how the microcontroller talks with your PC? Do you have any documentation about?"
aminsajad 27-Jan-12 15:48pm    
My academic background is the plant pathology and i work on diagnosis of pesticide By biosensor, have little information on the electronic
CPallini 27-Jan-12 16:37pm    
OK, but you should have a bit of documentation. The biosensor should come with documentation.
I did a quick search here on CP and found this. USB Port Communication in C#[^]

I understand that it is in C# and your tag is labeled VB.NET, but you can easily translate the code by using any converter. I hope this helps. :)
 
Share this answer
 
Comments
aminsajad 27-Jan-12 15:34pm    
thanks for attention and your help.

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