
Chapter 3 GPIB 488.1 Library Reference
GPIB-488 3-31 Programming Reference Manual
IBPCT
Passes control to another device.
Syntax
C ibpct (int device)
Parameters
device an integer containing the device handle.
Returns
ibsta will contain a 16-bit status word as described in Appendix B, IBSTA.
iberr will contain an error code, if an error occurred.
Usage Notes
This makes the specified device the Controller-In-Charge (CIC). The GPIB board goes to the
Controller Idle state and releases the ATN line.
The device that control is passed to must have Controller capability.
Example
This example makes a device at PAD 1 the Controller-In-Charge.
C int Dev;
Dev = ibdev (0,1,0,13,1,0);
ibpct(Dev);
Comentarios a estos manuales