Syntax
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?
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
. Literal strings (quoted) are case sensitive. For example: file names.
Summary of Contents for 3026
Page 6: ...Table of Contents 3026 Programmer Manual ...
Page 8: ...Preface 3026 Programmer Manual ...
Page 9: ... ...
Page 10: ......
Page 15: ... ...
Page 16: ......
Page 24: ...Syntax 3026 Programmer Manual ...
Page 90: ...Command Descriptions 3026 Programmer Manual ...
Page 91: ... ...
Page 92: ......
Page 103: ...Error Messages and Codes 3026 Programmer Manual ...
Page 106: ...Error Messages and Codes 3026 Programmer Manual ...
Page 107: ... ...
Page 108: ......
Page 112: ...Appendix B Reserved Words 3026 Programmer Manual ...
Page 116: ...Appendix C Interface Specification 3026 Programmer Manual ...
Page 119: ... ...
Page 120: ......
Page 125: ......
Page 126: ......