Chapter 5
S Mode Functions
© National Instruments Corp.
5-41
GPIB-232CT User Manual
rsv - Request Service/Set or Change Serial Poll
Status Byte
Type:
Serial Poll function
Syntax:
rsv
[spbyte]
<CR>
Purpose:
You
use
rsv
if the GPIB-232CT is not the GPIB Controller
and you wish to request service from the Controller using the
Service Request (SRQ) signal. The GPIB-232CT will provide
a user defined status byte when the Controller serially polls it.
Remarks:
The
argument
spbyte
is a numeric string specifying the
decimal value of the new GPIB-232CT serial poll response
byte.
The serial poll response byte is the status byte the
GPIB-232CT provides when serially polled by another device
that is CIC. If bit 6 (hex 40 RQS bit) is also set, the
GPIB-232CT additionally requests service by asserting the
SRQ line.
If you call
rsv
without an argument, the GPIB-232CT returns
a numeric string containing the decimal value of its serial poll
status byte.
Examples:
1.
PRINT #1,"rsv \x46"
'Request service with
'serial poll response = 6.
2.
PRINT #1,"rsv"
'What is the current
'serial poll status byte?
response: 70<CR><LF>
(The current status
byte = decimal 70 or
hex
46)