DevClear

NI-488.2

DevClear


Purpose

Clear a single device.

Format

C

void DevClear (int boardID, Addr4882_t address)

Visual Basic

CALL DevClear (boardID%, address%)


Interactive Control (Usage Notes)

DevClear address

Input

boardID The interface number
address Address of the device you want to clear

Description

DevClear sends the Selected Device Clear (SDC) GPIB message to the device described by address. If address is the constant NOADDR, the Universal Device Clear (DCL) message is sent to all devices.

Possible Errors

EARG The address parameter does not contain a valid address.
EBUS No devices are connected to the GPIB.
ECIC The interface is not the Controller-In-Charge; see SendIFC.
EDVR The NI-488.2 driver is either configured incorrectly or is not properly installed.
EHDL boardID is 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.