AllSpoll

NI-488.2

AllSpoll

Purpose

Serial poll all devices.

Format

C

void AllSpoll (int boardID, const Addr4882_t *addrlist, short *resultlist)

Visual Basic

CALL AllSpoll (boardID%, addrlist%(), resultlist%())

Interactive Control (Usage Notes)

AllSpoll addrlist

Input

boardID The interface number
addrlist A list of device addresses terminated by NOADDR

Output

resultlist A list of serial poll response bytes corresponding to device addresses in addrlist

Description

AllSpoll serial polls all of the devices described by addrlist. It stores the poll responses in resultlist and the number of responses in Ibcnt. For more information about serial polling, refer to the Serial Polling Overview.

Possible Errors

EABO One of the devices timed out instead of responding to the serial poll; Ibcnt contains the index of the timed-out device.
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.