.newtxlen R/O Property


For the selected serial port (selection is made through ser.num), returns the amount of uncommited TX data in bytes.


Word | dword

Value Range:

0-65535, default = 0 (bytes)

See Also:

Sending Data, ser.txlen, ser.txfree


Uncommitted data has been added to the TX buffer with the ser.setdata method, but has not yet been committed using the ser.send method.

Older devices had smaller RAM sizes, so the value returned by this property was of the word type. On newer devices with larger RAM capacities, this property has the dword type. Inspect the property's declaration on the platform you are using to make sure you know its type.

.newtxlen R/O Property