• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

RS232 Simulator

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    RS232 Simulator

    Anybody know where IO can get hold of a decent software RS232 simulator. I am developing some code to communicate with a device for which I have the spec but no device yet.

    Thanks.

    #2
    Just do what I did (whilst writing an SMS application):

    1. Use a null modem cable between COM1 and COM2.
    2. Write an app that emulates the protocol (trivial!) in .Net 2.0 (hint: System.IO.Ports) and bind it to a COM port. Fairly simple async single threaded server except over RS232 stream rather than a network stream.
    Serving religion with the contempt it deserves...

    Comment


      #3
      Originally posted by TheMonkey
      Just do what I did (whilst writing an SMS application):

      1. Use a null modem cable between COM1 and COM2.
      2. Write an app that emulates the protocol (trivial!) in .Net 2.0 (hint: System.IO.Ports) and bind it to a COM port. Fairly simple async single threaded server except over RS232 stream rather than a network stream.
      Helpful suggestion but:-

      - Only got one phyiscal com port (it's a notebook, the code is running in a VMWare VM and there is only one available com port). Ok, I could hook it up to the COM port on another machine.
      - More importantly. I really can't be bothered.

      There must be a shareware one available somewhere, but stuffed if I can find it.

      I use a simple software monitor to analyse the data, just want a bit more than that so I can make up the responses.

      Comment


        #4
        I use a UNIX box with expect on (and a Cypress USB HID<-->COM adaptor) for that but I doubt that will do for you.
        Serving religion with the contempt it deserves...

        Comment


          #5
          Dont know if this is any help but with the power of Google I found:

          RS232 Simulator

          Chef
          The proud owner of 125 Xeno Geek Points

          Comment

          Working...
          X