Click here to Skip to main content
Rate this: bad
good
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 at 30-Mar-13 4:31am
   
here maybe?
ThePhantomUpvoter at 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 at 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 at 1-Apr-13 19:49pm
   
+5
Sergey Alexandrovich Kryukov at 1-Apr-13 19:51pm
   
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
0 OriginalGriff 5,170
1 DamithSL 4,357
2 Maciej Los 3,750
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,851


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 1 Apr 2013
Copyright © CodeProject, 1999-2014
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