PassControl

NI-488.2

PassControl


Purpose

Pass control to another device with Controller capability.

Format

C

void PassControl (int boardID, Addr4882_t address)

Visual Basic

CALL PassControl (boardID%, address%)

Interactive Control (Usage Notes)

PassControl address

Input

boardID The interface number
address Address of the device to which you want to pass control

Description

PassControl sends the Take Control (TCT) GPIB message to the device described by address. The device becomes Controller-In-Charge (CIC) and the interface is no longer CIC.

Possible Errors

EARG The address parameter is invalid. It must be a valid primary/secondary address pair. It cannot be the constant NOADDR.
EBUS No devices are connected to the GPIB.
ECIC The interface is not the Controller-In-Charge; see SendIFC.
EDVR The NI-488.2 driver is either configured incorrectly or is not properly installed.
EHDL boardID is 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.