New topic: How to can 2 apps, on the same COM port, talk to each other?
<http://forums.realsoftware.com/viewtopic.php?t=47582> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message tseyfarth Post subject: How to can 2 apps, on the same COM port, talk to each other?Posted: Fri Apr 12, 2013 10:27 pm Joined: Sat Dec 04, 2010 9:14 pm Posts: 894 Hello all, I need to create a simulator/test app that will listen to, and reply on the same serial port as the application to be tested. In normal operation, my app polls external hardware devices via RS232 -> Rs485 over wire ->RS485 ->uC For the test app, I want to run it on the same computer, and replace everything right of the RS232, so that the test app will listen and respond to polls made by the polling "engine". Ideas would be really appreciated! Thank you, Tim Top timhare Post subject: Re: How to can 2 apps, on the same COM port, talk to each otPosted: Sat Apr 13, 2013 1:25 am Joined: Fri Jan 06, 2006 3:21 pm Posts: 12234 Location: Portland, OR USA Do you have a second com port? I'd use a crossover cable and connect the two ports, with the test app on the second port. Top tseyfarth Post subject: Re: How to can 2 apps, on the same COM port, talk to each otPosted: Sat Apr 13, 2013 1:34 am Joined: Sat Dec 04, 2010 9:14 pm Posts: 894 Hi Tim, I am using my notebook. I can create COM ports using USB to Serial Adapters, but my notion was to use no extra hardware. Strictly a software test/simulation project. However, if that is the only way, then that is the only way. Internally to the Notebook, there are COM ports available. However, that would be a software solution as well.... Tim Top p0wn3d Post subject: Re: How to can 2 apps, on the same COM port, talk to each otPosted: Sat Apr 13, 2013 3:58 am Joined: Sun Oct 28, 2012 4:54 am Posts: 204 Location: Herts, UK How about Virtual Serial Port Emulation. I use it for testing works great. http://www.eltima.com/products/vspdxp/ _________________ Real Studio 2012 R2 SysInfo BackTrack Linux/BackBox Linux/Debian Lenny/Windows 7/Windows 8/OpenWRT/OpenBSD & Yes it's me in the Avatar Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
