PPollConfig
Purpose
Configure a device to respond to parallel polls.
Format
C
void PPollConfig (int boardID, Addr4882_t address, int dataline, int lineSense)
|
Visual Basic
CALL PPollConfig (boardID%, address%, dataline%, lineSense%)
|
PPollConfig address dataline lineSense
|
Input
boardID
|
The interface number |
address
|
Address of the device to be configured |
dataline
|
Data line (a value in the range of 1 to 8) on which the device responds to parallel polls |
lineSense
|
Sense (either 0 or 1) of the parallel poll response |
Description
PPollConfig configures the device described by address to respond to parallel polls by asserting or not asserting the GPIB data line, dataline. If lineSense equals the individual status (ist) bit of the device, the assigned GPIB data line is asserted during a parallel poll. Otherwise, the data line is not asserted during a parallel poll. The Controller can use parallel polling to obtain 1-bit, device-dependent status messages from up to eight devices simultaneously.
For more information about parallel polling, refer to the Parallel Polling Overview.
Possible Errors
EARG
|
Either the address parameter is invalid, dataline is not in the range 1 to 8, or lineSense is not 0 or 1. The address must be a valid primary/secondary address pair. It cannot be the constant NOADDR. |
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. |