Click here to Skip to main content
12,063,006 members (31,664 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
I have an application by which I want to write some amount of data to Serial Port and Read the same amount of data from the serial port.For example from a text file first the I read data and send it to the Serial Port and from Serial Port I receive the data and write it in another text file.How ..Please help..
Posted 29-Mar-13 20:00pm
debarunb1.1K
Comments
jsolutions_uk 30-Mar-13 4:31am
   
here maybe?
ThePhantomUpvoter 30-Mar-13 8:24am
   
"How"... write some code is how.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

You didn't try Google[^], did you?
  Permalink  
Comments
Shahin Khorshidnia 1-Apr-13 19:49pm
   
Nice point :D
My +5
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You can use the class the class System.IO.Ports.SerialPort:
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx[^].

—SA
  Permalink  
Comments
Shahin Khorshidnia 1-Apr-13 19:49pm
   
+5
   
Thank you, Shahin.
—SA

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160204.4 | Last Updated 1 Apr 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100