Has anyone played with the new Serial control of REALbasic 5.5 and 115200 on
Mac OS 8 or Mac OS 9?
I have migrated to 5.5.3 for this new (?) feature which was introduced in
REALbasic 5.5a4. Within Mac OS X v10.3.5 my REALbasic code works fine with
115200 bit/s. Booted into Mac OS 9.2.2 on the same machine and using the
shareware ZTerm for tests works fine too. But my REALbasic code does not
work there.
I have tested two independent USB to RS-232/DB9 adapters (Keyspan High Speed
USB Serial Adapter USA-19QW, Prolific PL-2303) with two different devices
attached which were fixed to 115200. It does not work within REALbasic in
Mac OS 9.2.2. It isn't an issue of signal lines, USB drivers or my devices
because ZTerm works in Mac OS 9.2.2 and REALbasic works in Mac OS X.
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.
This was tested with a in-code serial control and a visual control. With
baud = 14, baud = 115200 and baud = Serial.Baud115200. With Reset() and
without, within constructor and outside of it, within a minimum project and
a the actual very large one.
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?
Some other questions:
What happens if I choose a baud rate larger than SerialPort(x).MaximumSpeed?
And a totally different question:
The Apple Address Book API was introduced in Mac OS X v10.2 first. Now if I
use this in my application I will get Nil for the AddressBook class within
Mac OS X v10.1, or?
_______________________________________________
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>
|