IBRSC

NI-488.2

IBRSC

Board-Level


Note ibrsc is deprecated. Use ibconfig (IbcSC) instead.

Purpose

Request or release system control.

Format

C

unsigned long ibrsc (int ud, int v)

Visual Basic

CALL ibrsc (ud%, v%)

or

status% = ilrsc (ud%, v%)

Interactive Control (Usage Notes)

ibrsc v

Input

ud Board or device descriptor
v Determines if system control is to be requested or released

Output

Function Return The value of Ibsta

Description

ibrsc requests or releases the capability to send Interface Clear (IFC) and Remote Enable (REN) messages to devices. If v is zero, the board releases system control, and calls requiring System Controller capability are not allowed. If v is non-zero, calls requiring System Controller capability are subsequently allowed. If no error occurs during the call, Iberr contains the previous System Controller state of the board.

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.