Documentation

OutputEmptyFcn

Specify the callback function to execute when the output buffer is empty

Description

You configureOutputEmptyFcnto execute a callback function when an output-empty event occurs. An output-empty event is generated when the last byte is sent from the output buffer to the device.

Note

An output-empty event can be generated only for asynchronous write operations.

If theRecordStatusproperty value ison, and an output-empty event occurs, the record file records this information:

  • The event type asOutputEmpty

  • The time the event occurred using the format day-month-year hour:minute:second:millisecond

To learn how to create a callback function, seeCreate and Execute Callback Functions.

Characteristics

Read only

Never

Data type

Callback function

Values

The default value is an empty string.

See Also

Functions

record

Properties

RecordStatus

Was this topic helpful?