Agilent Technologies E4406A VSA manual Creating Valid Commands, Programming Fundamentals

Models: E4406A VSA

1 406
Download 406 pages 63.49 Kb
Page 60
Image 60
Creating Valid Commands

Programming Fundamentals

SCPI Language Basics

Creating Valid Commands

Commands are not case sensitive and there are often many different ways of writing a particular command. These are examples of valid commands for a given command syntax:

Command Syntax

Sample Valid Commands

 

 

[SENSe:]BANDwidth[:RESolution] <freq>

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

 

 

 

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]

DET:FUNC neg

NEGativePOSitiveSAMPle

Detector:Func Pos

 

 

 

INITiate:CONTinuous ONOFF10

The sample commands below are identical.

 

INIT:CONT ON

 

init:continuous 1

 

 

 

60

Chapter 2

Page 60
Image 60
Agilent Technologies E4406A VSA manual Creating Valid Commands, Programming Fundamentals, SCPI Language Basics