November 1985
National Instruments
rsv Request Service/Set or Change Serial Poll
Status Byte
Syntax:
Purpose:
Remarks:
Examples:
Serial Poll function
[ spbyte]
You use rsv if the GPIB-MAC is not GPIB Controller
and you wish to request service from the Controller
using the Service Request (SRQ) signal. The
MAC will provide a user defined status byte when the
Controller serially polls it.
The argument
spbyte
is a numeric string specifying the
decimal value of the new GPIB-MAC serial poll
response byte.
The serial poll response byte is the status byte the
MAC provides when serially polled by another device
that is CIC. If bit 6 (hex 40 RQS bit) is also set, the
GPIB-MAC additionally requests service by asserting
the SRQ line.
If you call rsv without an argument, the GPIB-MAC
returns a numeric string containing the decimal value of
its serial poll status byte.
1 PRINT # 1
2, PRINT
response:
Request service with serial poll
‘response = 6.
What is the current serial poll
‘status byte?
(The current status
70 or hex 46)
68
SECTION FOUR FUNCTIONS