Chapter 3 Programming Your Universal Counter for Remote Operation
Elements of SCPI Commands
3-8 Programming Guide
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
HP-IB as a sequence of ASCII data messages. Examples of a typical Common
Command and Subsystem Command are:
OUTPUT 712;"*CLS"
OUTPUT 712;":INP1:COUP AC;IMP 1.0 MOHM"
Subsystem Command Syntax
Figure 3-2 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-2. Simplified Program Command Syntax Diagram
Common Command Syntax
Figure 3-3 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.