User`s guide

18 Properties — Alphabetical List
18-12
ErrorFcn
Specify callback function to execute when run-time error occurs
Description
The ErrorFcn property specifies the function to execute when an error event occurs. A
run-time error event is generated immediately after a run-time error occurs.
Run-time errors include hardware errors and timeouts. Run-time errors do not include
configuration errors such as setting an invalid property value.
Run-time error event information is stored in the EventLog property. You can retrieve
any error message with the Data.Message field of EventLog.
Note: Callbacks, including ErrorFcn, are executed only when the video object is in
a running state. If you need to use the ErrorFcn callback for error handling during
previewing, you must start the video object before previewing. To do that without logging
data, use a manual trigger.
Characteristics
Access Read only while running
Data type String, function handle, or cell array
Values imaqcallback is the default callback function.
See Also
Properties
EventLog, Timeout