Ser.Txlen R/O Property

Top  Previous  Next

 

Function:

For the selected serial port (selection is made through ser.num) returns total number of committed bytes currently found in the TX buffer.

Type:

Word

Value Range:

0-65535

See Also:

Serial Settings, Buffer Memory Status, ser.newtxlen

 


Details

The data in the TX buffer does not become committed until you use the ser.send method.

Your application may use the ser.notifysent method to get on_ser_data_sent event once the total number of committed bytes in the TX buffer drops below the level defined by the ser.notifysent method.