![HP E4401B Programmer'S Manual Download Page 23](http://html.mh-extra.com/html/hp/e4401b/e4401b_programmers-manual_161548023.webp)
Chapter 1
1-9
Programming Fundamentals
Putting Multiple Commands on the Same Line
:FREQuency
:STARt
:POWer
[:RF]
:MIXer
:RANGe
[:UPPer]
Bad Command
Good Command
PWR:ATT 40dB
POW:ATT 40dB
The short form of
POWER
is
POW
, not
PWR
.
FREQ:STAR 30MHz;MIX:RANG
–20dBm
FREQ:STAR
30MHz;POW:MIX:RANG –20dBm
The
MIX:RANG
command is in the same
:SENSE
subsystem as
FREQ
, but
executing the
FREQ
command puts you back at the
SENSE
level. You must
specify
POW
to get to the
MIX:RANG
command.
FREQ:STAR 30MHz;POW:MIX RANG
–20dBm
FREQ:STAR
30MHz;POW:MIX:RANG –20dBm
MIX
and
RANG
are both in the same subsystem (
:SENSE
) but they are two
separate commands and need a semicolon to separate them.
:POW:ATT 40dB;TRIG:FREQ:STAR
2.3GHz
:POW:ATT 40dB;:FREQ:STAR
2.3GHz
:FREQ:STAR
is in the
:SENSE
subsystem, not the
:TRIGGER
subsystem.
:POW:ATT?:FREQ:STAR?
:POW:ATT?;FREQ:STAR?
:POW
and
FREQ
are within the same
:SENSE
subsystem, but they are two
separate commands, so they should be separated with a semicolon, not a
colon.
:POW:ATT -5dB;:FREQ:STAR
10MHz
:POW:ATT 5dB;:FREQ:STAR
10MHz
Attenuation cannot be a negative value.
Summary of Contents for E4401B
Page 6: ...vi ...
Page 14: ...xiv Contents ...
Page 64: ...2 34 Chapter2 HP ESA Status Registers Using the Analyzer Status Registers ...
Page 65: ...3 1 3 Programming Examples ...
Page 151: ...4 1 4 Programming Command Cross References ...
Page 286: ...5 132 Chapter5 Language Reference UNIT Subsystem ...
Page 287: ...6 1 6 HP 8590 HP ESA Spectrum Analyzers Programming Conversion Guide ...
Page 292: ...1 HP 8590 HP ESA Spectrum Analyzers Conversion Guide ...
Page 368: ...7 1 7 Error Messages ...
Page 393: ...7 26 Chapter7 Error Messages 201 to 799 Device Specific Errors ...