In a quote from the Daily Planet, Eric Schonning said:
ES> No, PB comm code will not do XON/XOFF automatically for you. At
ES> least that has never been an observed behavior...
BS> For that matter, if opened with CSn and/or DSn set, will it
BS> automatically use hardware handshaking?
ES> Yes, if you set CS# it will do hardware handshaking.
This is where I'm running into problems. For testing purposes,
I'm running a null modem cable between two machines. PowerBASIC
will NOT open the comm port between the two with any value of CS
greater than 0 without giving a device timeout error. When opened
with CS0 it works, but I lose characters even at 2400 baud.
However, I'm beginning to suspect that something about running
this in the full IDE is causing the problems, because that's the
only place I lose characters. When running the compiled program
from DOS, or running the source inside the PBDebugger it works
flawlessly. But I'm still making too many changes to the source
to be hassling with only running the .EXE or from within the
editorless PBD during testing.
I really wish someone at PowerBASIC would respond to this. Does
Dave Navarro not read this echo anymore?
ES> Hardware handshaking is the
ES> preferred method over software anyways, at least in my mind.
I agree. But in this case, I want to test the _rest_ of my
software without having to troubleshoot PB's comm support. So if I
need to write XON/XOFF checking into the program to get this part
to work inside the IDE, then I'd like to know. There's absolutely
NO information in the manuals about how PB handles handshaking.
The only mention I've found is a definition of handshaking in the
glossary of chapter 13, Serial Communications.
... I am Hamlet of Borg. Prepare to be... or not to be.
--- PPoint 1.86
---------------
* Origin: Seven Wells On-Line * Nashville, TN (1:116/3000.12)
|