National Instruments GPIB-MAC User Manual page 65

Table of Contents

Advertisement

November 1985
ppc - Parallel Poll Configure
Parallel Poll function
Syntax:
ppc addr,ppr,s [addr,ppr,s] [addr,ppr,s]...cCR>
You use ppc to configure specified devices to respond
Purpose:
to parallel polls in a certain manner.
addr specifies the GPIB address of the device to be
Remarks:
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 may be in the range from 0 through 30 for
both the primary and the secondary address. 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.
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 may be separated by either a
comma or space, just as any list of arguments.
SECTION FOUR - FUNCTIONS
54

Advertisement

Table of Contents
loading

Table of Contents