National Instruments GPIB-MAC User Manual page 79

Table of Contents

Advertisement

November 1985
rsv - Request Service/Set or Change Serial Poll
Status Byte
Serial Poll function
Syntax:
Purpose:
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 GPIB-
MAC will provide a user defined status byte when the
Controller serially polls it.
Remarks:
The argument
decimal value of the new GPIB-MAC serial poll
response byte.
The serial poll response byte is the status byte the GPIB-
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.
Examples:
1
PRINT # 1 ,"rsv \x46"
2, PRINT #l,"rsv"
response: 70cCRxLF>
68
SECTION FOUR - FUNCTIONS
spbyte
is a numeric string specifying the
Request service with serial poll
'response = 6.
What is the current serial poll
'status byte?
(The current status byte=decimal
70 or hex 46)

Advertisement

Table of Contents
loading

Table of Contents