259
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
Details
This event may be generated only after the ser.notifysent method was used. Your
application needs to use the ser.notifysent method EACH TIME it wants to cause
the on_ser_data_sent event generation for a particular port. When the event
handler for this event is entered the
is automatically switched to the
port on which this event was generated.
Please, remember that uncommitted data in the TX buffer is not taken into account
for on_ser_data_sent event generation.
On_ser_esc Event
Function:
Generated when currently enabled escape sequence is
detected in the RX data stream.
Declaration:
on_ser_esc
See Also:
Details
Once the serial escape sequence is detected on a certain serial port this port is
automatically disabled (ser.enabled= 0- NO).
When event handler for this event is entered the
property is
automatically switched to the port on which this event was generated.
Whether or not escape sequence detection is enabled and what kind of escape
sequence is expected is defined by the
property. Escape sequence
detection works even when buffer redirection is set for the serial port using the
method.
On_ser_overrun Event
Function:
Generated when data overrun has occurred in the RX
buffer of the serial port.
Declaration:
on_ser_overrun
See Also:
Details
Another on_ser_overrun event for a particular port is never generated until the
previous one is processed. When the event handler for this event is entered the
property is automatically switched to the port on which this event was
generated.
Data overruns are a common occurrence on serial lines. The overrun happens
when the serial data is arriving into the RX buffer faster than your application is
able to extract it, the buffer runs out of space and "misses" some incoming data.
Data overruns are typically prevented through the use of RTS/CTS flow control
(see the
property).
257
236
257
251
260
244
257
253