Special Characters In Commands - Agilent Technologies PSA Series User And Programming Manual

Spectrum analyzers
Hide thumbs Also See for PSA Series:
Table of Contents

Advertisement

Programming Fundamentals
SCPI Language Basics
ways of writing a particular command. These are examples of valid
commands for a given command syntax:
Command Syntax
[SENSe:]BANDwidth[:RESolution] <freq>
MEASure:SPECtrum[n]?
[:SENSe]:DETector[:FUNCtion]
NEGative|POSitive|SAMPle
INITiate:CONTinuous ON|OFF|1|0

Special Characters in Commands

Special
Character
|
290
Sample Valid Commands
The following sample commands are all
identical. They will 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
• 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.
• DET:FUNC neg
• Detector:Func Pos
The sample commands below are identical.
• INIT:CONT ON
• init:continuous 1
Meaning
A vertical stroke between
parameters indicates
alternative choices. The
effect of the command is
different depending on
which parameter is
selected.
Example
Command:
TRIGger:SOURce
EXTernal|INTernal|LINE
The choices are external,
internal, and line.
Ex: TRIG:SOURCE INT
is one possible command
choice.
Chapter 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

E4440aE4443aE4445aE4448aE4446a

Table of Contents