Solved

Serial Port commmunication in dotnet 2005 using c#

Posted on 2006-11-29
4
459 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
Comment Utility
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
Comment Utility
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
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 …

744 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

12 Experts available now in Live!

Get 1:1 Help Now