dcsimg
Results 1 to 7 of 7

Thread: A program that simulates a serial device to test my code?

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2012
    Posts
    49

    A program that simulates a serial device to test my code?

    Hi guys,i'm looking for a program that can simulate a serial device, so that when i run my code, which sends data thru the COM port, I can see what's being sent out of the COM port without an actual device connected to my computer.
    I've been searching for such programs.Now my question is what would you call such a program?? a Serial port emulator? or Virtual serial port emulator?

    I kinda remember someone else used Hyperterminal to do things like this(i may be wrong), but it's not supported in Win7 any more. Any suggestions appreciated.

  2. #2
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 2012
    Posts
    8,242

    Re: A program that simulates a serial device to test my code?


  3. #3
    Addicted Member
    Join Date
    Nov 2011
    Posts
    212

    Re: A program that simulates a serial device to test my code?

    Com0Com at Sourceforge is one , there is another I have used, if I remember the name I will add it to this post with an edit.

  4. #4

    Thread Starter
    Member
    Join Date
    Mar 2012
    Posts
    49

    Re: A program that simulates a serial device to test my code?

    It seems Hyperterminal doesn't act as a virtual device that works with a program sending bytes. Instead what it does is it sends/receives data with an external device connected to the COM port. Am i right?

  5. #5
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    13,090

    Re: A program that simulates a serial device to test my code?

    I am not aware of any program that will actually pretend to be a com port. The simple way to test a serial program is 2 use 2 com ports and connect one to the other with a null modem cable then point your program at one port and a program like hyperterm or other such com program to the other port assuming of course you have to com ports to work with. If only one port then another pc to act as the device using a null modem serial connection between the 2.

  6. #6

    Thread Starter
    Member
    Join Date
    Mar 2012
    Posts
    49

    Re: A program that simulates a serial device to test my code?

    Thank you DataMiser I think i'd probly use 2 computers

  7. #7
    Addicted Member
    Join Date
    Nov 2011
    Posts
    212

    Re: A program that simulates a serial device to test my code?

    Here is the link for the second option I mentioned

    http://www.eterlogic.com/Downloads.html

    the download is Virtual Serial Ports Emulator and is easier to use than Com0Com in my opinion.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width