IBPCT

NI-488.2

IBPCT

Device-Level


Purpose

Pass control to another GPIB device with Controller capability.

Format

C

unsigned long ibpct (int ud)

Visual Basic

CALL ibpct (ud%)

or

status% = ilpct (ud%)

Interactive Control (Usage Notes)

ibpct

Input

ud Device descriptor

Output

Function Return The value of Ibsta

Description

ibpct passes Controller-in-Charge (CIC) status to the device indicated by ud. The access board automatically unasserts the ATN line and goes to Controller Idle State (CIDS). This function assumes that the device has Controller capability.

Possible Errors

EARG ud is valid but does not refer to a device.
EBUS No devices are connected to the GPIB.
ECIC The access board is not CIC. See Device-Level Calls and Bus Management.
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.