Solved

Serial Communication in C#

Posted on 2004-03-23
6
439 Views
Last Modified: 2008-02-01
Hi,
Could somebody provide me with the URL or sample code for serial port communication in .NET?

Thanks in advance.

Thanks,
Pampa
0
Comment
Question by:pampa34
6 Comments
 
LVL 10

Accepted Solution

by:
eternal_21 earned 63 total points
ID: 10656055
0
 
LVL 1

Assisted Solution

by:uk2cn
uk2cn earned 62 total points
ID: 10657392
0
 

Expert Comment

by:mitesh114
ID: 14319141
hi uk2cn,

I am using the serial comms component from the second link that you have given here and am having problems setting up the software flow control.  My application needs to send a text file and after each line should receive an XOFF from the hardware and then an XON when it has finished processing the line.  Thereafter then next line in the text file should be sent.  Do you know what I would need to configure my dcb settings to, to get this working?  I have set the flow control to Xon/Xoff, I have set the baud rate to 115200 and I have tried setting the TxXoffFlow to true so that the dte transmission is suspended because an Xoff is received.  However, it seems that I am not getting an Xoff as each line is not processed.  I know that the hardware works as it is running with hyperterminal just fine.  Any help would be much appreciated...
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now