82 34980A User’s Guide
2 Features and Functions
Querying the Sequence Definition
Once you have defined a sequence, you can query the definition to review
what SCPI commands have been assigned. Although sequences can be
defined from the remote interface only, you can review them from the
front panel.
• The exact text specified in the original sequence definition is not
preserved when the sequence is compressed/stored in memory.
Therefore, the string returned may not be identical to the original
string, but it will be functionally equivalent. If the specified sequence
name is not currently stored in memory, an error is generated.
• The query command always returns the short form of the command
header in all upper-case letters (e.g., “ROUT:CLOS” is returned instead
of “ROUTE:CLOSE”). Channel numbers and channel range specifiers are
returned as they were specified.
Front Panel Operation: Sequence > VIEW
Remote Interface Operation: The following command returns a string
containing the SCPI commands assigned to the specified sequence.
ROUT:SEQ:DEF? MYSEQ_1
The above command returns a string in the form (the quotes are
also returned):
":ROUT:CLOS (@1001:1009);:ROUT:OPEN (@2001)"