ibtmo

Name

ibtmo -- adjust io timeout (board or device)

Synopsis

#include <gpib/ib.h>

int ibtmo(int ud, int timeout);

Description

ibtmo() sets the timeout for IO operations and ibwait calls performed using the board or device descriptor ud. The actual amount of time before a timeout occurs may be greater than the period specified, but never less. timeout is specified by using one of the following constants:

Table 1. Timeout constants

constantvaluetimeout
TNONE0Never timeout.
T10us110 microseconds
T30us230 microseconds
T100us3100 microseconds
T300us4300 microseconds
T1ms51 millisecond
T3ms63 milliseconds
T10ms710 milliseconds
T30ms830 milliseconds
T100ms9100 milliseconds
T300ms10300 milliseconds
T1s111 second
T3s123 seconds
T10s1310 seconds
T30s1430 seconds
T100s15100 seconds
T300s16300 seconds
T1000s171000 seconds

Return value

The value of ibsta is returned.