Solved

Serial Communication in C#

Posted on 2004-03-23
6
448 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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