Figure 2-4: Example Of Omitting Root And Lower-Level Nodes In A Chained - Sony 3026 Programmer's Manual

Realtime spectrum analyzer
Table of Contents

Advertisement

General Rules
3026 Programmer Manual
If a command or query has the same root and lower-level nodes as the previous
command or query, you can omit these nodes. In Figure 2-4, the second
command has the same root node (DISP:MARK) as the first command, so these
nodes can be omitted.
:DISP:MARK:TYPE DUAL;:DISP:MARK:SEL MARK1;:DISP:MARK:X?
:DISP:MARK:TYPE DUAL;SEL MARK1;X?
First command
Figure 2 4: Example of omitting root and lower level nodes in a chained message
Here are three general rules for using SCPI commands, queries, and parameters:
H You can use single (' ') or double (" ") quotation marks for quoted strings,
but you cannot use both types of quotation marks for the same string.
correct:
"This string uses quotation marks correctly."
correct:
'This string also uses quotation marks correctly.'
incorrect:
"This string does not use quotation marks correctly.'
H You can use upper case, lower case, or a mixture of both cases for all
commands, queries, and parameters.
HCOPY:DEVICE:DESTINATION PRINTER
is the same as
hcopy:device:destination printer
and
HCOPY:device:destination PRINTER
NOTE. Literal strings (quoted) are case sensitive. For example: file names.
Identical root and lower level nodes
Additional commands
(omitted the root nodes)
Syntax
2 5

Advertisement

Table of Contents
loading

Table of Contents