Keysight E5260/E5270 Programming Guide, Edition 4 4- 77
Command Reference
Command Reference
LST?
The LST? query command stores a catalog of internal memory programs or a
specific program listing in the output data buffer (query buffer) of the E5260/E5270.
Syntax LST? [pnum[,index[,size
]]]
Parameters pnum : Memory program number. Numeric expression. 0 to 2000. If you do not
specify the value, 0 is set.
LST? 0 returns the catalog of the memory programs. This is same as the
LST? command results. Then index and size are not required.
index : Command index that is the number of top command to read. Numeric
expression. If you do not specify the value, 1 is set.
index=1 specifies the first command stored in the memory program.
This command is always the ST command. And the last command is
always the END command. If the index value is greater than the
number of commands, the LST? returns the END only.
If you set index=0, the LST? returns the number of commands stored in
the memory program. For empty memory programs, the LST? returns 2
(ST and END).
size : Number of commands to read. Numeric expression. 1 to 3000. If you
do not specify the value, 3000 is set.
If you set the value greater than the number of commands from the
command specified by index to the last command (END), the LST?
command stops operation after reading the END command.
Query Response Response by LST? or LST? 0:
Number of programs[,pnum[,pnum ... [,pnum]...]]<CR/LF^EOI>
Response by LST? pnum[, index[, size]]:
ST pnum<CR/LF>
[saved command <CR/LF>]
[saved command <CR/LF>]
:
[saved command <CR/LF>]
END<CR/LF^EOI>
The LST? command reads the command specified by the index, reads the command
stored next, and repeats this operation until the size each of commands are read. If
you do not specify the index and size values, the LST? command reads the first