Solved

Serial Communication in C#

Posted on 2004-03-23
6
440 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
New to SOAP and need some direction 10 47
Name space syntax error 12 44
Not showing page correctly 3 31
How useful is the free version of Selenium? 3 17
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

24 Experts available now in Live!

Get 1:1 Help Now