Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
am developing hand held system.
Posted
Comments
BillWoodruff 12-Dec-13 15:03pm    
I am reading your question, and all I am getting is that you are developing a handheld system that reads data from a serial port.

How can we help you ? What problems are you having ? What is the device ? What code do you use, or have you tried, to read data from the serial-port in .NET ?

1 solution

Start by looking at the SerialPort Class: http://msdn.microsoft.com/en-us/library/system.io.ports.serialport(v=vs.110).aspx[^] - the link includes an example, but it doesn't use events. This does: http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.datareceived(v=vs.110).aspx[^] - and is a better approach in most cases.
 
Share this answer
 
Comments
Member 10263519 12-Dec-13 7:07am    
yes i read those but am not getting
OriginalGriff 12-Dec-13 7:18am    
Not getting what?
thatraja 12-Dec-13 7:30am    
Then you should read slowly, seriously.

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