Ppollconfig, Ppollconfig ppollconfig, Syntax – Measurement Computing GPIB-488.2 User Manual
Page 47

GPIB 488.2 Porting Guide
986992
IOtech to Associated MCC APIs
3-29
IOtech GPIB Command
Associated MCC GPIB 488.2 Command(s)
PPollConfig PPollConfig
Syntax
PPollConfig {
IOtech
}
INT WINAPI PPollConfig(DevHandleT
devHandle,BYTE ppresponse);
PPollConfig {
MCC
}
PPollConfig(int board, short address,
int dataline, int sense)
Usage Notes
IOtech’s PPollConfig command was used to configure the Parallel Poll response of a
specified bus device. Not all devices supported Parallel Polling; among those that did, some
still did not support the software control of their Parallel Poll response. Some devices were
configured by internal switches.
MCC’s PPollConfig command is used to configure a device for parallel polls.
Note: If a device is locally configured for a parallel poll, then the Controller's parallel poll
configuration instruction is ignored.
In the following example, the command configures the device connected to board 0 at address 6
to respond to parallel polls on line 7 with sense 1. The device asserts line 7 if its IST bit = 1,
and unasserts line 7 if IST = 0.
Example:
PPollConfig(0, 6, 7, 1)