EasyManua.ls Logo

Rohde & Schwarz SMC100A - Structure of a Command Line

Rohde & Schwarz SMC100A
352 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
R&S SMC100A SCPI Command Structure and Syntax
1411.4060.32 5.13 E-1
Structure of a Command Line
A command line may consist of one or several commands. It is terminated by an EOI together with the
last data byte.
Several commands in a command line must be separated by a semicolon ";". If the next command
belongs to a different command system, the semicolon is followed by a colon. A colon ":" at the
beginning of a command marks the root node of the command tree.
Example:
"SOURce:POWer:CENTer MINimum;:OUTPut:STATe ON"
This command line contains two commands. The first command is part of the SOURce
system and is used to specify the center frequency of the output signal of RF output.
The second command is part of the OUTPut system and sets the attenuation of the
output signal of RF output.
If the successive commands belong to the same system, having one or several levels in common, the
command line can be abbreviated. To this end, the second command after the semicolon starts with the
level that lies below the common levels. The colon following the semicolon must be omitted in this case.
Example:
"SOURce:FM
:INTernal:FREQuency 1kHz;:SOURce:FM:STATe ON"
This command line is represented in its full length and contains two commands
separated from each other by the semicolon. Both commands are part of the SOURce
command system, subsystem FM, i.e. they have two common levels.
When abbreviating the command line, the second command begins with the level below
SOURce:FM. The colon after the semicolon is omitted.
The abbreviated form of the command line reads as follows:
"SOURce:FM
:INTernal:FREQuency 1kHz;STATe ON"
However, a new command line always begins with the complete path.
Example:
"SOURce:FM:INTernal:FREQuency 1kHz"
"SOURce:FM:STATe ON"

Table of Contents

Other manuals for Rohde & Schwarz SMC100A

Related product manuals