Programmer’s Guide 9-15
Introduction to SCPI
Syntax Summary
The following elements have special meanings within a SCPI program
message (or combination or mnemonics).
colon (:) When a command or query contains a series of
mnemonics, they are separated by colons. A colon
immediately following a mnemonic tells the command
parser that the program message is proceeding to the
next level of the command tree. A colon immediately
following a semicolon tells the command parser that
the program message is returning to the base of the
command tree.
semicolon (;) When a program message contains more than one
command or query, a semicolon is used to separate
them from each other.
comma (,) A comma separates the data sent with a command or
returned with a response.
space ( ) One space is required to separate a command or query
from its data (or parameters). Spaces are not allowed
inside a command or query.