Products & Services Solutions Academia Support User Community Company

Learn more about Data Acquisition Toolbox   

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

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS