Solved

Serial Port commmunication in dotnet 2005 using c#

Posted on 2006-11-29
4
469 Views
Last Modified: 2008-01-16
can i know the code to communicate using c# 2005 serial port class
mainly i need to know how to read from the device

if possible please update me with full details about system.IO.Ports
0
Comment
Question by:godwin1980
4 Comments
 
LVL 1

Accepted Solution

by:
Bone99 earned 250 total points
ID: 18035917
Here you find a description how to use:
http://www.codeproject.com/csharp/serialcommunication.asp
Read also the messages at the bottom.

A demo:
http://msmvps.com/blogs/coad/archive/2005/03/23/39466.aspx

Here you find the sources for the VS 2003 and .NET 1.1 (which not includes serial port access):
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=b06e30f9-1301-4cc6-ac14-dfe325097c69
Also there is a small demo app (terminal). You can adapt the demo application to the .NET 2.0 serial class.

I did not compare if the demo apps are identical or not.


Have fun, it's not really difficult
Bone99
0
 
LVL 16

Assisted Solution

by:AlexNek
AlexNek earned 250 total points
ID: 18036196
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

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

867 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

15 Experts available now in Live!

Get 1:1 Help Now