Instruction manual
Chapter 3 Programming Your Counter for Remote Operation
Elements of SCPI Commands
Programming Guide 3-13
3
Elements of SCPI Commands
A program command or query is composed of functional elements that
include a header (or keywords with colon separators), program data, and
terminators. These elements are sent to the Counter over the GPIB or the
RS-232 interface as a sequence of ASCII data messages. Examples of a
typical Common Command and Subsystem Command are:
OUTPUT 712;"
*
CLS"
OUTPUT 712;":DISP:ENAB ON;:FREQ:RES 1KHz"
Subsystem Command Syntax
Figure 3-6 shows the simplified syntax of a Subsystem Command. You must
use a space (SP) between the last command mnemonic and the first
parameter in a Subsystem Command. Note that if you send more than one
parameter with a single command, you must separate adjacent
parameters with a comma.
Note: sp = space. ASCII character decimal 32.
Figure 3-6. Simplified Program Command Syntax Diagram
Common Command Syntax
Figure 3-7 shows the simplified syntax of a Common Command. You must
use a space (SP) between the command mnemonic and the parameter in a
Common Command.
?
sp
:
,
:
parameter
mnemonic
suffix