
Remote Codes
Summary of Commands and Queries
6
6-35
SP_SET?
(RS-232)
(Host Serial Port Set query) Returns the RS-232-C settings for the 5820A Calibrator rear
panel SERIAL 1 FROM HOST serial port. (To return the parameters for the rear panel
SERIAL 2 TO UUT serial port, see the UUT_SET? command.) The factory default
values are shown below in bold type. (To return to the factory defaults, see the FORMAT
SETUP command.)
Responses: <baud rate value>,
300, 600, 1200, 2400, 4800, 9600
<interface>,
TERM (terminal), COMP (computer)
<flow control>,
XON (xon/xoff), NOSTALL (none), RTS (rts/cts)
<number data bits>,
DBIT7 (7 bits) or DBIT8 (8 bits)
<number stop bits>,
SBIT1 (1 bit) or SBIT2 (2 bits)
<parity>,
PNONE (none), PODD (odd),PEVEN (even)
<end of line char.>
CR (carriage return), LF (line feed),
CRLF (carriage return/line feed)
Example:
SP_SET? returns 9600,TERM,XON,DBIT8,SBIT1,PNONE,CRLF
Return the parameters for the rear panel SERIAL 1 FROM HOST serial port, as shown,
when set to the factory default values.
SPLSTR
(IEEE-488, RS-232)
(Serial Poll String command) Sets the Serial Poll String (string up to 40 characters)
which is saved in the 5820A non-volatile memory. (While saving configuration data in
the non-volatile memory, a period of about 2 seconds, the 5820A does not respond to
remote commands.) The SPLSTR is sent to the host over the serial interface when a ^P
(<cntl> P) character is sent. The default format is:
SPL: %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:
SPL: (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: SPL: 44 00 0000 1000. This command is for
format. For values instead of format, enter a ^P (<cntl> p) character. Also see the
SRQSTR command.
Parameter:
“<string>\n”
(\n represents the NEWLINE character, hex 0A)
Example:
SPLSTR “SPL: %02x %02x %04x %04x\n”
Set the SPLSTR to the default values SPL: %02x %02x %04x %04x\n.
Содержание 5820A
Страница 10: ...5820A Operators Manual vi ...
Страница 14: ...5820A Operators Manual x ...
Страница 16: ...5820A Operators Manual 1 2 ...
Страница 32: ...5820A Operators Manual 2 2 ...
Страница 40: ......
Страница 144: ...5820A Operators Manual 6 2 ...
Страница 190: ......
Страница 212: ...5820A Operators Manual 7 24 ...
Страница 214: ...5820A Operators Manual 8 2 ...
Страница 230: ...5820A Operators Manual 9 2 ...
Страница 234: ...5820A Operators Manual ...
Страница 244: ...5820A Operators Manual A 10 ...
Страница 245: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes ...
Страница 246: ...5820A Operators Manual B 2 ...
Страница 248: ...5820A Operators Manual B 4 ...
Страница 250: ...5820A Operators Manual C 2 ...
Страница 258: ...5820A Operators Manual E 4 ...
Страница 264: ...5820A Operators Manual F 6 ...
Страница 272: ...5820A Operators Manual 8 ...