National Instruments GPIB-MAC User Manual page 76

Table of Contents

Advertisement

November 1985
rsp - Request (Conduct) a Serial Poll
Serial Poll function
rsp:
rsp
Syntax:
You use
Purpose:
device-specific status information from one or more
devices.
The
Remarks:
by commas or spaces.
specify the GPIB addresses you wish to poll.
A device address consists of a primary address and an
optional secondary address. The secondary address is
separated from the primary address by a plus sign (+).
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
rsp
status bytes. If bit 6 (the hex 40 or RQS bit) of a
device's response is set, its status response is positive,
i.e., that device is requesting service. Before
completes, all devices are unaddressed.
65
SECTION FOUR - FUNCTIONS
rsp if you
argument
serially polls the specified devices to obtain their
wish to conduct a serial poll to obtain
is a list of addrs which are separated
addrs are
device addresses that
rsp

Advertisement

Table of Contents
loading

Table of Contents