Timeout

Specify additional waiting time to extract or queue data

Description

The Timeout value (in seconds) is added to the time required to extract data from the engine or queue data to the engine. Because data is extracted with the getdata function, and queued with the putdata function, Timeout is associated only with these two "blocking" functions.

If the requested data is not extracted or queued after waiting the required time, then a time-out condition occurs and control is immediately returned to the MATLAB workspace. A time-out is one of the conditions for stopping an acquisition. When a time-out occurs, the callback function specified by RuntimeErrorFcn is called.

Timeout is not associated with hardware time-out conditions. Possible hardware time-out conditions include

  • Triggering on a voltage level and that level never occurs

  • Externally clocking an acquisition and the external clock signal never occurs

  • Losing the hardware connection

To check for hardware timeouts, you might need to poll the appropriate property value.

Characteristics

Usage

AI, AO, common to all channels

Access

Read/write

Data type

Double

Read-only when running

Yes

Values

The default value is one second.

See Also

Functions

getdata, putdata

Properties

RuntimeErrorFcn

Was this topic helpful?