Chapter 5
S Mode Functions
© National Instruments Corp.
5-27
GPIB-232CT User Manual
ppc - Parallel Poll Configure
Type:
Parallel Poll function
Syntax:
ppc
addr,ppr,s [addr,ppr,s]...
<CR>
Purpose:
You
use
ppc
to configure specified devices to respond to
parallel polls in a certain manner.
Remarks:
addr
specifies the GPIB address of the device to be enabled
or disabled for parallel polls.
addr
consists of a primary
address and an optional secondary address. The secondary
address is separated from the primary address by a plus sign
(
+
). Both addresses are expressed as numeric strings.
Only the lower five bits of each address are significant. These
bits can be in the range from 0 through 30 for both the
primary and the secondary addresses. Therefore, the binary
value 01100010 (decimal 98) is interpreted as decimal 2.
The following examples all specify a primary address of 0 and
a secondary address of 2. The listen address is 32, the talk
address is 64, and the secondary address is 2 or 98, which are
equivalent.
0+2
or
0+98
or
32+98
or
0+\x62
The argument
ppr
is an integer string between 1 and 8
specifying the data line on which to respond.
The argument
s
is either 0 or 1 and is interpreted along with
the value of the device's individual status bit to determine
whether to drive the line true or false.
Each group of
addr,ppr,s
can be separated by either a
comma or space, just as any list of arguments.
If you call
ppc
without an argument, the GPIB-232CT
records the EARG error.
If this is the first function you call that requires GPIB
Controller capability, and you have not disabled System