FabulaTech Forum Moderator
FabulaTech Forum Senior Member
Gender: Posts: 427
Re: Getting Data to the proper application?
« Reply #1 on: Jul 1st, 2008, 4:10am »
Thanks for interesting question.
Serial Port Splitter works in broadcast mode, it means that all virtual ports receive reply from physical port.
We expect to add similar "multiplexor" feature that will work as you described, but it will not work in some cases.
But we still able to offer you the proper solution.
We offer product "Virtual Serial Port Control".
This solution allows to create virtual COM ports from your own application and fully control it using our API.
You will be able to create virtual COM ports from your application and create some kind of multiplexor, based on rules you know.
Your program created virtual COM2, virtual COM3.
App1 open COM2, App2 open COM3.
Data from COM2 comes to your program, and data from COM3 comes to your program.
Your program writes data from COM2 to COM1, reads reply, and sends it to COM2; Also it reads data from COM3, writes it to COM1, reads reply from COM1 and writes it to COM3.
This is the only reliable way. Because only you know when if the reply from COM1 is completed or no based on some rules (CR LF characters, some timeout, some data length or so on).
Please let us know if this is OK for you so we would discuss it more detailed.