IGpibIntfc::ControlREN

Description

Controls the state of the GPIB REN interface line and, optionally, the remote/local state of the device. This operation asserts or deasserts the GPIB REN interface line according to the specified mode. 

The mode can also specify whether the device associated with this session should be placed in local state (before deasserting REN) or remote state (after asserting REN). This operation is valid only if the GPIB interface associated with the session object is currently the system controller.

An INTFC resource implementation of ControlREN for a GPIB System supports the modes GPIB_REN_DEASSERT, GPIB_REN_ASSERT, and GPIB_REN_ASSERT_LLO.

VB Prototype

ControlREN(
  mode As RENControlConst
)

C++ Prototype

HRESULT ControlREN(
  RENControlConst mode
);

Parameters

mode

Specifies the state of the REN line and optionally the device remote/local 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