| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Data Acquisition Toolbox |
| Contents | Index |
| Learn more about Data Acquisition Toolbox |
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.
Usage | AI, AO, common to all channels |
Access | Read/write |
Data type | Double |
Read-only when running | Yes |
The default value is one second.

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 |