IGpibIntfc::PassControl

Description

Tells the GPIB device at the specified address to become controller in charge (CIC).

This operation passes controller in charge status to the device indicated by primAddr and secAddr, and then deasserts the ATN line. This operation assumes that the targeted device has controller capability.

VB Prototype

PassControl(
  primAddr As Short,
  secAddr As Short ' Optional Parameter
)

C++ Prototype

HRESULT PassControl(
  short primAddr,
  short secAddr
);

Parameters

primAddr

Primary address of the GPIB device to which you want to pass control.

secAddr

[Optional in Visual Basic] Secondary address of the targeted GPIB device.  If the targeted device does not have a secondary address, this parameter should contain the value -1.

Return Value

Refer to the table of return codes.

See Also

ComponentVersion, SpecVersion, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, LockState, OptionString, ProgID, ResourceName, SessionType, SoftwareManufacturerID, SoftwareManufacturerName, Timeout, LastStatus, AddressingState, ATNState, DevStatusByte, CICState, HS488CBLLength, NDACState, PrimaryAddress, RENState, SecondaryAddress, SRQState, SysControlState, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, Command, ControlATN, ControlREN, PassControl, SendIFC, IGpibIntfc Overview