258
Platforms
©2000-2008 Tibbo Technology Inc.
.Numofports R/O Property
Function:
Returns total number of serial ports found on the current
platform.
Type:
Byte
Value Range:
platform-dependent
See Also:
Details
---
On_ser_data_arrival Event
Function:
Generated when at least one data byte is present in the
RX buffer of the serial port (i.e. for this port the
>0).
Declaration:
on_ser_data_arrival
See Also:
Details
When the event handler for this event is entered the
property is
automatically switched to the port for which this event was generated. Another
event on a particular port is never generated until the
previous one is processed. Use
method to extract the data from the
RX buffer.
You don't have to process all data in the RX buffer at once. If you exit the
on_ser_data_arrival event handler while there is still some unprocessed data in the
RX buffer another on_ser_data_arrival event will be generated immediately.
This event is not generated for a particular port when buffer redirection is set for
this port through the
method.
On_ser_data_sent Event
Function:
Generated after the total amount of committed data in the
TX buffer of the serial port (
) is found to be
less than the threshold that was preset through the
method.
Declaration:
on_ser_data_sent
See Also:
257
263
240
257
258
253
260
267
257
243