| Data Acquisition Toolbox | ![]() |
Specify an 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. Since 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 timeout condition occurs and control is immediately returned to MATLAB. A timeout is one of the conditions for stopping an acquisition. When a timeout occurs, the action function specified by RuntimeErrorAction is called.
Timeout is not associated with hardware timeout conditions. Possible hardware timeout conditions include:
To check for hardware timeouts, you may need to poll the appropriate property value.
Characteristics
| Usage |
AI, AO, Common |
| Access |
Read/write |
| Data type |
Double |
| Read-only when running |
Yes |
Values
The default value is one second.
Functions
Properties
| Tag | TimerAction | ![]() |