1-3 Remote Programming Setup and Interface Programming with SCPI
1-6 PN: 10580-00445 Rev. C MS2090A PM
Notational Conventions
The SCPI interface standardizes command syntax and style that simplifies the task of programming across a
wide range of instrumentation. As with any programming language, the exact command syntax, and command
keywords, must be used. Unrecognized commands or improper syntax will not function and most often produce
an error condition. The table below lists the standard notational conventions used in this document.
Command Terminators
The new line character (ASCII 10) in the last data byte of a command string is used as a command terminator.
Use of a command terminator will reset the command path to the root of the tree.
Table 1-2. Notational Conventions
:
A colon links command keywords together to form commands. The colon is not an actual part of the
keyword, but is a signal to the SCPI interface parser. A colon must precede a root keyword immediately
following a semicolon (see “Notational Examples” on page 1-14).
; A semicolon separates commands if multiple commands are placed on a single program line.
[ ] Square brackets enclose one or more optional keywords.
{ }
Curly braces enclose one or more keyword or command parameters that may be included one or more
times.
|
A vertical bar indicates “or” and is used to separate alternative parameter options.
For example: ON|OFF is the same as ON or OFF.
< > Angle brackets enclose keyword and command parameters (see “Data Parameters” on page 1-7).
ООО "Техэнком" Контрольно-измерительные приборы и оборудование www.tehencom.com