![]() |
Note ibtmo is deprecated. Use ibconfig (IbcTMO) instead. |
Change or disable the timeout period.
unsigned int ibtmo (int ud, int v)
ibtmo v
ud | Board or device descriptor |
v | Timeout duration code |
Function Return | The value of Ibsta |
ibtmo sets the timeout period of the board or device to v. The timeout period is used to select the maximum duration allowed for a synchronous I/O operation (for example, ibrd and ibwrt) or for an ibwait or ibnotify operation with TIMO in the wait mask. If the operation does not complete before the timeout period elapses, the operation is aborted and TIMO is returned in Ibsta. The timeout values represent the minimum timeout period. The actual period could be longer.
EARG | v is invalid. |
EDVR | The NI-488.2 driver is either configured incorrectly or is not properly installed. |
EHDL | ud is invalid or out of range. |
ELCK | The requested operation could not be performed because of an existing lock by another process. |
ENEB | The interface is not installed or is not properly configured. |
EOIP | Asynchronous I/O is in progress. |