Technical data

Introduction to SCPI 1
U2761A Programmer’s Reference 3
SCPI Conventions and Data Formats
Command separators
Using a colon ( : )
A colon ( : ) is used to separate a command keyword from a lower- level
keyword. When a colon is inserted between two command mnemonics, the
colon moves the path down one level in the present path (for the specified
root- level command) of the command tree. You must separate command
mnemonics from each other using a colon as shown below:
FUNC:RAMP:SYMM 50
An error is generated if you do not use the colon in your command string:
FUNC RAMP SYMM 50
SYST:ERR?
Typical response:
–103,"Invalid separator"
Using a semicolon ( ; )
A semicolon ( ; ) is used to separate commands within the same
subsystem, and can also minimize typing. For example, sending the
following command string:
FREQ:STAR 10; STOP 1000
... is the same as sending the following two commands:
FREQ:STAR 10
FREQ:STOP 1000
NOTE
” indicates the commands that you send to the U2761A.
” indicates the response from the U2761A.