DevClearList

NI-488.2

DevClearList


Purpose

Clear multiple devices.

Format

C

void DevClearList (int boardID, const Addr4882_t *addrlist)

Visual Basic

CALL DevClearList (boardID%, addrlist%())

Interactive Control (Usage Notes)

DevClearList addrlist

Input

boardID The interface number
addrlist A list of device addresses terminated by NOADDR that you want to clear

Description

DevClearList sends the Selected Device Clear (SDC) GPIB message to all the device addresses described by addrlist. If addrlist contains only the constant NOADDR, the Universal Device Clear (DCL) message is sent to all the devices on the bus.

Possible Errors

EARG An invalid address appears in addrlist; Ibcnt is the index of the first invalid address in the addrlist array.
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.