IGpibIntfc::ControlATN

Description

Controls the state of the GPIB ATN interface line, and optionally the active controller state of the local interface board.

This operation asserts or deasserts the GPIB ATN interface line according to the specified mode. The mode can also specify whether the local interface board should acquire or release Controller Active status.

It is generally not necessary to use the ControlATN operation in most applications. Other operations such as Command and PassControl modify the ATN and/or CIC state automatically.

VB Prototype

ControlATN(
  mode As ATNControlConst
)

C++ Prototype

HRESULT ControlATN(
  ATNControlConst mode
);

Parameters

mode

Specifies the state of the ATN line and optionally the local active controller state.

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