On_ser_data_sent Event

Top  Previous  Next

 

Function:

Generated after the total amount of committed data in the TX buffer of the serial port (ser.txlen) is found to be less than the threshold that was preset through the ser.notifysent method.

Declaration:

on_ser_data_sent

See Also:

Sending (Transmitting) Data

 


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 ser.num 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.