Timeout
Specify how long to wait for image data
Description
The Timeout
property specifies the amount
of time (in seconds) that the getdata
and getsnapshot
functions
wait for data to be returned. The Timeout
property
is only associated with these blocking functions. If the specified
time period expires, the functions return control to the MATLAB® command line.
A timeout is one of the conditions for stopping an acquisition.
When a timeout occurs, and the object is running, the MATLAB file function specified by ErrorFcn
is
called.
Note
The Timeout
property is not associated with
hardware timeout conditions.
Characteristics
Access | Read only while running |
Data type |
|
Values | Any positive integer. The default value is 10 seconds. |