KPCI-488LPA-900-01 Rev. A / December 2008
Return to
2-25
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Section 2: NI Command Compatible Functions
Syntax
Microsoft C/C++ and Borland C++
int ibpct (int ud)
Visual Basic
ibpct (ByVal ud As Integer) As Integer
- or -
call ibpct (ByVal ud As Integer)
Parameters
ud
: device descriptor
Return Value
The value of the
ibsta
Error Codes
EARG, EBUS, ECIC, EDVR, ENEB, EOIP
ibppc
Description
This command configures parallel polling.
If
ud
is a device descriptor,
ibppc
enables or disables the device response to parallel
polling. The addressed device sends the Parallel Poll Enable (PPE) or Parallel Poll
Disable (PPD) message. Valid parallel poll messages are 96 to 126 (hex 60 to hex 7E)
or zero corresponding to sent PPD.
If
ud
is a board descriptor,
ibppc
uses the parallel poll configuration value
v
to
perform a local parallel poll configuration. Valid parallel poll messages are 96 to 126
(hex 60 to hex 7E) or zero corresponding to send PPD. If there is no error happening
within the calling period,
iberr
maintains the previous value of the local parallel poll
configuration.
Support Level
Board / device level
Syntax
Microsoft C/C++ and Borland C++
int ibppc (int ud, int v)
Visual Basic
ibppc (ByVal ud As Integer, ByVal v As Integer)
As Integer
- or -
call ibppc (ByVal ud As Integer, ByVal v As Integer)
Parameters
ud
: device descriptor
v
: enable/disable parallel polling
Return Value
The value of the
ibsta
Error Codes
EARG, EBUS, ECAP, ECIC, EDVR, ENEB, EOIP