Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

generic "virtual" comport

Post any examples or modules that you want to share here

generic "virtual" comport

Postby fixstuff555 » Tue Sep 27, 2011 2:43 am

Here is a "remote" comport. Basically on the server side program, a COMport primitve is interfaced to the Ethernet Server primitive, and on the Client side is strictly the Ethernet Client. Although not a true virtual comport, it allows an easy way to write messages to a comport located on a remote computer, and receive replies. I tested it with a simple loopback, but it probably needs a bit more work to fully flesh it out. By adding another COMport primitive on the Client side, you would have a basic tunneling serial port. Both features if purchased in a specialty module usually runs from $150 to $500 for full blown virtual serial ports with tunneling (i.e Digi IAP one or similar). With a bit more work, this code could become VERY useful to someone possibly.
Attachments
virtual comport_server_r1.fsm
(15.18 KiB) Downloaded 1494 times
virtual comport_client_r1.fsm
(14 KiB) Downloaded 1455 times
fixstuff555
 
Posts: 151
Joined: Thu Oct 21, 2010 3:24 pm

Return to User Examples

Who is online

Users browsing this forum: No registered users and 25 guests