![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/da/3da3ae27-2a69-4594-ba9d-84576f7a4203/3da3ae27-2a69-4594-ba9d-84576f7a4203-bg165.png)
357
A Brief Introduction to the SCPI Language
SCPI Language Basics
command. These are examples of valid commands for a given command syntax:
Special Characters in Commands
Command Syntax Sample Valid Commands
[SENSe:]BANDwidth[:RESolution] <freq> The following sample commands are all identical. They
all cause the same result.
• Sense:Band:Res 1700
• BANDWIDTH:RESOLUTION 1.7e3
• sens:band 1.7KHZ
• SENS:band 1.7E3Hz
• band 1.7kHz
• bandwidth:RES 1.7e3Hz
MEASure:SPECtrum[n]? • MEAS:SPEC?
• Meas:spec?
• meas:spec3?
The number 3 in the last meas example causes it to
return different results then the commands above it.
See the command description for more information.
[:SENSe]:DETector[:FUNCtion]
NEGative|POSitive|SAMPle
• DET:FUNC neg
• Detector:Func Pos
INITiate:CONTinuous ON|OFF|1|0 The sample commands below are identical.
• INIT:CONT ON
• init:continuous 1
Special
Character
Meaning Example
| A vertical stroke between
parameters indicates
alternative choices. The effect of
the command is different
depending on which parameter
is selected.
Command:
TRIGger:SOURce
EXTernal|INTernal|LINE
The choices are external, internal,
and line.
Ex: TRIG:SOURCE INT
is one possible command choice.