BBC BASIC for Windows
Programming >> Communication and Input/Output >> VIRTUAL Serial Port 'driver'
http://bb4w.conforums.com/index.cgi?board=communication&action=display&num=1262987067

VIRTUAL Serial Port 'driver'
Post by dynamic35 on Jan 8th, 2010, 8:44pm

I have two applications trying to use the very same data & source, via same COM1: One is original weather software from the manufacturer and the other is my bbc basic "windtalker", that reads serial binary data packects (wind speed, direction & outside temp. ) every 3rd sec and makes out of that a voice message lasting 15 seconds. That works now after the CVI was solved.
There is now a problem to use parallel to the my wind talker, the manufacturer's std program that should be active and use the same COM1 about every 3rd second also, and read about 90 bytes each time to be consumed by the LCD driver of the PC
So w-talker needs soudblaster and other program display driver and both needs the same data via the common serial 2400 baud port driver
A commerciel solution might be to purchase with some 200 units of money a kind of virtual port sw splitter or driver (googling shows them many).
Q: is there any BBC Basic examples somewhere on that topic
Thank you and greetings from -22.5 Celsius

Re: VIRTUAL Serial Port 'driver'
Post by admin on Jan 8th, 2010, 9:53pm

Quote:
both needs the same data via the common serial 2400 baud port

The most straightforward solution, I would have thought, would be to use two serial ports (one or both could be USB serial adaptors) and simply connect the incoming data to both ports! Even if you need to buy the adaptor, it's a much cheaper solution than a software splitter.

Richard.