1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.


Discussion in 'Embedded' started by nasif4003, Sep 12, 2007.

  1. nasif4003

    nasif4003 Guest


    I am new in serial port programming. I am currently doing a program
    that communicates to DSP board through COM1 port. But I am using
    Microsoft Visual Studio 2005. The language that I am using is C#. I am
    using the built in class SerialPort provided by Microsoft. When I send
    some bytes to the output buffer they always appear somewhat later at
    the input buffer...
    This is really frustrating.I know how to turn off the local echo in
    the Hyperterminal, but there seems to be no method for doing this in
    Microsoft Visual Studio.

    Please help me to resolve this problem

    Thanks in advance
    nasif4003, Sep 12, 2007
    1. Advertisements

  2. nasif4003

    Eric Guest

    I never had this problem. The SerialPort class doesn't echo on it's
    own. It must be coming from your board?

    Eric, Sep 12, 2007
    1. Advertisements

  3. Why do you need to mess with the SerialPort? Isn't it better to go
    directly to the API:

    hComm = CreateFile(...);


    As simple as that.

    Vladimir Vassilevsky
    DSP and Mixed Signal Design Consultant
    Vladimir Vassilevsky, Sep 12, 2007
  4. That is what the SerialPort class does.
    The Real Andy, Sep 13, 2007
  5. nasif4003

    JeffM Guest

    Well, you've been *posting to Usenet* long enough
    that you should have learned how to do it properly.

    Stop doing this:

    If you MUST post the *same* question to MULTIPLE groups,
    use this technique:
    More stuff you should read:
    Especially note "shouting".
    JeffM, Sep 13, 2007

  6. plonk....
    The Real Andy, Sep 14, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.