Download NI-488.2M Function Reference Manual for Win32

Transcript
Chapter 1
NI-488 Functions — IBPPC
IBPPC
Board Level/Device Level
Purpose
Parallel poll configure.
Format
C
int ibppc (int ud, int v)
Visual Basic
CALL ibppc (ud%, v%)
or
status% = ilppc (ud%, v%)
Input
ud
v
Board or device descriptor
Parallel poll enable/disable value
Function Return
The value of ibsta
Output
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, then iberr contains the
previous value of the local parallel poll configuration.
For more information about parallel polling, refer to the GPIB User Manual for Win32.
NI-488.2M Function Reference Manual for Win32
1-48
ni.com