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

double

Values

Any positive integer. The default value is 10 seconds.

See Also

Functions

getdata, getsnapshot

Properties

EventLog, ErrorFcn

Was this topic helpful?