IBSRE

NI-488.2

IBSRE

Board-Level


Note ibsre is deprecated. Use ibconfig (IbcSRE) instead.

Purpose

Set or clear the Remote Enable (REN) line.

Format

C

unsigned long ibsre (int ud, int v)

Visual Basic

CALL ibsre (ud%, v%)

or

status% = ilsre (ud%, v%)

Interactive Control (Usage Notes)

ibsre v

Input

ud Board descriptor
v Indicates whether to set or clear the REN line

Output

Function Return The value of Ibsta

Description

If v is non-zero, the GPIB Remote Enable (REN) line is asserted. If v is zero, REN is unasserted. The previous value of REN is returned in Iberr.

REN is used by devices to choose between local and remote modes of operation. A device should not actually enter remote mode until it receives its listen address and REN is asserted.

Possible Errors

EDVR The NI-488.2 driver is either configured incorrectly or is not properly installed.
EHDL ud is invalid or out of range.
ELCK The requested operation could not be performed because of an existing lock by another process.
ENEB The interface is not installed or is not properly configured.
EOIP Asynchronous I/O is in progress.
ESAC The board does not have System Controller capability.