Creating Valid Commands - HP ESA-E Series Programmer's Manual

Esa spectrum analyzers
Table of Contents

Advertisement

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
[:SENSe]:BANDwidth[:RESolution]
<freq>
:MEASure:HARMonics:AMPLitude[n?
[:SENSe]:DETector[:FUNCtion]
NEGative|POSitive|SAMPle
:INITiate:CONTinuous OFF|ON|0|1
Chapter 1
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
The last command below returns different
results than the commands above it. The
number 3 in the command causes this. See the
command description for more information.
:MEAS:HARM:AMPL?
:Meas:Harm:Ampl?
:MEAS:HARM:AMPL3?
• DET:FUNC NEG
• :Sense:Detector:Function Sample
The sample commands below are identical.
• :INIT:CONT ON
• :init:continuous 1
Programming Fundamentals
Creating Valid Commands
1-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents