1261B User Manual
Racal Instruments
Ó
1995
SCPI Command Reference 5-3
Optional Keywords
Command keywords enclosed in square brackets are optional.
For example, all of the following commands are valid and
equivalent:
DISPLAY:WINDOW:TEXT:DATA “Hello”
DISPLAY:TEXT:DATA
“Hello”
DISPLAY:WINDOW:TEXT
“Hello”
DISPLAY:TEXT
“Hello”
A colon ( : ) is used to separate a command keyword from a
lower level keyword as shown below:
DISP:WIND:TEXT:STATE ON
A semicolon ( ; ) is used to separate commands within the same
subsystem, and can also minimize typing. For example, sending
the following command string:
DISP:TEXT “Example Text” ; STATE ON
is the same as sending the following two commands:
DISP:TEXT “Example Text”
DISP:TEXT:STATE
ON
Use the colon and semicolon to link commands from different
subsystems. For example, in the following command string, an
error is generated if both the colon and the semicolon are not
used.
DISP:TEXT:STATE ON;:SYSTEM:ERR?
Multiple Identical
Capabilities and
Keyword Suffixes
In several places in the EMS, there are nearly identical
measuring capabilities across multiple instances of a monitored
attribute. For example, the voltage from 7 different power
supplies can be read. The base keyword used to measure the
power supply voltage is shown as:
MEASure:VOLTage[<N>]? (N = 1 - 7)
This represents eight different keywords:
MEASure:VOLTage?
-- read +5V Power Supply
MEASure:VOLTage1?
-- read +5V Power Supply
MEASure:VOLTage2?
-- read -5.2V Power Supply
MEASure:VOLTage3?
-- read -2V Power Supply
MEASure:VOLTage4?
-- read +24V Power Supply
MEASure:VOLTage5?
-- read -24V Power Supply
MEASure:VOLTage6?
-- read +12V Power Supply
MEASure:VOLTage7?
-- read -12V Power Supply
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com