ReadStatusByte

NI-488.2

ReadStatusByte


Purpose

Serial poll a single device.

Format

C

void ReadStatusByte (int boardID, Addr4882_t address, short *result)

Visual Basic

CALL ReadStatusByte (boardID%, address%, result%)

Interactive Control (Usage Notes)

ReadStatusByte address

Input

boardID The interface number
address A device address

Output

result Serial poll response byte

Description

ReadStatusByte serial polls the device described by address. The response byte is stored in result.

Possible Errors

EABO The device times out instead of responding to the serial poll.
EARG The address parameter is invalid.
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.