Any ideas? Is this a bug? I was not able to determine which speed is
actually used if set to 115200. Automatic data rate adaptation devices
communicate well with REALbasic's classic 115200; it is not 57600,
38400 or
19200. Could not test more yet, because my testing devices can't be
locked
to other speeds.
Sounds like it may be a bug -- what does LastErrorCode return when you
try to set that rate?
Another issue:
I get a control error (Mac OS error -17) sometimes while creating the
port.
REALbasic 5.0 and 5.2.4 do not work either. Has anyone ever achieved
115200
with the Serial Control of REALbasic under Mac OS 8 or Mac OS 9? Or is
it my
bug?
That's one of the "helpful" generic errors from Classic that just means
"someone called Control and it failed for some reason". There's no
real way to determine why it failed -- you get no more information than
that. We call Control when trying to set non-standard baud rates in
Classic, of which anything over 56K is included.
Some other questions:
What happens if I choose a baud rate larger than
SerialPort(x).MaximumSpeed?
Your mileage may vary. It may work, it may not -- depends on the
drivers and the OS.
~Aaron
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|