Click here to Skip to main content
15,898,035 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to Read and Write to Serial Port using C# Pin
Simon P Stevens9-Dec-08 0:51
Simon P Stevens9-Dec-08 0:51 
GeneralRe: How to Read and Write to Serial Port using C# Pin
TJS4u9-Dec-08 0:56
TJS4u9-Dec-08 0:56 
GeneralRe: How to Read and Write to Serial Port using C# Pin
leppie9-Dec-08 1:08
leppie9-Dec-08 1:08 
GeneralRe: How to Read and Write to Serial Port using C# Pin
TJS4u9-Dec-08 1:20
TJS4u9-Dec-08 1:20 
GeneralRe: How to Read and Write to Serial Port using C# Pin
Simon P Stevens9-Dec-08 1:10
Simon P Stevens9-Dec-08 1:10 
AnswerRe: How to Read and Write to Serial Port using C# Pin
Giorgi Dalakishvili9-Dec-08 0:52
mentorGiorgi Dalakishvili9-Dec-08 0:52 
GeneralRe: How to Read and Write to Serial Port using C# Pin
TJS4u9-Dec-08 0:58
TJS4u9-Dec-08 0:58 
AnswerRe: How to Read and Write to Serial Port using C# Pin
Himadri Majumdar9-Dec-08 5:25
Himadri Majumdar9-Dec-08 5:25 
Hi,

I think you are going in wrong direction. Serial port are buffered port and it has got two seperate data line, which are TX (Transmit) and RX(Receive). Now if you send any data to your serial port it's there in TX buffer. So which ever device connected to this serial port suppose to get that.

So, you want to see whether this code working for you or not. So do one thing. Get one RS232 connector and short both RX pin and TX pin. Now try the same code, it should work. This is called loopback mechanism in hardware style.

If you don't have this connector then there are few utility software which create virtual serial port and same utility can create loopback mechanism also. This is loopback in software style.

I am sure either of two approach should solve your problem. Please let me know if you still face issues.

Himadri
AnswerRe: How to Read and Write to Serial Port using C# Pin
User 66589-Dec-08 0:54
User 66589-Dec-08 0:54 
Questionhow to create image manually Pin
Ronenb9-Dec-08 0:26
Ronenb9-Dec-08 0:26 
AnswerRe: how to create image manually Pin
benjymous9-Dec-08 0:39
benjymous9-Dec-08 0:39 
GeneralRe: how to create image manually Pin
Ronenb9-Dec-08 2:22
Ronenb9-Dec-08 2:22 
GeneralRe: how to create image manually Pin
Luc Pattyn9-Dec-08 0:39
sitebuilderLuc Pattyn9-Dec-08 0:39 
AnswerRe: how to create image manually Pin
Brij9-Dec-08 0:53
mentorBrij9-Dec-08 0:53 
Question[Message Deleted] Pin
vinay_K8-Dec-08 23:30
vinay_K8-Dec-08 23:30 
AnswerRe: Chart Control Pin
Simon P Stevens8-Dec-08 23:35
Simon P Stevens8-Dec-08 23:35 
AnswerRe: Chart Control Pin
Giorgi Dalakishvili8-Dec-08 23:36
mentorGiorgi Dalakishvili8-Dec-08 23:36 
AnswerRe: Chart Control Pin
#realJSOP8-Dec-08 23:46
professional#realJSOP8-Dec-08 23:46 
QuestionAccess resource file Pin
George_George8-Dec-08 23:22
George_George8-Dec-08 23:22 
AnswerRe: Access resource file Pin
Christian Graus8-Dec-08 23:23
protectorChristian Graus8-Dec-08 23:23 
GeneralRe: Access resource file Pin
George_George8-Dec-08 23:51
George_George8-Dec-08 23:51 
AnswerRe: Access resource file Pin
N a v a n e e t h8-Dec-08 23:27
N a v a n e e t h8-Dec-08 23:27 
GeneralRe: Access resource file Pin
George_George8-Dec-08 23:49
George_George8-Dec-08 23:49 
GeneralRe: Access resource file Pin
N a v a n e e t h8-Dec-08 23:52
N a v a n e e t h8-Dec-08 23:52 
GeneralRe: Access resource file Pin
George_George9-Dec-08 0:02
George_George9-Dec-08 0:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.