BreakInterruptFcn
Specify callback function to execute when break-interrupt event occurs
Description
You configureBreakInterruptFcn
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 instrument control session.
If theRecordStatus
property value ison
, 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
Characteristics
Usage |
Serial port |
Read only |
Never |
Data type |
Callback function |
值
The default value is an empty character vector.