Ser.Newtxlen R/O Property

Top  Previous  Next

 

Function:

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

Type:

Word | dword

Value Range:

0-65535, default= 0 (bytes)

See Also:

Sending (Transmitting) Data, ser.txlen, ser.txfree

 


Details

Uncommitted data is the one that was added to the TX buffer with the ser.setdata method but not yet 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.