Performs a parallel poll to the specified GPIB board and returns the result byte.
[ lPPL = ] GpibPPoll ( lBoard )
The GpibPPoll procedure syntax has the following parts:
Name |
Type |
Description |
lPPL |
Long |
Parallel Poll byte |
lBoard |
Val Long |
Board address |
This function conducts a parallel poll and returns a Long integer containing the data byte read from all devices which have been configured for parallel polls. The state of each bit is according to the parallel poll configuration sent to the instrument using the GpibPPollC function.
The hexadecimal format of the Long is as follows:
lBoard = 0xBB0000
Where:
BB = Board address (1 - 9)
A return value of -1 indicates that an error occurred during execution.
The following command performs a parallel poll on GPIB board #2 and isolates the data stored in dataline #1:
lDIO1=GpibPPoll(0x020000) and 1