| 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 timeout condition occurs and control is immediately returned to the MATLAB® workspace. A timeout is one of the conditions for stopping an acquisition. When a timeout occurs, the callback function specified by RuntimeErrorFcn is called.
Timeout is not associated with hardware timeout conditions. Possible hardware timeout 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 |
Access | Read/write |
Data type | Double |
Read-only when running | Yes |
The default value is one second.
![]() | Tag | TimerFcn | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |