IGpib::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 INSTR resource implementation of ControlREN for a GPIB system supports all documented modes.

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, PrimaryAddress, RENState, RepeatAddressingEnabled, SecondaryAddress, UnaddressingEnabled, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, ControlREN, IGpib Overview