Specify the callback function to execute when an error event occurs
ErrorFcn to execute a callback
function when an error event occurs.
Note: An error event is generated only for asynchronous read and write operations.
An error event is generated when a time-out occurs. A time-out
occurs if a read or write operation does not successfully complete
within the time specified by the
An error event is not generated for configuration errors such as setting
an invalid property value.
RecordStatus property value is
and an error event occurs, the record file records this information:
The event type as
The error message
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.
The default value is an empty string.