At 07:43 AM 8/18/2007, Philip Covington wrote:
>On 8/18/07, Jim Lux <[EMAIL PROTECTED]> wrote:
>
> > There's sort of a fundamental problem here in that what's needed is a
> > way to interconnect two programs which expect a legacy interface, and
> > were never intended to talk directly to each other.  Think of all the
> > troubles one has using a hardware "null modem" cable with two serial
> > port based programs (do you do handshaking or just strap RTS/CTS, how
> > is "break" handled, etc.)  Attempting to emulate this is fraught with
> > peril, and, just as with hardware cables, for any given pair of
> > devices/applications some kinds work and some kinds don't.
>
>
>I have a feeling that it may be some subtle difference with the way
>vCOM handles the lines like RTS/CTS and DSR/DTR that may be causing
>problems with certain third party applications.

Or, more precisely, the hideously non standard way in which 
applications talk to serial ports, complicated by the 17 generations 
of serial port drivers that have been used over the years, and are 
all quasi supported in legacy code in one form or another.



>  Or it may be that the
>serial port access code in PowerSDR (which I wrote) is expecting some
>timing of those signals a slightly different way than vCOM provides.
>When/if PowerSDR is rewritten for .NET 2.0, it will be interesting to
>see if the problems persist because .NET 2.0 has its own
>System.IO.Serial? support.


I have noticed that I've had a LOT less problems with serial port 
stuff using the .net 2.0 stuff than almost any Windows serial port 
solution in the past. As long as  the designer doesn't cheat and try 
and emulate some old-style serial port access by using all the 
backdoors, it works great. Curse the ability to muck around with ioctl.

And this is not, by any means, unique to Windows.  I spent many hours 
fighting termcap issues in Unix and it's progeny.

Serial ports, are, plain and simple, not simple.


Jim, W6RMK 



_______________________________________________
FlexRadio mailing list
FlexRadio@flex-radio.biz
http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz
Archive Link: http://www.mail-archive.com/flexradio%40flex-radio.biz/
FlexRadio Knowledge Base: http://kb.flex-radio.com/
FlexRadio Homepage: http://www.flex-radio.com/

Reply via email to