Contents

BreakInterruptFcn

Specify the callback function to execute when a break-interrupt event occurs

Description

You configure BreakInterruptFcn to execute a callback function when a break-interrupt event occurs. A break-interrupt event is generated by the serial port when the received data is in an off (space) state longer than the transmission time for one byte.

    Note:   A break-interrupt event can be generated at any time during the serial port session.

If the RecordStatus property value is on, and a break-interrupt event occurs, the record file records this information:

  • The event type as BreakInterrupt

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

To learn how to create a callback function, see Creating and Executing 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?