Scroll to navigation

IBTMO(3) IBTMO(3)

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:

"TIMEOUT CONSTANTS" constantvaluetimeoutTNONE0Never timeout.T10us110 microsecondsT30us230 microsecondsT100us3100 microsecondsT300us4300 microsecondsT1ms51 millisecondT3ms63 millisecondsT10ms710 millisecondsT30ms830 millisecondsT100ms9100 millisecondsT300ms10300 millisecondsT1s111 secondT3s123 secondsT10s1310 secondsT30s1430 secondsT100s15100 secondsT300s16300 secondsT1000s171000 seconds

RETURN VALUE

The value of ibsta is returned.

02 October 2025