Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Serial Port Emulator

  • 05-04-2013 11:19am
    #1
    Closed Accounts Posts: 19,777 ✭✭✭✭


    I'm presently doing some work which involves communicating with industrial equipment via serial port (over RS232). Pretty straightforward set-up and no handshake needed in the connection - I send commands, I get data responses.

    Now as I said, this is industrial equipment, so it's not like I can have one of these next to my PC, or camp next to it on the factory floor when coding. As such, what I'd like to find is something to emulate a COM-port which can be set up to do the expected request-responses while developing.

    There's a few of these around, if one Google's, but would like to know if anyone can recommend one based upon my above requirements - ideally open source.


Comments

  • Registered Users, Registered Users 2 Posts: 13 that_other_guy


    I've used this when developing serial port applications :
    http://sourceforge.net/projects/com0com/

    Install the Null-modem emulator and it creates virtual port pairs on your PC. Write data to one COM Port and you can read that data from its pair and vice versa.

    Just write another program to emulate the industrial equipment to read from/write to that COM Port with the expected request/responses

    Hope this helps


  • Closed Accounts Posts: 19,777 ✭✭✭✭The Corinthian


    Thanks. Ideally if the emulator could be programmed to send even static responses would be nice, but I suppose you can't have everything.


Advertisement