Ibpct – National Instruments GPIB-PC User Manual
Page 119
BASICA/QuickBASIC GPIB-PC Function Calls
Section Four A
GPIB-PC User Manual
4A-44
©National Instruments Corp.
BASICA/QuickBASIC
BASICA/QuickBASIC
IBPCT
IBPCT
Purpose:
Pass Control
Format:
CALL IBPCT (BD%)
Remarks:
BD%
specifies a device.
The
IBPCT
function passes CIC authority to the specified
device from the access board assigned to that device. The
board automatically goes to Controller Idle State (CIDS).
The function assumes that the device has Controller
capability.
IBPCT
calls the board
IBCMD
function to send the
following commands:
•
Talk address of the device;
•
Secondary address of the device, if applicable; and
•
Take Control (TCT).
Other command bytes may be sent as necessary.
Refer to
IBCMD
for additional information.
Device Example:
1.
Pass control to the device
IBMXT%
.
100 CALL IBPCT (IBMXT%)