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
.
Содержание 5522A Operators
Страница 4: ......
Страница 14: ...5522A Operators Manual x ...
Страница 18: ...5522A Operators Manual xiv ...
Страница 22: ...5522A Operators Manual 1 2 ...
Страница 46: ...5522A Operators Manual 1 26 ...
Страница 48: ...5522A Operators Manual 2 2 ...
Страница 54: ...5522A Operators Manual 2 8 ...
Страница 56: ...5522A Operators Manual 3 2 ...
Страница 189: ...6 1 Chapter 6 Remote Commands Title Page Introduction 6 3 Command Summary by Function 6 3 Commands 6 10 ...
Страница 190: ...5522A Operators Manual 6 2 ...
Страница 240: ...5522A Operators Manual 7 2 ...
Страница 260: ...5522A Operators Manual 8 2 ...
Страница 314: ...5522A Operators Manual 9 52 ...
Страница 370: ...5522A Operators Manual 10 56 ...
Страница 413: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes ...
Страница 414: ...5522A Operators Manual B 2 ...
Страница 416: ...5522A Operators Manual B 4 ...
Страница 426: ...5522A Operators Manual D 6 ...