IBPPC

NI-488.2

IBPPC

Board-Level/Device-Level


Purpose

Parallel poll configure.

Format

C

unsigned long ibppc (int ud, int v)

Visual Basic

CALL ibppc (ud%, v%)

or

status% = ilppc (ud%, v%)

Interactive Control (Usage Notes)

ibppc v

Input

ud Board or device descriptor
v Parallel poll enable/disable value

Output

Function Return The value of Ibsta

Description

Device-Level

If ud is a device descriptor, ibppc enables or disables the device from responding to parallel polls. The device is addressed and sent the appropriate parallel poll messageĀ—Parallel Poll Enable (PPE) or Disable (PPD). Valid parallel poll messages are 96 to 126 (hex 60 to hex 7E) or zero to send PPD.

Board-Level

If ud is a board descriptor, ibppc performs a local parallel poll configuration using the parallel poll configuration value v. Valid parallel poll messages are 96 to 126 (hex 60 to hex 7E) or zero to send PPD. If no error occurs during the call, Iberr contains the previous value of the local parallel poll configuration.

For more information about parallel polling, refer to the Parallel Polling section. See IEEE 488 command messages for parallel poll messages.

Possible Errors

EARG v does not contain a valid PPE or PPD message.
EBUS Device-level: No devices are connected to the GPIB.
ECAP Board-level: The board is not configured to perform local parallel poll configuration. (See ibconfig, option IbcPP2.)
ECIC Device-level: The access board is not CIC. See Device-Level Calls and Bus Management.
EDVR The NI-488.2 driver is either configured incorrectly or is not properly installed.
EHDL ud is invalid or 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.