National Instruments GPIB-PC User Manual

Page 154

Advertising
background image

Section Four A

BASICA/QuickBASIC GPIB-PC Function Calls

©National Instruments Corp.

4A-79

GPIB-PC User Manual

The

IBTMO

function changes the length of time that the

following functions wait for the embedded I/O operation to
finish or for the specified event to occur before returning
with a timeout indication:

IBCMD

,

IBRD

,

IBRDI

,

IBWRT

, or

IBWRTI

.

The

IBTMO

function also changes the length of time that

device functions wait for commands to be accepted. If a
device does not accept commands within the time limit,
the EBUS error will be returned.

When

IBTMO

is called and an error does not occur, the

previous value of ist is stored in

IBERR%

.

Device

IBTMO

Function:

When

BD%

specifies a device, the new time limit is used in subsequent

device functions directed to that device.

Board

IBTMO

Function:

When

BD%

specifies a board, the new time limit is used in subsequent

board functions directed to that board.

Refer also to

IBWAIT

and to Table 2.1.

Advertising