IBCLR

NI-488.2

IBCLR

Device-Level


Purpose

Clear a specific device.

Format

C

unsigned long ibclr (int ud)

Visual Basic

CALL ibclr (ud%)

or

status% = ilclr (ud%)

Interactive Control (Usage Notes)

ibclr

Input

ud A device unit descriptor

Output

Function Return The value of Ibsta

Description

ibclr sends the GPIB Selected Device Clear (SDC) message to the device described by ud.

Possible Errors

EBUS No devices are connected to the GPIB.
ECIC The access board is not CIC. Refer to Device-Level Calls and Bus Management.
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.