The Ideal Method of Serial Communication

Posted on 2004-12-01
Last Modified: 2010-04-23
I'm using VB.NET 2003 and I have completed code to perform a complex conversion, now I simply need to get the serial communication working.  

I need a class to create an object to collect a data string, run it through my conversion code and then send it out through a different serial port.
(2400 baud Source, 8-N-1) >-|-<  (9600 baud Destination, 8-N-2)

If it is possible to use Virtual Serial Ports under Windows 95, I would like some information on how to do this also.

Please respond ASAP.
Thank You.


Question by:enlightec
    LVL 96

    Expert Comment

    by:Bob Learned
    First, you need something to do RS-232 communications.  There are free .NET classes or you can pay for Sax.NET serial communications.  If you have multiple COM ports, this is a fairly trivial procedure.

    LVL 1

    Author Comment

    Hey Bob, thanks for the info on SAX.NET, could you point me to some links to some free .NET classes?
    LVL 96

    Accepted Solution

    GotDotNet User Sample: Serial comunication (RS232) using VB.Net

    Serial Communication with VB.Net

    VB Sample Code: Using the COM port in VB.NET

    Sax.NET free community version
    MSDN:  The Visual Basic .NET Resource Kit

    Please take note that VB.NET 2005 should have this in the 2.0 framework.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    759 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

    11 Experts available now in Live!

    Get 1:1 Help Now