IBTMO

NI-488.2

IBTMO

Board-Level/Device-Level


Note ibtmo is deprecated. Use ibconfig (IbcTMO) instead.

Purpose

Change or disable the timeout period.

Format

C

unsigned long ibtmo (int ud, int v)

Visual Basic

CALL ibtmo (ud%, v%)

or

status% = iltmo (ud%, v%)

Interactive Control (Usage Notes)

ibtmo v

Input

ud Board or device descriptor
v Timeout duration code

Output

Function Return The value of Ibsta

Description

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.

Possible Errors

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.