Remote Commands
Commands
6
6-39
Example:
SPLSTR “SPL: %02x %02x %04x %04x\n”
Set the SPLSTR to the default values
SPL: %02x %02x %04x %04x\n
.
SPLSTR?
Sequential
Overlapped
Coupled
IEEE-488
RS-232
x
x
x
x
x
(Serial Poll Response String query) Returns the string programmed for Serial Poll
response. For values, enter a ^P (<cntl> p) character. Also see the
SRQSTR
command.
Response: <string>
Example:
SRQSTR
returns
SRQ: %02x %02x %04x %04x\n
Returns the SPLSTR string format (default settings in this example).
*SRE
Sequential
Overlapped
Coupled
IEEE-488
RS-232
x
x
x
x
x
(Service Request Enable command) Loadsa byte into the Service Request Enable (SRE)
register. (See “Service Request Enable Register (SRE)” in Chapter 5. Since bit 6 is not
used (decimal value 64), the maximum entry is 255 – 64 = 191.
Parameter: <value> (the
decimal
equivalent of the SRE byte, 0 to 191)
Example:
*SRE 56
Enable bits 3 (EAV), 4 (MAV), and 5 (ESR).
*SRE?
Sequential
Overlapped
Coupled
IEEE-488
RS-232
x
x
x
x
x
(Service Request Enable query) Returns the byte in the Service Request Enable (SRE).
Response: <value> (the
decimal
equivalent of the SRE byte, 0 to 191)
Example:
*SRE?
returns
56
Returns
56
when bits 3 (EAV), 4 (MAV), and 5 (ESR) are enabled.
SRQSTR
Sequential
Overlapped
Coupled
IEEE-488
RS-232
x
x
x
x
x
(Service Request String command) Sets the Serial Mode SRQ (Service Request)
response (up to 40 characters) in the Calibrator non-volatile memory. (While saving
configuration data in the non-volatile memory, a period of about 2 seconds, the Calibrator
does not respond to remote commands.) The SRQSTR is sent to the host over the serial
interface when the SRQ line is asserted (terminal mode only). Default format is:
SRQ: %02x %02x %04x %04x
where the term %02x (8 bits) means print the value in hexadecimal with exactly 2 hex
digits, and %04x (16 bits) means print the value in hexadecimal with exactly 4 hex digits.
The string representations are:
SRQ: (STB) (ESR) (ISCR0) (ISCR1)
See the commands, respectively,
*STB?
,
*ESR?
,
ISCR0?
, and
ISCR1?
A typical
string in the default format sent to the host is:
SRQ: 44 00 0000 1000
. This
command is for format. See the
SPLSTR
command for the serial poll response.
Parameter:
“<string>\n”
(
\n
represents the Line Feed character, hex 0A)
Example:
SRQSTR “SRQ: %02x %02x %04x %04x\n”
Set the SRQSTR to the default values
SRQ: %02x %02x %04x %04x\n
.
Summary of Contents for 5522A Operators
Page 4: ......
Page 14: ...5522A Operators Manual x ...
Page 18: ...5522A Operators Manual xiv ...
Page 22: ...5522A Operators Manual 1 2 ...
Page 46: ...5522A Operators Manual 1 26 ...
Page 48: ...5522A Operators Manual 2 2 ...
Page 54: ...5522A Operators Manual 2 8 ...
Page 56: ...5522A Operators Manual 3 2 ...
Page 190: ...5522A Operators Manual 6 2 ...
Page 240: ...5522A Operators Manual 7 2 ...
Page 260: ...5522A Operators Manual 8 2 ...
Page 314: ...5522A Operators Manual 9 52 ...
Page 370: ...5522A Operators Manual 10 56 ...
Page 413: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes ...
Page 414: ...5522A Operators Manual B 2 ...
Page 416: ...5522A Operators Manual B 4 ...
Page 426: ...5522A Operators Manual D 6 ...