Agilent 71450B Data Sheet

Quick Reference
HP 71450B/1B/2B Optical
Spectrum Analyzers
ABCDE
Printed in USA
HP Part No. 70950-90052
Edition 1
Printed in USA June 1995
Santa Rosa, CA
95403-1799, USA
Notice.
The information contained in this document is subject to
change without notice. Hewlett-Packard makes no warrantyofany
kind with regard to this material, including but not limited to, the
particular
a
implied w
purpose.
herein or
arranties
Hewlett-Pac
for inciden
the furnishing,
ARS
(c)
of
(2)
at
Righ
t
the
252.227-7013
of
AR
F
Restricted
ernmen
v
Go
(ii)
(1)
DF
at
and
clause
of merc
tal
performance,
Legend.
ts
ject
sub
is
in
ts
Righ
Commercial
the
52.227-19
han
kard
consequen
or
restrictions
to
ec
T
for
for
tabilit
shall
or
Use,
hnical
DOD
Computer
other
and
y
liable
e
b
not
damages
tial
this
of
use
duplication,
set forth
as
Data and
agencies,
agencies.
tness
Soft
for
errors
for
in
material.
disclosure
or
in
Computer
subparagraphs
and
are
w
tained
con
y
b
with
the U.S.
connection
subparagraph
clause
are
w
Soft
(c)
Restricted Righ
(c)
(1)
ts
c
Copyright Hewlett-P
All Righ
ts Reserv
ackard Company 1995
ed. Reproduction, adaptation, or translation without
prior written permission is prohibited, except as allo
copyrightlaws.
wed under the
iii
Contents
1. Menu Maps
MenuMaps ...... ...... ..... .. 1-2
Amptd Menu................... 1-3
Swp Men
BW,
er Men
Mark
Men
Misc
Men
State
Men
races
T
eln
v
a
W
USER
USER
USER
USER
5
5
5
5
Men
Men
Men
Men
2.
4
4
4
4
Optical
u
u
Men
ectrum
Sp
u.
.
u
u
u's
u's
u's
u's
u.
..
.
.
.
.
.
.
.
.
DFB
FP
LED
PDL
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
anced
Adv
anced
Adv
anced
Adv
anced
Adv
Analyzer
.
.
.
.
.
.
.
.
..
..
..
..
.
..
..
.
.
..
Measuremen
Measuremen
Measuremen
Measuremen
unctions
F
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
t
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Program
t
Program
Program
t
Program
t
1-4
.
.
.
1-5
.
.
.
1-6
.
.
.
1-8
.
.
.
1-10
.
.
.
1-11
.
.
.
1-12
.
1-13
.
.
1-14
.
1-15
.
Con
Con
Commands
tions
en
v
tions .
en
v
..
..
..
..
..
..
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Programming
3.
Notation
tax
Syn
Functional Index .. ...... ..... .... 3-6
Programming Commands ...... ..... .. 3-18
4. Error Messages
User Application Errors (0001 { 0999) . . . . . . . . 4-2
.
.
.
.
.
..
.
.
.
2999)
{
arning
W
Brok
en
(2000
Errors
Errors
(6000
(7000
..
.
6999)
{
.
{
7999)
.
..... ....
..... ..
..... ....
.
..
.
.
.
.
erating
Op
Hardw
Hardw
Errors
are-
are-
Computation Errors (8000 { 8999)
Factory-Use Only Errors (9000 { 9999)
Warning Messages (16001 { 16012)
Contents-1
3-2
.
3-3
.
4-3
.
4-12
.
4-13
.
4-16
4-17
4-18

Menu Maps

1
Menu
Maps 1-1
Menu Maps
The menu maps that are in this guide graphically represent the
softkey menus that are located under the
Maps for each left-side softkey are shown in alphab etical order. Menu
maps contain the following features:
4
MENU
5
and the
4
USER
5
keys.
1-2
Menu Maps
Amptd Menu
Menu Maps
Menu
Maps 1-3
BW, Swp Menu
1-4
Menu Maps
Marker Menu
Menu
Maps 1-5
Misc Menu
1-6
Menu Maps
Misc menu (cont'd)
Misc Menu
Menu
Maps 1-7
State Menu
1-8
Menu Maps
State menu (cont'd)
State Menu
Menu
Maps 1-9
Traces Menu
1-10
Menu Maps
Waveln Menu
Menu
Maps 1-11
4
5
USER
Menu's DFB Advanced Measurement
Program
1-12
Menu Maps
4
5
USER
Menu's FP Advanced Measurement
Program
Menu
Maps 1-13
4
5
USER
Menu's LED Advanced Measurement
Program
1-14
Menu Maps
4
5
USER
Menu's PDL Advanced Measurement
Program
This program is available on HP 71451B (HP 70951B) instruments as
Option 003.
Menu
Maps 1-15
2

Optical Spectrum Analyzer Functions

This chapter contains an alphabetical listing of all optical spectrum
analyzer softkeys, hardkeys, front-panel indicator lights, and front- and
rear-panel input and output connectors. A brief description has been
same)
enc
displa
alues.
men
programming
function
the
to
refer
.
e
previous
ys
DELTA
u's
has
vided for
pro
command
been
also
more
or
F
71450B/1B/2B
HP
kspaces
Bac
4j5
men
ey
softk
4
4g5
415
Increases
5
f
(custom-k
h
eac
erforms the
that p
provided.
detailed
the
us.
eypad
listed.
item
information
al
Optic
cursor
or
while
decreases
Activ
ey)
k
same
Sp
If
on
ctrum
e
activ
ates
applicable,
nearly
(or
eys or
softk
Analyzer
text
tering
en
parameter
e
Marker
the
related
the
the
hardkeys,
Refer
or
v
function.
1/T
Congures marker readouts to showmarker position as the
inverse of the marker sweep-time position.
3-DIMENfOnfOff
Views the 3-dimensional display. Related
command: THREED
t
oin
p
A
trace
from
B
A-B
results
A+B
Subtracts
Adds trace
f%
A
stores
f%
A
f
-
the
f
-
results in trace A. Related command:
Af%-f(A-B)-C
stores the results in trace A. Related command: AMBMC
then
trace
trace A.
in
A
Related
and
trace
command:
oin
p
B
AMB
oint,
p
y
b
t
APB
Subtracts both trace B and trace C from trace A,
Optical
Spectrum Analyzer
y
b
oint,
p
then
Functions
then
stores
the
2-1
Af%-fA-B+DL
Subtracts trace B from trace A pointby point, adds
the value of the display line, then stores the results in trace A. Related
command: AMBPL
Af%-fA-C
Subtracts trace C from trace A pointbypoint, then
stores the results in trace A. Related command: AMC
Af%-fA-C+DL
Subtracts trace C from trace A pointby point, adds
the value of the display line, then stores the results in trace A. Related
command: AMCPL
Af%-fA*DL/(A+B)
Divides the displaylineby the sum of traces
A and B and then multiplys the result by trace A. Related command:
ADAPBTL
of
sum
the
y
b
line
y
displa
ultiplys
A
results
oth
b
The
line.
A
results
the
the
the displa
by
are
trace
results
the
y
b
are
sum
result
stored in
B
displa
stored
traces
of
trace
y
b
line
y
trace
and trace
are stored
line
y
trace
in
and
A
alue,
v
alue,
v
A.
C
in
A.
from
A.
B
Related
then
trace
then
the
y
b
A.
A*DL
-
f
A
f%
traces A,
B, and
command: AD
A*DL/B
f
-
f%
A
result
divides
Related
A
trace
Related
A
divides
Related
A
the
command:
(A-B)-C+DL
f
-
f%
then
A,
command:
A*DL/C
f
-
f%
the
command:
f
DL*(A+B)/C
f%
-
result
/(A+B+C)
f
Cand
APBPCTL
Multiplies
trace
y
b
ADBTL
the
adds
AMBMCPL
Multiplies
trace
y
b
ADCTL
Divides
m
then
trace
The
B.
Subtracts
y
displa
trace
The
C.
Multiplies the
display line. Then, this result is divided by trace C. The nal results
are stored in trace A. Related command: APBDCTL
AfMETERfOnfOff
Displays the power level of the trace point
currently being measured at the optical sp ectrum analyzer's input.
AMETER
Selects the
UNITS
amplitude
the
for
units
y
displa
tents of trace A and trace B registers.
UNITS
f
command:
AutoMan
f
Related
A
scale. Related command: A
AfXCHfB
Exchanges the con
Related command: AXB
C
AfXCH
Exchanges the con
f
Related command: AX
Optical Spectrum
2-2
C
Analyzer
tents of trace A and trace C registers.
Functions
ACT Front-panel indicator light that turns on whenever the optical
spectrum analyzer is b eing displayed.
ACTIVEfMARKER
adcfsync
Presents a menu for synchronizing an external signal
Selects the active marker.
with pulse modulation capability with the optical spectrum analyzer's
analog-to-digital converter.
ADC SYNC OUT
Rear-panel output connector that allo ws the user
to synchronize an event, external to the instrument to the instrument
data acquisition.
adcftrigger
spectrum
analyzer to
Presents a menu for synchronizing the optical
pulsed
a
ligh
source.
t
Related
command:
ADCTRG
amplitudes
ADCTRIG
measured on
result
the
of
ADCTR
G
ADCTRIG
(ADC)
erter
v
con
ADCTR
GDL
ADCTRIG
command:
ADCTRIG
command:
AC
Selects
f
opposite
ecomes
b
C
A
DELAY
f
after
Y
FREE
f
ADCTR
NEGEDGE
f
ADCTR
external
edges
trace
the
ys
Dela
trigger
the
Selects
FREE
G
Selects
NEGEDGE
G
are
amplitude
external
ternal
in
external
triggering.
ADC
subtracted
triggering
Related
edge.
triggering
ADC
and
value.
The
absolute
the
Related command:
analog-to-digital
the
of
command:
Related
ADC.
the
of
triggering.
Related
v
alue
ADCTRIGfPOSEDGE
Selects external ADC triggering. Related
command: ADCTRG POSEDGE
ALIGNfPRESET
Returns alignment to factory default settings.
Related command: ALIGNPRST
OFFSET
f
REF
f
AMP
relativ
e-amplitude
oset
AMPCORf-&LOWER
Adjusts the
alue.
v
Copies amplitude-correction
displa
Related command:
limit-line table. Related command: COR
AMPCOR-&fUPPER
upper limit-line
Copies amplitude-correction v
table. Related command: COR
Optical
Spectrum Analyzer
amplitude
ed
y
TOLIM
OFFSET
R
values in
alues in
TOLIM
using
el,
lev
to a lo
to an
Functions
a
wer
2-3
AMPCORfOnfOff
Turns on and o the use of amplitude
corrections. Related command: AMPCOR
Amptd
Presents a menu of softkeys that control the optical spectrum
analyzer's sensitivity and amplitude scale.
AMPTDfVALUE
Enters the beginning amplitude value of the
currently selected limit-line segment. Related command: LIMIAMP
ANALOG OUT
Rear-panel output connector that provides a
voltage equal to the photocurrentinthediodemultiplied bythe
transimpedance value.
ANALYZRfTEST
Initiates a self-test routine. Related command:
TEST
ANOTATN
CHR
ANY
f
annotation
ed
y
displa
the
an
T
y
urns
ASCI
haracter
c
I
as
part
Off
On
f
f
ters
En
on
programming
a
of
o.
and
command.
Related
t.
mo
to
dify
MKR
f
AT
execute
on
command:
autmeas
automatic
Auto
4
A
alignmen
A
Determines
ALIGN
UTO
t
UTOALIGN
Off
f
On
f
unique
a
UTOMMKR
A
state
f
measuremen
(custom-k
5
routine
the
to
Allo
signal
Presen
routine.
t
v
eypad
ensure
the
ws
in
ts
alues
amplitude
automatic measuremen
environmen
ultiple
m
a
men
a
measured
ey)
k
signal
whic
u
y
b
Initiates
accuracy
allows
h
the
an
mark
.
t
to
ou
y
er.
automatic
Related
routine
command:
the
AUTOfALIGN
Initiates an automatic alignment routine to ensure
amplitude accuracy. Related command: AUTOALIGN
4
AUTO MEASURE
5
Initiates an automatic measurement routine that
searches for a signal and then centers and narrows the span around it.
UTOMEAS
Related
AUTO
command:
MEASURE
f
searches for a signal and then cen
Related command: A
AUTOfSCALE
amplitude of the displa
(PDL) measuremen
Optical Spectrum
2-4
A
Initiates
automatic
an
ters and narro
measurement
ws the span around it.
UTOMEAS
HP 71451B Option 003 only
Automatically scales the
yed signal during a p olarization dependen
t. Related command: PDLSCALE
Analyzer
Functions
routine
that
tloss
AUTOPTSfALIGN
Runs an automatic alignment routine for the
ber positioner's tracking table. Related command: ALIGN
AUTORNGfOnfOff
Turns automatic ranging on and o. Related
command: AUTORNG
AUTZEROfOnfOff
Turns o zeroing between traces. Related
command: AUTZERO
Bf%-fB-DL
Subtracts the value of the display line from trace B,
then stores the result in trace B. Related command: BML
BfXCHfC
Exchanges the contents of trace B and trace C registers.
Related command: BXC
BEEPER
signal has
that a
Off
On
f
f
urns
T
crossed a
displa
Related
line.
limit
ed
y
command:
alerting
for
alarm
an
o
and
on
LIMIBEEP
ed.
y
displa
eing
b
from
data
A
trace
ts
BLANK
A
f
command:
B
BLANK
f
command:
C
BLANK
f
command:
TRACES
f
f
or
Swp
BLANK
creation
BW,
bandwidth,
en
Prev
BLANK
trace
ts
en
Prev
BLANK
trace
ts
en
Prev
BLANK
Prev
limit
Presen
of
men
a
ts
editing
and triggering.
en
B
C
the
ts
lines.
for
u
data
data
from
from
displa
Related
trolling
con
being
being
trace
of
y
command:
instrumen
displa
displa
A,
ed.
y
ed.
y
and
B,
BLANK
sw
t
ou
y
Related
Related
Related
during
C
eep,
Cf%-fB
calfmenu
Places contents of trace B into trace C.
Presents a menu for performing user calibrations at a set
wavelength and power level.
w
o
ts
ap
amen
CAL
cal
POWER
f
setup
f
erforms
P
Presen
wavelength for user calibrations.
CALfWAVELEN
Performs a w
wavelength and amplitude.
CALfWVL
ATfPIT
f
Performs a w
pit. Related command: CAL
a
w
set
a
ecifying
at
the
er
w
o
p
calibration
er
sp
for
u
elength calibration at a set
av
avelength calibration at a signal
Optical
Spectrum Analyzer
elength.
v
and
Functions
2-5
CALCf+fDISPLAY
HP 71451B Option 003 only
* Calculates
and displays the peak-to-peak polarization-dep endent loss. Related
command: PDLCALC
CALCffOnfOff
Turns the calculation of advanced-measurement
program results on and o.
CANCEL
catalogf&fMSI
Cancels the various memory-erase operations.
Displays the contents of the currently selected
user memory. Related command: CATALOG, DSPMODE CAT, and
MEM
4
CENTER
command: CENTER
CENTER
command: CENTER
CHANGE
are
CHOP
5
Species the wavelength displayed at center screen. Related
WL
ecies the
Sp
wa
elength
v
displa
screen.
ter
cen
at
ed
y
WL
les
to
hed
attac
prex
\c
hop"
the
command:
de on
mo
PREFX
o.
and
Related
stored
On
f
PREFIX
f
memory
in
Off
f
Changes
.
urns
T
Related
Related
they
when
command:
CHOP
end
the
CLEAR
data
the
CLEAR
obtained
CLEAR
obtained
END
f
TO
f
line.
A
f
WRT
f
scanning
from
B
f
WRT
f
from scanning
Deletes
Con
Con
all
uously
tin
input
the
uously
tin
the input
haracters
c
dates
up
ectra.
sp
dates
up
spectra.
from
trace
Related
trace
Related
the cursor
with
A
with
B
to
data
new
command:
data
new
command:
CLR
CLR
W
W
of
CLEARfWRTfC
Continuously updates trace C with new data
obtained from scanning the input spectra. Related command: CLRW
CLOSESTfPEAK
Moves the active marker to the closest signal p eak.
Related command: MKPK CP
pit.
CLOSEST
Related
command:
COMMAND
v
Mo
PIT
f
MKPK
Accesses a men
es the
e
activ
CPIT
uforen
the
to
er
mark
tering, editing,
closest
and executing short
signal
programming routines.
CONFIG
module in the mo
the conguration of the optical spectrum analyzer
Shows
dular measurement system (MMS). Related
command: CONFIG and DSPMODE CONFIG
Optical Spectrum
2-6
Analyzer
Functions
CONFIRMfDELETE
DELETEfALL
has been pressed.
Erases the contents of the limit-line table after
CONFIRMfERASE
CONT
Resumes op eration of a halted program.
CONTfSWEEP
Erases memory.
Sweeps the measurement range when the trigger
conditions are met. Related command: CONTS
currentfsource
Option 001 only
Presents a menufor
controlling the pulsed current source.
CURRENT SOURCE
Rear-panel connector that utilizes the same
capability as the ADC SYNC OUT connector.
to
ter-w
amplitude
the
Related
decib
the
equal
elength
v
a
and activ
command:
relativ
els
softk
curren
e mark
t
Sets
the cen
CWL
-
&f
Related Command:
STEP
f
CWL
-
&
1
f
w
et
dierence
the
Related
DB/DIV
automatic
Selects
dBm
debug
DEBUG
Related
b
command:
AutoMan
f
measuremen
amplitude
Accesses
FAST
f
command:
Starts
elength
v
a
w
ter
MKCWL
cen
the
Sets
reference
the
een
MKSS
Changes
routine.
t
in
units
program-debugging
the
debugging
AST
DEBUG
F
the
step
scale
to
e
functions.
ey
DLP
mark
size
w
er
used
UTOMDB
A
1mW.
a
at
w
er
equal
elengths.
v
a
y
b
fast
elength.
v
a
to
the
rate.
DEBUG
Off
Activates
f
f
ON
debugging
DEBUG
DEBUGfSLOW
Starts debugging the current DLP at a slow rate.
Related command: DEBUG SLOW
DEFINEfUSRfKEY
command:
DELETE
KEYDEF
ALL
f
Places softkeys in the user menu. Related
currently
y
Erases
an
command: LIMIDEL
DELETEfCHAR
DELETEfor...
Deletes the c
Displays the
haracter at the displa
DELETEfCHAR
characters from the text.
Optical
limit
Related
lines.
of
loaded
DLPs.
yed cursor.
softkey for deleting
Spectrum Analyzer
command:
Related
Functions
2-7
DELETEfSEGMENT
command: LIMISDEL
Erases the selected limit-line segment. Related
DELTA
Displays a delta marker relative to a reference marker.
Related command: MKD
DETECTRfExtfInt
Species the receive device to be either
optical or electrical thus selecting optical-to-optical testing or
optical-to-electrical testing. Related command: PDLDEV and
PDL DEV?
DFB
Turns on the DFB advanced-measurement program. Related
command: DFB
functions
4
DISPLA
Y
5
Presen
as: HP-MSIB
DISPOSE
f
u
men
ts a
addressing, comm
USER
Erases
con
for
unication, and
con
le
a
trolling
taining
system-lev
user-men
el
conguration.
softk
u
eys
memory.
distrib
menu
f
Displa
ys
a
men
u
for
selecting
statistical
distributions.
the
the
on
of
y
signal
trace.
displa
B.
trace
ailable
v
a
connectors.
DISTRIB
LIN
f
DSP
Related
DSPLY
DUTY
the
Related
command:
f
CYCLE
f
rear-panel
command: IGENDTYCY
distribution
wer
o
p
a
ys
Displa
Off
f
On
f
horizontal
ositions
P
Off
f
On
f
a
line
DL
displa
the
o
and
on
urns
T
OFF
f
ON
f
B
of
cycle
y
dut
OUT
the
and
CURRENT
SOURCE
f
ADC
Changes
%
SYNC
from
.
y
suc
at
h
EDITfFUNCDEF
ENTERfCOMMAND
Displays a user-dened function for editing.
Allows commands to be executed from the front
panel.
limit
enter
Related
f
command:
ENTERfLINE
ENVLOPE
Selects an en
the limit-line
ys
Displa
LIMIEDIT,
Enters a title
velope statistical distribution
LIMILINE,
created b
table
y the user on the displa
distribution trace. Related command: FP
ENVLOPEfMKR
BW
f
Sets the F
abry-Perot laser en
amplitude. Related command: FP MKBW
Optical Spectrum
2-8
Analyzer
Functions
for
and
creating
limit
LIMISEG
for the po
velope bandwidth
lines.
y.
wer
ERASEfALL
Erases all internal user memory.
erasefrestart
ERR
Front-panel indicator light that turns on whenever the optical
Presents a menu for erasing internal memory.
spectrum analyzer has a problem.
executefDLP
Lists all DLPs stored in internal memory
alphabetically.
EXIT
Turns o an advanced-measurement program. Related
command: DFB , FP , LED , and PDLEXIT
EXT
Selects external triggering. Related command: TM EXT
selects
EXT TRIG
IN
external trigger
EXTEND
module
extnded
er-p
b
FLAT
FORMAT
Related
FP
Related
STATE
f
of the
f
ositioner's
Determines
Erases,
command:
urns
T
command:
align
on
Rear-panel
mode
Lists
instrumen
Presen
king
trac
limit-line
then
ORMA
F
abry-P
F
the
FP
input
or the
mo
Related
t.
ts
table.
initializes
erot
connector
gated
dule-lev
men
a
terp
in
the
T
(FP)
sw
el
command:
u
olation.
adv
that
de.
mo
eep
alues
erating
op
v
DSPMODE
adjusting
for
curren
tly
the
selected
anced-measuremen
either
eac
for
EXTEND
memory
program.
t
h
.
frequency
FREQ
Congures
FULLfSPAN
readouts
er
mark
Sets the measurement span to the limits of the optical
in
spectrum analyzer. Related command: FS
GATESWPfOnfOff
rear-panel
GAUSIAN
distribution
EXT TRIG IN
Selects
trace.
gratfcontrol
Allows the gating of measurementdataviathe
connector. Related command: GATESWP
Gausian
statistical
Presents a men
distribution
u for con
graticule.
graticule on and o. Related
Optical
yed
Spectrum Analyzer
GRATffOnfOff
command: GRA
T
Turns the displa
.
for the
p
trolling the displa
Functions
er
w
o
yed
2-9
GRATSCRfOnfOff
Controls the p ositioning of the horizontal
graticule lines. Related command: GRATSCRL
HELPfOnfOff
HIGHESTfPEAK
Displays on-line denitions.
Moves a trace marker to the highest detected
signal peak. Related command: MKPK HI
4
5
HOLD
Deactivates an active function to prevent accidental setting
changes. Related command: HD
HOLD
Deactivates an active function to prevent accidental setting
changes. Related command: HD
HORZfOFFSET
displays.
HP-MSIB
Related command:
f
devices. Related
DISK
f
HPIB
HP-IB
via
HSWP
eep
sw
HYS
video
IGEN
curren
IGEN
to
OUT
IN
(HSWP)
LEVEL
f
triggering.
LIMIT
f
source.
t
f
On
f
Sets the horizontal oset of 3-dimensional trace
THREEDH
CARD
Accesses
memory on
cards
command: MSI
Accesses
system.
the
Rear-panel
HP-IB
an
Related
input
external
command:
and
memory
MSI
output
signal.
video-signal
in
hange
c
Related
Option
Option
the
command:
only
001
command:
only
001
VTH
trols
Con
IGENLIMIT
on
urns
T
curren
or
Denes
Related
Off
of the current source. Related command: IGEN
other
and
device connected
connector
el required
lev
limiting
t
sets
and
o
HP-MSIB
high
the
for
for
the
of
value
the
INITfPDL
HP 71451B Option 003 only
Initializes the polarization
dependent loss (PDL) measurement procedure. Related command:
PDLINIT
INSERT
haracters
c
4
5
INSTR
the
or...
f
to
in
text.
Displa
ys
SELECT
Assigns the HP 70004A displa
CHAR
f
front-panel k
y's
softk
eys to selected
inserting
for
ey
master mo dules.
operations performed
instrfmodes
byHP
2-10
71451A instruments. Related command: INSTMODE
Optical Spectrum
Selects the t
Analyzer
ype of instrumen
Functions
t
4
INSTR PRESET
5
Resets the optical spectrum analyzer to a known
preset state. Related command: IP
INTfWINfOnfOff
Displays the trace points used to calculate
FWHM and power.
INTEGRTfFROMfPK
Selects integration p oints based on amplitude
level from peak response.
integrtfmenu
Accesses a menu that selects the trace points for
calculating FWHM and p ower.
INTEGRTfSTOPfWL
Sets the upper limit of integration points
based on the ending wavelength.
w
lo
INTEGRT
based on
INTRNL
the starting
f
memory for
control
f
key
user-dened
SEGMENT
f
LAST
limit-line
LCL
LED
table.
Returns
urns
T
command:
PEAK
f
LEFT
STRT
f
f
MEMORY
memory op
Accesses
us.
men
Related
cal
lo
the
on
LED
v
Mo
WL
wa
Selects
En
fron
LED
a
es
the
Sets
elength.
v
optical
the
men
a
limit-line
a
Related
erations.
ters
command:
t-panel
mark
con
anced-measuremen
adv
left
er
u
trol.
peak. Related command: MKPK NL
limit
er
ectrum
sp
command:
creating,
for
segmen
LIMIBOT
displa
the
on
of
in
at
t
t
tegration
analyzer's
MEM
ving, and
sa
the end
program.
the
to
y
ts
oin
p
ternal
in
MSI
and
recalling
the
of
Related
next signal
LEFTfPIT
Moves a marker left on the display to the next signal pit.
Related command: MKPK NLPIT
limf%-&fampcor
amplitude-correction
lines
limit
f
Accesses a menu for loading and editing
and
to
alues
v
amen
ys
Displa
displaying limit lines.
LIMITSfOnfOff
Turns on and
command: LIMITEST
lightfsource
Option
002 only
built-in white-light source.
Optical
from limit-line
creating,
for
u
tables.
editing,
and
o limit-line testing. Related
Presents a softk
Spectrum Analyzer
ey for con
Functions
trolling
2-11
LINE
Triggers the sweep using the ac p ower-line voltage. Related
command: TM LINE
LINEAR
LINESfOnfOff
Selects a linear amplitude scale. Related command: LN
Turns on or o the interpolation of data b etween
trace measurementpoints. Related command: LINES
LOADfFILE
Recalls a le stored in memory. Related command:
LIMIRCL, LOAD, RCLD, RCLS, RCLT, and RCLU
LOCKOUTfANOTATN
Prevents the display of annotation. Related
command: ANNOFF
LOGfdB/DIV
Selects a logarithmic amplitude scale. Related
command: LG
LORENZ
Selects
a Lorenzian
statistical distribution
distribution trace.
LOWER-
for
alues
v
AMPCOR
&f
sp
a
ecic
a
w
Stores
elength
v
er-limit
w
lo
a
range. Related
line as
amplitude-correction
command:
LIMTOCOR
when the
on
turns
that
t
ron
F
LSN
ectrum
sp
MANUAL
elengths.
v
a
w
Marker
ers.
mark
t-panel
analyzer
ALIGN
f
Presen
indicator
is
P
a
ts
ligh
receiving
erforms
for
u
men
data
4
an
UTO
A
accessing
instructions
or
ALIGN
and
5
con
sp
at
trolling
o
ecied
the
for
optical
er HP-IB.
v
trace
er
w
o
p
markerfexcursn
Presents a menu for dening peak and pit
excursion.
markerfreadout
Selects the measurement parameter indicated
by the marker. Related command: MKREAD
the
TUNE
MARKER
command:
f
MKTUNE
MAXfHOLDfA
successivesw
MEAS
eep. Related command: MXMH
Front-panel indicator light that turns on when
spectrum analyzer
the w
unes
T
Updates
trace A with the maxim
sweeps the w
elength
v
a
avelength range and blanks during
of
retrace.
Optical Spectrum
2-12
Analyzer
Functions
preselector.
Related
um values from eac
the optical
h
4
MENU
5
Displays the optical spectrum analyzer's softkeys.
MINfHOLDfA
Updates trace A with the minimum values from each
successivesweep. Related command: MINH
MINIMUMfPEAK
Moves a marker to the smallest displayed signal
peak. Related command: MKPK MI
MINIMUMfPIT
Moves a marker to the smallest displayed signal pit.
Related command: MKPK MIPIT
MINIMUMfPOINT
Moves a marker to the lowest detected level on
the trace. Related command: MKMIN
MKfSTOPfOnfOff
f
On
CONT
f
command: MK
MKNOISE
Related command:
f
On
command:
f
BW
f
f
bw
f
NRM
f
f
f
On
alue
v
zoom
softk
On
f
MKN
Off
f
MKPAUSE
Related
MKR
anced-measuremen
adv
bandwidth
mkr
bandwidth
MKR
command:
Stops the sweep at the marker. Related
Displa
ys
Off
noise
rms
the
MKNOISE
at the
sweep
the
auses
P
Off
USE
A
MKP
bandwidth
Measures
t
measured.
is
bw
f
program,
Accesses
the
sets
Related
mark
the
amplitude
the
command:
er
eys.
mark
e
activ
an
ys
Displa
Off
OFF
MK
and
at
el
lev
er
mark
signal.
of a
at
MKBW
bandwidth
a
on
er
er.
mark
the
osition.
p
DFB
the
In
the
h
whic
A
om
zo
and
trace. Related
MKRfTRAfAfBfC
Positions the activemarker on trace A, B, or C.
Related command: MKTRACE
MONOfINPUT
Selects the front-panel
MONOCHROMATOR INPUT
connector for stimulus-response measurements. Related command:
SRINPUT NORMAL
ront-panel
MONOCHR
the
es
receiv
OMA
input
TOR
ligh
INPUT
for the
t
F
HP
71451B
On an HP 71450B/2B, this connector is lab
MONOCHROMATOR OUTPUT
serving as the
71451B optical spectrum
NEXTfPAGE
external output of the monoc
analyzer.
Displays another page of screen data.
Front-panel output connector
Optical
Spectrum Analyzer
connector
input
ectrum
optical
sp
eled
OPTICAL INPUT
hromator on the HP
that
analyzer.
Functions
.
2-13
4
NEXT PEAK
peak.
5
Moves a displayed marker to the next-highest signal
NEXTfPEAK
Moves a displayed marker to the next-highest signal
peak. Related command: MKPK NH
NEXTfPIT
Moves displayed marker to the next-deepest signal pit.
Related command: MKPK NHPIT
NEXTfSEGMENT
Selects the next row in the limit-line table for data
entry. Related command: LIMINEXT
NO.fOFfSTATES
Reserves a number of instrument-state les for
saving instrument states. Related command: NSTATE
o.
or
NORM
T
urns
Off
On
f
f
normalization
trace
on
command: NORM
trace.
the
on
er
mark
4
NORMAL
oneshot
erformed
p
OPTICAL
ligh
input
71451B,
HP
OPTIMIZ
laser's
the
OPTSENS
sensitivit
for
ON/OFF
math
f
once
INPUT
the
for
t
this
Ensures
side
On
f
.
y
5
Places
Displa
k
er
p
F
HP
connector
the
des.
mo
Off
f
an activ
ys
press.
ey
t-panel
ron
71450B/2B
DFB
Optimizes
e
of trace-math
u
men
a
input
optical
MONOCHROMATOR
eled
lab
is
anced-measuremen
adv
automatic
the
connector
ectrum
sp
functions that
that
analyzer. On
t
measuremen
Related
es
receiv
INPUT
program
the
.
lo
routine
t
are
an
cates
ORDERfAutoMan
Allows second order use of the diraction grating
modes or limits op eration to the rst order. Related command:
GRATORDER
OSA
Selects normal optical spectrum analysis.
eration
op
an
f
OSA
de
mo
Related
PULSE
is
that
command:
Places
optimized
the
INSTMODE
PfSTATEfOnfOff
Related command: PST
PARTIALfERASE
Erases all v
optical sp
for making
Protects the
ATE
olatile con
ectrum
accurate
analyzer
fast
contents of instrumen
tents of in
in
measuremen
pulse
ternal memory
t-state les.
Related command: PERASE
Optical Spectrum
2-14
Analyzer
Functions
ts.
.
PAUSE
Pauses execution of a DLP during debugging. Related
command: PAUSE
PDfINPUT
Selects the front-panel
PHOTODETECTOR INPUT
connector for stimulus-response measurements. Related command:
SRINPUT DIODE
PDfMEASfOnfOff
Displays the p ower distribution of a photo
diode. Related command: PDMEAS
PDL
HP 71451B Option 003 only
Runs the polarization dep endent
loss measurement program. Related command: PDL
PEAKfEXCURSN
Related command:
4
SEARCH
PEAK
trace p
PEAK
when
PEAKS
measuremen
PERIOD
PERSIST
oint.
THRESH
f
using
On
f
Congures
f
the
f
t
On
Denes a peak for marker peak-search functions.
MKPX
5
Places
F
Off
Selects
abry-P
Displa
an activ
amplitude
an
(FP)
erot
whic
ys
e mark
er
w
windo
anced-measuremen
adv
eaks
onse p
resp
h
measuremen
for
are
highest
the
on
calculations.
d.
erio
p
f
Off
mark
Sim
readouts
er
ulates
analog
in
displa
ys.
Related
amplitude
program.
t
in
used
command:
t
PERSIST
PHOTO
DIODE
f
Selects
instrumen
t
eration
op
for
testing
photo-dio
detectors.
data
de
PHOTODETECTOR INPUT
Front-panel external input connector
for the photodetector on the HP 71451B optical spectrum analyzer.
PITfEXCURSN
Denes a pit for marker pit-search functions.
Related command: MKPITX
cating
lo
wer lev
for
el for user
pit,min
signal
4
PLOT
POINT
f
and
pits
5
Plots the displa
Determines limit-line in
POWERfFOR
markers
minim
the
f
CAL
amen
ts
Presen
um trace
yona
Hewlett-Packard plotter.
terpolation.
Enters the ligh
functions
of
u
t.
oin
p
t source's p o
calibrations. Related command: CALPWR
POWERfMETER
Selects instrument operation as a power meter.
Optical
Spectrum Analyzer
Functions
2-15
POWERONfIP
Species that the instrument be placed in its preset
state whenever it is turned on. Related command: POWERON
POWERONfLAST
Species the instrument's state immediately after
being turned on. Related command: POWERON
poweronfmenu
Presents a menu for selecting the instrument's
state after it is turned on.
POWERONfRECALL
Restores a specied state-register le each time
the instrument is turned on. Related command: RCLS
PRESEL
PRESETfUSER
Selects instrument operation as a preselector.
Restores the default user-menusoftkeys. Related
command: KEYPST
softk
ed
y
width
Related
displa
ard
k
ac
the
of
command:
memory
graphics
rear-panel
Related
.
prev
4
PRINT
PULSE
or
OUT
PURGE
menu
f
5
Prin
WIDTH
f
CURRENT
FILE
f
Returns
ts the
displa
Adjusts
SOURCE
Erases
to the
on
y
the
connectors.
from
les
previously
Hewlett-P
a
pulse
default
DISPU
y
an
of
use
the
o
and
on
urns
T
Off
f
On
f
CAL
f
PWR
correction
er
w
o
p
ed
deriv
RATIO
RB/SPAN
f
resolution-bandwidth
Sp
and
oset.
ecies
span
Related
ratio
the
settings.
command:
een
w
et
b
Related
CALCOR
the
command:
eys.
ter.
prin
ADC SYNC
IGENPW
command:
user-calibration
RBR
for recalling
recall
Accesses a
recallffrom...
menu
Presents a menu for cataloging and changing
default memory.
RECALLfLIMIT
Loads a stored limit-line le into the limit-line
table. Related command: LIMIRCL
non-ASCI
MEMORY
RECALL
memory
f
Related
.
RECALLfSTATE
state le. Related command: R
RECALLfTRACE
Related command: R
Optical Spectrum
2-16
Loads
CLD
command:
R
Sets the instrumen
CLS
fALoads trace data from a le in
CLT
Analyzer
Functions
les
IDLP
t state to
memory
from
program
data
the settings sa
to trace A.
.
to
ternal
in
ved in a
RECALLfUSER
Loads a set of user-dened softkeys into the
menu. Related command: RCLU
4
USER
5
RECALLfUSERKEY
4
5
menu.
USER
-&fREF
Sets the reference level equal to the marker amplitude.
Loads a set of user-dened softkeys into the
Related command: MKRL
4
REF LEVEL
REFfLVL
5
Sets the reference level.
Species the reference level value at the reference-level
position. Related command: RL
REFfLVLfPOSN
Changes the reference-level position. Related
command: RLPOS
Related
the
Related
ecies
Sp
Displa
the
Man
left-side
righ
the
ys
resolution
ually
RB
LEFT
REL
f
bandwidth of
RIGHT
f
REL
command:
5
BW
f
BW
f
of
f
f
haracters.
c
Man
AutoMan
Related
bandwidth
RELATIV
Related
REPLACE
replacing
4
RES
RES
ltering.
ositions the
P
a signal.
ositions
P
signal.
a
Off
f
On
or...
ually
command:
LIMIREL
sets
mark
command:
marker
t-side
command:
e
relativ
SELECT
bandwidth
the
sets
RBR
and
measuring
for
er
MKAL
for measuring
MKAR
absolute limit-line
or
CHAR
f
softk
ltering.
resolution
bandwidth
the
ey for
the
alues.
v
RESTART
Performs an automatic MMS conguration routine.
Related command: STARTUP
RIGHTfPEAK
Moves a marker right on the display to the next
signal p eak. Related command: MKPK NR
the
on
t
righ
er
mark
es a
v
Mo
PIT
RIGHT
pit.
RMT
spectrum analyzer is b eing con
ROMfVERSION
(ROM). Related command:
f
Related
command:
MKPK
Front-panel indicator light that
trolled b
Displays the date code of the read-only memory
REV
Optical
NRPIT
turns on when the optical
y a computer o
Spectrum Analyzer
displa
next
the
to
y
ver the HP-IB.
Functions
signal
2-17
save
Accesses a menuforsaving traces, instrument states,
limit-lines, and user menu les to memory.
SAVEfLIMIT
Stores the contents of the limit-line table in a
limit-line le. Related command: LIMISAV and STOR
SAVEfMEMORY
Stores all non-ASCII, internal-memory,lesto
external memory. Related command: SAVED and STOR
SAVEfSTATE
Saves the current instrument state in a le. Related
command: SAVES and STOR
savefto
Presents a menu for cataloging or changing default
memory. Related command: STOR
SAVE
SAVET
SAVE
SAVE
le.
a
SELECT
SELECT
limit-line
4
SENS
SENS
TRACE
ff
and STOR
USER
f
USERKEY
f
Related
f
f
segmen
Sets
5
AutoMan
f
serivce
parameters,
A
f
Stores
command:
CHAR
Places
SEGMENT
t.
sensitivit
the
ts
Presen
module
the
trace
curren
the
Stores
Stores
SA
selected
ers
v
Mo
.
y
the
Sets
u
men
a
parameters, and
level
A
men
t
curren
and
VEU
haracters
c
limit-line
the
sensitivit
obtaining
for
in
u
t
y
le.
a
user
of
uof
men
STOR
Related
.
kno
mo
Related
at
editing
wledge
dule
command:
eys
softk
user-dened softk
displa
the
eld
command:
ab
HP-MSIB
a
in
yed
to the
out
le.
eys
cursor.
next
SENS
system
addresses.
in
SERVICEfREQUEST
showfstates
Enables the service request mode.
Displays a menu for obtaining current
instrument-state information.
LIMIT
f
TRK
f
SIG
functions.
signal-trac
king
SIGfTRKfOnfOff
Sets the
Keeps a mark
amplitude
Related
command:
display. Related command: MKTRA
SINGLEfSWEEP
Initiates one sw
Related command: SNGLS
SLOPE
Optical Spectrum
2-18
Determines limit-line in
Analyzer
terpolation.
Functions
ariation
v
tolerated
MKTV
ed signal at the cen
ter of the
CK
eep of the measuremen
b
range.
t
the
y
SMSRfOnfOff
Displays a trace showing the DFB laser's side mode
used to calculate SMSR.
SOURCEfOnfOff
HP 71451B Option 003 only
Turns on or o
the internal white light source. Related command: PDLSRCand
PDL SRC?
SPACE
1-&
Enters a space character.
SPAN
Sets the measurement span equal to the wavelength
separation of delta markers. Related command: MKSP
4
5
SPAN
SPAN
SPAN
measurement
SRQ
sp
4
ST
START
STARTUP
that
ST
State
and
Sets the wavelength span.
Sets the wavelength span. Related command: SP
elength
v
a
f
Fron
ectrum
5
ART
ccurs
o
TUP
AR
recalling
AutoMan
routine. Related
t-panel
analyzer
the
Sets
the
Sets
AutoMan
f
when
ts
Presen
les.
of
Changes
indicator
has
start
start
instrumen
the
men
a
the w
ligh
requested
elength.
v
a
w
elength.
v
a
w
trols
Con
instrumen
for
u
command: A
turns
that
t
service
from
Related
automatic
the
turned
is
t
conguration
t
UTOMSP
on
on.
set
span
when
computer o
a
command:
MMS
Related
automatic
the
y
b
optical
the
HP-IB.
ver
TWL
STAR
conguration
command:
the
and
sa
ving
STATE
Lists the
state of
current
measuremen
settings
t
under
operator control. Related command: DSPMODE STATE
STEP
STM/RESP
Executes DLP commands one at a time.
Selects instrument operation for performing
stimulus-response measurements. Related command: MEASURE
the
4
STOP
STOP
STOREfA
Sets
5
Sets the stop w
Stores the trace in temporary
STOREfTHRU-
stop
elength.
av
w
elength. Related command: STOPWL
av
Related
command:
memory.
&BStores the calibration response in
STOPWL
to trace B.
Related command: STORREF
Optical
Spectrum Analyzer
Functions
2-19
STPfBNDfOnfOff
bandwidth.
Displays a trace showing the DFB laser's stop
SWEEPfOnfOff
Turns the sweep on and o. Related command:
SWEEP
SWPTIME
Congures marker readouts in sweep time.
SWPTIMEfAutoMan
syncfout
Presents a menu for controlling an external pulsed
current source.
TAKEfSWEEP
THRESHD
Related command:
level.
TITLE
Displa
Related command:
ron
F
TLK
CENTER
LEVEL
REF
A
f
analyzer
ectrum
sp
4
TO
4
TO
el.
lev
trace
Updates the displayed trace in preselector mo de.
Off
On
f
f
men
ys a
TITLE
5
B
Mo
5
f
C
indicator
sending
is
the
es
v
es
v
Mo
Selects
t-panel
f
storing.
TRACE
traces
LENGTH
f
A, B,
and C.
Changes
Related command:
Sets the sweep time. Related command: ST
Blanks
traces
amplitude
an
w
elo
b
threshold
TH
used
u
v
a
w
amplitude
the
the
for
t
ligh
data
elength
activ
the
writing
turns
that
instructions
or
at
at
trace
e
b
um
n
messages
on
the mark
mark
the
for
trace
of
er
writing,
on
when the
er HP-IB.
v
o
cen
to
er
to the
er
pro
ts
oin
p
optical
screen.
ter
reference
cessing,
measured
displa
the
TRDEF
.
y
or
for
traceflinmath
Displays a menu of linear trace-math functions
that are for use when the optical spectrum analyzer's amplitude scale
is set to linear units.
traceflogmath
functions
amplitude
that
scale
TRACEfPRESET
Displays a menu of logarithmic trace-math
ectrum
are
when the
use
for
logarithmic units.
to
set
is
optical
sp
Resets trace functions to their
analyzer's
default state.
Related command: TRPST
Traces
Presents
TRANS-Z IN
a menu for con
Rear-panel input connector
trolling traces.
used in the photo detector
instrumentmode.
Optical Spectrum
2-20
Analyzer
Functions
TRIGGERfFREE
FREE
Selects free-run triggering. Related command: TM
TRNSZLKfOnfOff
Locks the optical spectrum analyzer's internal
transimpedance amplier. Related command: TRNSZLOCK
type
Selects the type of lines used for limit lines. Related command:
LIMITYPE
unitsfmenu
UPPER-&fAMPCOR
Selects the amplitude scale's units.
Stores an upper limit line as amplitude-
correction values for a specic wavelength range. Related command:
LIMTOCOR
UPPER
low
4
USER
f
er limit
5
Presen
USERCAL
command:
VERSION
er.
b
um
n
OFFSET
f
VERT
ys.
displa
AVG
f
VID
G
V
A
V
BW
f
VID
LOWER
Sp
lines. Related
ts the
PRESET
f
CAL
ys
Displa
Sets
On
command:
Off
f
Related
f
AutoMan
f
ecies whether
command:
4
USER
Erases
an
the
adv
u.
5
men
user
all
anced-measuremen
ertical
v
THREED
video
on
urns
T
sets
ually
Man
limit-line
the
LIMIHALF
calibration
of
oset
V
eraging.
v
a
video
the
data
Related
data.
program's
t
3-dimensional
Related
bandwidth
ersion
v
trace
command:
ltering.
er
upp
for
is
Related command: VB
or
VIDfLINfOnfOff
Displays or hides video-trigger lines. Related
command: VTDL
VIDEO
command:
VIDEO
Triggers zero-span sweeps using the input signal. Related
VID
TM
ecies
LEVEL
f
Sp
Related command: VTL
VIEWfA
Displays trace data that has
Related command: VIEW
VIEWfB
ys trace data that has been temp orarily stored.
Displa
Related command: VIEW
the trigger
Optical
triggering.
video
the
for
el
lev
been temporarily stored.
Spectrum Analyzer
Functions
2-21
VIEWfC
Displays trace data that has been temporarily stored.
Related command: VIEW
WfLIGHTfALIGN
Runs an automatic alignment for the ber
positioner's tracing table using a broad spectra light source (600 nm to
1700 nm). Related command: ALIGN
WARNINGfOnfOff
Displays or hides warning messages. Related
command: WARNCTRL
WATT
WAVELEN
WAVELENfFORfCAL
calibration. Related
WAVELEN
Selects linear amplitude units in watts.
Congures marker readouts in wavelength.
Enters the light source's wavelength for a user
OFFSET
f
command: CAL
Osets
the w
WL
elength
v
a
annotation.
Related
command: WLOFFSET
limit-line
the
to
in
urns
T
the
o
Related
elength
v
a
value
av
w
on or
use
elength
o
y
an
of
command:
range.
ternal
in
and
white
settings
the
user-calibration
CALCOR
Related
for
WAVELEN
Related
table.
Waveln
erforming
p
source.
t
CAL
f
ed
LIM
f
f
w
WHITE
ligh
WL
deriv
WL
VALUE
f
Displa
automatic
Off
f
On
Related
f
On
f
elength
v
a
f
On
f
En
command:
men
a
ys
measuremen
Option
command:
urns
T
Off
correction
Expands
Off
a
ters
LIMIWL
for
u
002
on
velength
a
w
hanging
c
only
LIGHT
and
oset.
the
ts.
w
command: WLLIMIT
WLfSTEPfAutoMan
Changes the center wavelength in increments.
Related command: SS
X
Used for entering values as a multiplier.
ZERO
drift.
Increases
Related
amplitude
command:
ZOOMfTOfRESfBW
y comp
accuracy
O
ZER
a signal in a 0 Hz span at the resolution
Views
b
ensating
bandwidth specied. Related command: ZOOMRB
Optical Spectrum
2-22
Analyzer
Functions
for
temp
erature

Programming Commands

The following pages are a compilation of all current programming
commands for the optical spectrum analyzer. More information
on each command can be found in the
ammer's
gr
o
is
Pr
tended
in
for
use
ctrum
e
Sp
reference
This
analyzer
nalyzer
A
programmer.
HP 71450B/1B/2B Optical
.
Guide
erienced
exp
the
y
b
optical
ectrum
sp
3
programming
a
ond
T
unctional
\F
to the
refer
according
wn in
sho
alphabetical
the
to similar
this
function.
index.
listing
information.
Contents
tions
en
v
tax
Con
Con
tions
en
v
Index
:
Notation
Syn
unctional
F
Programming Commands
command
Index,"
Once
for
:
::
:
:
:
:
:
:
particular
the
and
denition
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
a
commands
brief
a
found,
is
:
:
:
:
:
:
:
::
::
::
:
:
:
:
:
:
:
:
denition
and
::
::
:
::
::
:
:
:
:
refer
:
:
The
desired
the
further
::
:
:
:
::
::
::
:
:
:
:
:
that
whic
command
command
:
:
:
::
:
:
:
:
::
::
:
erforms
p
groups
h
command
:
:
:
:
:
:
:
:
:
:
:
:
:
:
::
::
:::::::::::::::::::::::::::::::::::::
function,
to
tax
syn
:
:
:
:
:
:
:
:
:
:
:
:
::
::
::
are
:
:
:
:
:
:
3-18
3-2
3-3
3-6
Programming
Commands 3-1
Notation Conventions
The following type styles and symbols found in this guide indicate the
following:
BOLD TYPE
CAPITAL
LETTERS
>
<
]
[
j
)
(
All characters appearing in bold type are keywords
and must appear exactly as shown.
All characters which are capital letters are
secondary keywords and appear within the keyword
syntax. They must appear exactly as shown, and
their meanings can be found in the \Secondary
Keyword Summary."
earing
Characters
considered
dened.
section
ecied
sp
Square
within
\or":
from
b
<
or
aren
P
e
b
to
app
to
Their
\Syn
with
brac
brac
the
Indicates
(for
list
a
but
>
theses
hosen
c
elemen
e
b
meanings
Conv
tax
eyword
the k
ets indicate
k
is optional.
ets
k
hoice
c
a
example,
oth.
b
not
used
are
from.
entions"
to
\underscore": Indicates
angular
in
ts
can b
that
of
<
clarify
that
brac
language
the
of
e found
unless
denition.
whatev
exactly
>
b
<
j
>
a
whic
space
a
in
otherwise
o
er
elemen
one
indicates
elemen
h
ust
m
eing
b
the
ccurs
e
b
t
>
<
a
are
ts
are
ets
k
placed at the indicated location (for example,
A<a>indicates that there must b e a space
between the keyword A and the element<a>.
::= \is dened as" (for example,<a>::=<b><c
indicates that
b
elements
<
><
replaced
e
b
can
>
a
<
statemen
y
an
in
>
c
b
where
t
<
series
the
y
occurs).
fg
Programming Commands
3-2
Curly brackets indicate that whatev
the brac
kets can ha
ve 0 or more repetitions.
er occurs within
>
of
>
a
Syntax Conventions
<
A-block data eld>is dened as #A<length><command list>(use
when the length of the command list is known).
<
A-block data format>is dened as #A<length><command list>.
<
amplitude unit>is dened as DBjDBMjDBMVjDBUVjMV
j
UVjVjMWjUWjW.
<
character>is dened as SP*-<=>@^
fjg
~! "#$% &'()
+,. /0123456789: ;ABCDEFGHIJKLMNOPQ
RSTUVWXYZ[n]? `jabcdefghijklm nopqrstuv
z
y
x
w
haracters.
c
of
haracter string
c
<
>
dened as
is
a list
ectrum
yte
%
j
an
5
j
j
y
&
TR
sp
semicolons.
by
optical
that
taining
con
j
'
j
<
j
C
ariable
v
7
j
6
j
optical
y
is
on
as
as
ariable
v
j
as an
dened
other
an
j
!
TRA
as
>
j
2
1
as
functions,
8-bit
$
j
"
TRB
j
predened
<
j
j
3
j
b
j
4
is dened
>
command
<
command
compatible
<
command
function
data
<
haracter
c
delimiter
<
destination
<
>
trace
digit
<
<
frequency unit>is dened as HZjKHZjMHZjGHZ.
<
I-block data eld>is dened as #I<command list>END; (use
list
list
or
function
that
its
in
>
yte
b
data.
>
>
user-dened
<
j
dened
is
>
commands separated
of
>
erates
op
tax.
syn
dened
is
dened
is
dened
is
as 0
analyzer
ectrum
sp
tains
con
is,
numeric
=
j
j
:
j
/
user-dened
trace
<
j
>
9.
j
8
j
analyzer
e
pr
or
@.
range
dene
when the length of the command list is not known).
teger
in
<
32768
0
<
key label
dened
is
>
through
>
is dened as 2 to 11 c
as
+32767.
a
ositive
p
or
haracters long
the FUNCDEF command. Choice of c
negativ
e
that is dened b
y
haracters A through Z and the
of
range
the
in
teger
in
underscore ( ). The underscore should be used as the second or third
character of the label. It is not recommended to
omit the underscore.
d
.
>
Programming
Commands 3-3
Note: The underscoreused as the last character in a FUNCDEF label
causes the optical spectrum analyzer to automatically use the<key
label>as the title for a user-dened key.
<
key number>is dened as<integer>from 1 to 14j<
trace
element>j<predened function>j<predened variable>j<user-dened
variable>.
<
lsb length>is dened as<data byte>representing the least
signicantbyte of a two-byte word that describ es the number of bytes
returned or transmitted.
<
msb length>is dened as<data byte>representing the most
signicantbyte of a two-byte word that describ es the number of bytes
er
>
unit
er
c
represen
names
transmitted.
dened
is
dened
is
>
function
returns
that
omp
c
called
ariable
v
dep
hange
ts
the
as
as
>
a
atible
>
ending
v
the
ariable.
v
<
as
dened
is
um
n
dened
is
alue
teger
in
MW
j
W
that
er
b
functions
the
on
the
of
real
<
j
>
UW
j
optical
an
as
can
.
the
as
curren
command
.
>
NW
j
sp
erated
op
be
alues of
v
instrument
t
function
PW.
j
ectrum analyzer
other
y
b
on
wing
follo
the
has
Eac
the
settings.
that
h
returned or
umb
<
n
ow
<
p
predened
<
command
commands
predened
<
ariables
v
ariable
v
same
,
MKP
RL,
TE,
A
VTL.
MKAR,
RB,
MKA,
LG,
USE,
A
ROFFSET,
DL,
MKPX,
CALPWR,
MKP
RLPOS,
<
real>is dened as positive or negative real number.
<
source>,<source 1>,and<source 2>are dened
as TRAjTRBjTRCj<
MKA
TH,
NST
VB,
MKT,
SS, ST,
SP,
MKTV,
user-dened trace>j<user-dened
MKAL,
CT,
MKN,
RBR,
variable>j<predened variable>j<trace range>j<number>[<units>].
dened as
is
>
unit
time
<
<
trace elemen
t>is dened
of trace A, trace B, trace C, or user-dened
element>are dened b
>
<
trace range
is dened as v
trace A, trace B, trace
S
alue con
as a v
y<trace range
alues con
tained in one trace poin
trace. V
>
.
tained in an
alues in<trace
y trace data of
C, or user-dened trace. The range is dened
t
US.
j
MS
j
by TRDEF. The range of the element can be032768 to +32767
Programming Commands
3-4
measurement units for logarithmic trace data; 0 to 10000 measurement
units for linear trace data.
<
user-dened function>is dened as 1 to 12 characters dened by
the FUNCDEF or ACTDEF command. Choice of characters is A
through Z, 0 through 9, and underscore ( ); rst character must be
a letter and numbers must be preceded by the underscore. Using an
underscore as the last character causes the label to be used as a key
label in the USER menu.
<
user-dened trace>is dened as 1 to 12 characters dened bythe
TRDEF command. Choice of characters is A through Z, 0 through 9,
and underscore ( ); rst character must be a letter and numbers must
underscore.
the
preceded b
be
y
<
user-dened
ARDEF
the V
by
through Z,
and
letter
elength
v
a
w
<
variable
or
0 through
ers
b
um
n
unit
m
>
>
CTDEF
A
and
9,
ust
dened
is
dened
is
command.
underscore
preceded b
be
as
M
as
j
1
(
y
MM
12
to
Choice
); rst
underscore.
the
UM
j
haracters
c
c
of
character
NM
j
dened
haracters
m
PM
j
is
ust
ANG.
j
A
a
e
b
Programming
Commands 3-5
Functional Index
Active-Trace Processing Functions
A0B!A AMB
A0C!A AMC
A0B+DL!A AMBPL
(A0B)0C!A AMBMC
(A0B)0C+DL!A AMBMCPL
A0C+DL!A AMCPL
A+B!A APB
A AMC
C
!
0
A
!
B
/
DL
2
A
DL
2
A
DL
2
A
DL
2
A
+
(A
Automatic
Automatic
Automatic
!
B
DL
0
B
Blank T
Clear
ter
Cen
Exchange
/
/
/
2
B)
C
!
race
rite
W
a
W
!
C
(A +
(A
DL
Measuremen
Measuremen
Ranging
B
elength
v
Traces
Lines
Maxim
Minim
um
Hold
Hold
um
Normaliation
Persistence Display PERSIST
Trace A Exchange Trace B AXB
Trace A Exchange Trace C AXC
Trace Data Input and Output TRA/TRB/TRC
Trace Dene TRDEF
race Displa
T
race
T
Trace
Video
View T
y
Preset
Status
erage
Av
race VIEW
er
ADBTL
ADCTL
APBTL
AD
APBPCTL
D
APBDCTL
UTOMEAS
A
UTOMMKR
A
UTORNG
A
A
A
A
B)
!
A
!
C)
+
B
+
A
!
C
/
t
at Mark
t
BTC
BML
BLANK
er
Mark
to
C
and
B
MK
BX
C
W
VR
O
W,
CLR
CWL
LINES
MXMH
MINH
NORM
TRDSP
TRPST
T
A
TRST
G
V
A
V
Programming Commands
3-6
Amplitude Correction AMPCOR
Amplitude Functions
Amplitude Correction to Limit Lines CORTOLIM
Amplitude Meter AMETER
Amplitude Units AUNITS
Automatic Measurement AUTOMEAS
Automatic Measurementin dB AUTOMDB
Automatic Measurement sensitivity control AUTOMOPT
Automatic Ranging AUTORNG
Chop Mode CHOP
Diraction Grating Order GRATORDER
Limit Line Data to Amplitude Correction LIMTOCOR
Linear Scale LN
Logarithmic Scale LG
Normalization NORM
RL
RLPOS
OFFSET
R
SENS
TRNSZLOCK
ADCTR
ADCTR
GRA
G
GDL
TORDER
MKBW
A
MKBW
RB
RBR
SENS
VB
ZOOMRB
y
edance
el
el
el
osition
P
Oset
k
c
lo
Reference Lev
Reference-Lev
Reference-Lev
Sensitivit
ransimp
T
Bandwidth
Select
ys
Dela
Diraction
Mark
Mark
Resolution
ADC
Grating
Bandwidth
er
Bandwidth
er
Bandwidth
trigger
Order
Amplitude
trigger
ADC
Resolution-Bandwidth/Span
Sensitivit
Video
Zo
y
Bandwidth
Resolution Bandwidth
om to
F
Ratio
unctions
Y
Adjust ber-p ositioner table ALIGN
Calibration Functions
Align to Preset Values ALIGNPRST
Amplitude Correction AMPCOR
Amplitude Correction to Limit Lines CORTOLIM
Automatic Alignment AUTOALIGN
Calibrate
Calibration
Calibration
Calibration
Correction
Data
P
Calibration W
actors CALCOR
F
er
ow
velength CALWL
a
CAL
CALD
CALPWR
Programming
TA
A
Commands 3-7
Limit Line Data to Amplitude Correction LIMTOCOR
Calibration Functions (continued)
Select Flatness Corrections CORSEL
Trace Zeroing AUTZERO
Zero Photodiode ZERO
Current Source: Output Limit IGENLIMIT
Current Generator Functions
Current Source: Pulse Mode DutyCycle IGENDTYCY
Current Source: Pulse Mode Pulse Width IGENPW
Current Source: Current Control IGEN
DisplayFunctions
Annotation ANNOT
Display Line DL
T
Graticule
Graticule
scrolling
Hold
Instrumen
t
Plot
Dimensional:
Three
Dimensional:
Three
Dimensional:
Three
Threshold
try
En
Title
rigger
T
Video
Distributed-F
erot
abry-P
F
abry-P
t-Emitting
erot
erot
Fabry-P
F
Ligh
w
Windo
Horizon
race
T
ertical
V
Lines
y
Displa
Downloadable
Laser
k
eedbac
DLP
Laser
elop
v
En
Laser
Threshold
Laser
DLP
de
Dio
Displa
tal
trol
Con
Display
Program
DLP
Bandwidth
e
y
unctions
F
Amplitude
GRA
TSCRL
GRA
HD
IWINDO
W
PLOT
THREEDH
THREED
THREED
TH
TITLE
VTDL
DFB
FP
FP
MKBW
FP
TH
LED
V
Position Left Power Integration Point WLMKRL
Position Power Integration Points to Amplitude AMPMKR
Position Right Power Integration Point WLMKRR
Programming Commands
3-8
Character Height CHEIGHT
Graphics Functions
Character Width CWIDTH
Clear Display CLRDSP
Dene Graphics Window DWINDOW
Delete Item DELETE
Display Grid GRID
DisplayMarker MK
DisplayVariable DSPLY
Dispose User Menu DISPU
Graph Trace GRAPH
Identify Item IT
Lines LINES
Line Type LINET
Lock Annotations O ANNOFF
Origin OR
Output
Do
en
P
Up
en
P
ersistence
P
Absolute
Plot
Relativ
Plot
ter
oin
P
Sound
Scale
Select
ext
T
En
Title
race
T
Item
View
Instrumen
wn
Displa
e
eep
b
a
Graphics
en
P
try
Conditions
t-Windo
y
P
w
arameters
OP
PD
PU
PERSIST
A
P
PR
TP
BP
SCALE
PEN
TEXT
TITLE
TRCOND
VW
Catalog CA
Information
Functions
TALOG
Conguration CONFIG
DisplayMode DSPMODE
Error ERR
Extended Error Query XERR
Identication ID
Programming
Commands 3-9
Information Functions (continued)
Instrument State STATE
Limit Line LIMILINE
Limit Line: Beep LIMIBEEP
Limit Line: Fail LIMIFAIL
Limit Line: Test LIMITEST
Memory MEM
Message MSG
Module Address MODADD
Module Identication MODID
Plot PLOT
Return Display-Mode Text DSPTEXT
Return Reported Warnings WARN?, XWARN?
Revision REV
Self Test TEST
er SER
b
Num
Serial
Byte
Status
Mo
eep
Sw
Status
race
T
Error
User
Message
User
arning
W
User
arning
W
ate
Activ
to Preset
Align
Chop Mo
Memory
Erase
Instrumen
Instrument
Instrumen
Line:
Limit
de
Report
trol
Con
Instrumen
ransimp
T
V
de
de
Mo
t
Preset
State
t
Recall
edance
alues
t-State
Input
STB
SWPMODE?
TRST
USERERR
USERMSG
USER
WARNCTRL
unctions
F
XAMPSW
ALIGNPRST
CHOP
ERASE
INSTMODE
IP
TE
A
ST
LIMIR
A
W
CL
T
ARN
Load LOAD
Measure Photodiode PDMEAS
Number of State Registers NSTATE
Optical Switch OPTSW
Partial Erase PERASE
Power-On State POWERON
Programming Commands
3-10
Instrument-State Functions (continued)
Preset User-Dened Keys KEYPST
Protect State PSTATE
Recall State RCLS
Stwrt-up Conguration STARTUP
Save State SAVES
Sweep Control SWEEP
Trace Preset TRPST
User-Key Lock USERLOCK
White Light Source LIGHT
Limit-Line Functions
Limit Line LIMILINE
Limit Line: Amplitude LIMIAMP
Limit Line: Beep LIMIBEEP
Line:
Limit
Line:
Limit
Line:
Limit
Line:
Limit
Line:
Limit
Line:
Limit
Line:
Limit
Line:
Limit
Line: Segmen
Limit
Line:
Limit
Line:
Limit
Line: W
Limit
Next Limit
Limit
Scroll
Bottom
Select
Delete
Editing
Done
Editor
Half
Recall LIMIR
e
Relativ
e
v
Sa
t
Segmen
T
T
Line
Line
est
yp
v
a
Limit
t
e
elength
Segmen
Segmen
Delete
t
ts
Line
Segmen
LIMIDEL
LIMIDONE
LIMIEDIT
LIMIHALF
LIMIREL
LIMISA
LIMISEG
LIMISDEL
LIMITEST
LIMITYPE
LIMIWL
LIMINEXT
LIMISCRL
LIMIBOT
t
CL
V
unctions
F
er
Mark
Displa
y
Mark
er
MK
Marker Active MKACT
Marker Amplitude MKA
Marker Amplitude Left MKAL
Marker Amplitude Right MKAR
Marker Bandwidth MKBW
Marker Bandwidth Amplitude MKBWA
Programming
Commands 3-11
Marker Continue MKCONT
Marker Functions (continued)
Marker Delta MKD
Marker Minimum MKMIN
Report active delta marker MKDACT?
Set reference marker frequency MKDREFF
Set reference marker amplitude MKDREFA
Set reference marker bucket MKPABS
Marker Noise MKNOISE
Marker Normal MKN
Marker O MKOFF
Marker Position MKP
Marker Pause MKPAUSE
Marker Peak MKPK
Marker Peak Excursion MKPX
Excursion MKPITX
Pit
er
Mark
Size
MKREAD
MKSP
MKSTOP
MKSS
CWL
MK
MKRL
MKT
MKTRA
MKTRA
MKTV
MKTUNE
MKTYPE
MKWL
ZOOMRB
CE
CK
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Mark
Marker
Mark
om
Zo
Readout
er
Span
er
Stop
er
to Cen
er
to
er
to
er
Time
er
race
er T
rac
T
er
rac
T
er
une
er T
yp
T
a
W
er
Resolution
to
ter W
ter
Cen
Reference
king
V
king
e
elength
v
elength
v
a
elength
v
a
W
Lev
ariance
Bandwidth
Step
el
B
0
A
A0C!A AMC
A0B+DL!A AMBPL
(A0B)0C!A AMBMC
(A0B)0C+DL!A AMBMCPL
A0C+DL!A AMCPL
A+B!A APB
C
0
A
DL
2
A
2
DL
A
DL
2
A
A2DL / (A + B + C)
(A + B)
Programming Commands
3-12
!
!
A
A
B
/
C
/
(A
/
2
Math
A
!
A
!
B)
+
DL / C
unctions
F
e
v
Mo
and
AMB
AMC
ADBTL
ADCTL
APBTL
A
!
!
!
A ADAPBPCTL
A ADAPBPCTL
AD
Absolute ABS
Math and MoveFunctions (continued)
Add ADD
Amplitude Units AMPU
Average AVG
B!C BTC
B0DL!B BML
Bit BIT
Compress COMPRESS
Concatenate CONCAT
Convert to Position Units POSU
Divide DIV
Exchange XCH
Exchange Traces B and C BXC
Exponent EXP
ransform FFT
ourier T
F
ast
F
teger
In
Logarithm
um
Maxim
Mean
Measuremen
um
Minim
dulo
Mo
ve
Mo
Multiply
eaks
P
Bandwidth
er
ow
P
Probability
ot
Mean
T
Ro
y
race
Deviation
Probabilit
Ro
Smooth
Square
Standard
Units
t
Distribution
Distribution
Square
ot
of
T
of
of
race
Amplitude
elength
v
a
W
Amplitudes
INT
LOG
MXM
MEAN
MEASU
MIN
MOD
V
MO
MPY
PEAKS
PWRBW
A
PD
WL
PD
RMS
SMOOTH
SQR
STDEV
Subtract SUB
Sum SUM
Sum of Square SUMSQR
Trace A Exchange Trace B AXB
Trace A Exchange Trace C AXC
Trace Data Input and Output TRA/TRB/TRC
race
T
ariance
V
Video
Window
Average
TWNDO
V
V
W
ARIANCE
G
V
A
Programming
Commands 3-13
Catalog CATALOG
Memory UtilityFunctions
DisplayMode DSPMODE
Dispose DISPOSE
Erase Memory ERASE
Format FORMAT
Limit Line: Recall LIMIRCL
Limit Line: Save LIMISAV
Load LOAD
Mass Storage Interface MSI
Memory MEM
Number of State Registers NSTATE
Partial Erase PERASE
Prex PREFX
Protect PROTECT
TE
A
t
PST
PUR
RCLD
CLS
R
T
CL
R
CLU
R
DSPTEXT
VED
SA
VES
SA
VEU
SA
STORE
VET
SA
A
UST
unctions
F
PDLSCALE
PDLREV
GE
TE
(Option
Protect State
File
Purge
Recall
Recall
Recall
Recall
Return
v
Sa
v
Sa
v
Sa
Store
Store
User
olarization
P
PDL:
PDL:
wn-Loadable"
\Do
State
race
T
User
Displa
wn-Loadable"
\Do
e
State
e
Keys
User
e
File
race
T
State
Auto-scale
Calculate and
PDL: Displa
Keys
de
y-Mo
enden
Dep
During
y Revision
Programs
ext
T
Programs
t
Measuremen
Display
Numb
(DLP)
(DLP)
(PDL)
Loss
PDL PDLCALC
er
PDL: Initialize Measurement PDLINIT
PDL: Light Source On/O PDLSRC
PDL: Query Detector Type PDL DEV?
PDL: Return Light Source Status PDL SRC?
PDL: Return Revision Number PDL REV?
PDL: Select Detector Type PDLDEV
PDL:
PDL:
Start
erminate
T
Measuremen
PDL Program
t
PDL
PDLEXIT
003
only)
Programming Commands
3-14
Program-Control and Interrupt Functions
Abort ABORT
Clear Status Byte CLS
Debug DEBUG
Done DONE
Enter Via HP-IB ENTER
If/Then/Elsif/Else/Endif IF/THEN
On Marker Pause ONMKR
On Menu Keypress ONMENU
On User Keypress ONUSER
On Window Recreation ONWINDOW
Output Via HP-IB OUTPUT
Pause PAUSE
Release HP-IB RELHPIB
Repeat/Until REPEAT/UNTIL
QS
unctions
F
unctions
F
R
RETURN
Q
SR
STB
TS
TIME
AIT
W
XAMPSW
CONTS
OPTSW
ADCTR
G
GDLY
GSYN
Request Service
Return
Request
Service
Byte
Status
T
Time
W
ak
ait
Sw
e
Stamp
eep
Signal-P
ransimp
T
ate
Activ
Sw
uous
tin
Con
Optical
Select
ys ADC
Dela
Sets ADC
h
Switc
eep
Sw
trigger
ADC
trigger ADCTR
SYNC OUT
Conditions
edance
eep
and
ath
Input
rigger
T
status ADCTR
Fetch FETCH
Single Sweep SNGLS
Sweep Control SWEEP
Sweep Time ST
TakeSweep TS
Time-Gated Measurements GATESWP
rigger
T
Video
Video
de
Mo
Hysteresis VTH
rigger
T
el VTL
Lev
rigger
T
TM
Stimulus Resp
onse Measurements
Normaliation NORM
Select optical
input SRINPUT
Programming
Commands 3-15
Trace Data Input and Output
Fetch FETCH
Load LOAD
Measurement Data Size MDS
Recall Trace RCLT
Store File STOR
Store Trace SAVET
TakeSweep TS
Trace Data Format TDF
Trace Data Input and Output TRA/TRB/TRC
Stimulus Response and Source Functions
A0B!A AMB
A0C!A AMC
Measure Mode MEASURE
Store Reference
User-Denition
Activ
Activ
Clear
Dene
Dene
Dene
Dene
Displa
arameter
P
e
User-Dened
unction
F
User-Dened
User-Dened
Key
User
de
Mo
y
unction
F
e
Load
Memory
On-End-Of-Sw
ause
P
er
Mark
On
On
On
On Windo
Keypress
u
Men
User Keypress
w Recreation
eep
Men
Keys
Key
ariable
V
us
STORREF
unctions
F
CTDEF
A
CTP
A
KEYCLR
FUNCDEF
KEYDEF
ARDEF
V
USERKEY
DSPMODE
AD
LO
MEM
ONEOS
ONMKR
ONMENU
ONUSER
ONWINDOW
ARM
Prex PREFX
Preset User-Dened Keys KEYPST
Readmenu READMENU
Store File STOR
Trace Dene TRDEF
User Error Report USERERR
User-Key
Message
User
State
User
Lo
k
c
USERLOCK
USERMSG
TE
A
UST
Programming Commands
3-16
Automatic Measurement AUTOMEAS
Wavelength Functions
Automatic Measurement of Final Span AUTOMSP
Automatic Measurement sensitivity control AUTOMOPT
Center Wavelength CENTERWL
Center-Wavelength Step Size SS
Convert Trace Position to Wavelength WLUNITS
Diraction Grating Order GRATORDER
Full Span FS
Limit Line: Wavelength LIMIWL
Marker Bandwidth MKBW
Marker Bandwidth Amplitude MKBWA
Marker to Center Wavelength MKCWL
Marker Tune MKTUNE
Marker Wavelength MKWL
TWL
AR
Start W
W
Stop
elength
v
a
W
elength
v
a
W
elength
v
a
W
elength
v
a
elength
v
a
Oset
Span
Limit
Range
ST
STOPWL
WLOFFSET
SP
WLLIMIT
Programming
Commands 3-17
Programming Commands
ABORT
;
Stops execution of a user-dened function and returns control to
the normal command input level.
ABS<destination>,<source>;
Does a point-by-point absolute value of the source variable or
trace and stores the result in the destination variable or trace.
ACTDEF<function name>,<delimiter><text for active
function readout
ABSM
j
>
unit
Stores
e
lik
CTP
urns
T
line
<
Query
APBTL
function
g
>
a
an
ARM
the
n
resp
dened
routine
A
AD
Divide
ultiply
m
><
j
DBM
j
S
routine
delimiter
<
user-dened
function.
e
activ
(
0))
j
(1
displa
>
er
b
um
onse:
(
(OFF
the displa
result
the
delimiter>,<initial value>,(<wavelength
delimiter
<
)
>
units
<
j
STEP
j
INT
j
j
A
j
W
user-dened function
f
<
>
;
>
er
b
um
n
<
,
>
that
,
o.
or
on
B
and
A
B)).
+
j
y
::=
<
j
ON
y
[
<
of
c
line
function,
n
line
activ
the
2,
1,
0,
haracter
1))
j
0
j
y
b
ytrace
b
um
?;
j
the
3,
in
>
er
b
parameter
e
4
string
sum
A(A
ternal
in
]?;
>
of
*DL
memory
area
traces
/(A
><
op
and
user-
erates
then
ADAPBPCTL
((OFFjONj0j1))j?;
Divide the display line by the sum of traces A, B, and C and
then multiply the result by trace A (A * DL / (A + B + C)).
ADBTL
((OFFjONj0j1))j?;
Multiply
trace
then divide
alue,
v
line
y
displa
the
y
b
A
B.
ADCTL
((OFFjONj0j1))j?;
Multiply trace A b
y the displa
ylinev
alue, then
divide b
C.
ADCTRG
(
(FREEjPOSEDGEjNEGEDGEjAC))j?;
Selects the source of the ADC trigger.
Query response: FREEjPOSEDGEjNEGEDGEjAC
Programming Commands
3-18
trace
y
b
y trace
ADCTRGDLY((<
number>[<seconds>]j(EPjOAjDNjUPjAUTOjMAN))j?;
Delays ADC triggering.
Query response:<number
>
ADCTRGSYN
Sets status of
((AUTOjONjOFF))j?;
ADC SYNC OUT
during active (non-free) ADC
trigger mo des.
Query response: AUTOjONjOFF
ADD<destination>,<source 1>,<source 2>;
Adds the sources and sends their sum to the destination.
?;
to
t
eac
from
j
WHITE)
j
factory
the
eep.
sw
h
trace A
calibration
( A-(B+C)
resp
the
resp
UTOPTS
er-p
b
onse:
;
mono
ON
j
trace
onse:
ALIGN((A
Adjusts
Query
ALIGNPRST
Sets
alues.
v
AMB((OFF
Subtract
Query
AMBMC((OFF
oth
Subtract
AMBMCPL
b
((OFFjONj0j1))j?;
MANUAL
j
ositioner
UTOPTS
A
hromator's
c
?;
j
1))
j
j
0
from trace
B
1
0
j
1))
j
0
j
ON
j
B
trace
trac
j
and
?;
WHITE))
j
table.
king
MANUAL
j
alignmen
with
A
C
trace
Subtract b oth trace B and trace C from trace A, then add the
display line ( (A-(B+C))+DL ).
).
AMBPL
AMC
((OFFjONj0j1))j?;
Subtracts
dierence,
Query resp
trace
and
onse: 0
((OFFjONj0j1))j?;
from trace
B
sends
j
1
the result
A,
adds
to
trace
the
displa
A.
alue
v
line
y
Subtracts trace C from trace A and sends the result to trace A.
j
Query response: 0
1
Programming
Commands 3-19
to
the
AMCPL
((OFFjONj0j1))j?;
Subtract trace C from trace A, then add the display line (
(A-C)+DL ).
AMETER
( (OFFjONj0j1))j?;
Enables a readout of the amplitude of the blank-ahead marker in
the display's message area.
Query response:<number
AMPCOR((<
wavelength>[<wavelength
>
unit>],<amplitude>[DB]f,<wavelength>[<wavelength
unit>],<amplitude>[DB]gjOFFjON))j?;
elengths.
>
units
]
>
av
L
f
<
F
ts to
oin
p
command.
amplitude
to
trace.
predened
<
j
function
velength
a
w
the
>
<
j
DB);
j
o
p
t
the
of
LED
the
trace
measuremen
of
amplitude
<
[
>
ariable
v
>
data
>
w
p
Applies
Query
<
AMPMKR
P
sp
Ma
AMPU
Conv
based on
<
variable
element
<
amplitude-correction
elength
av
<
resp
amplitude
ositions
y
only
<
on
source
ecied
erts
>
source
>
onse:
>
n
<
the
e
b
source
the
::=
<
j
w
g
(X
>
er
b
um
and
left
side
either
with
used
reference
<
[,
>
alue
v
condition
trace
er
b
um
n
<
user-dened
righ
from
>
reference trace>::= TRAjTRBjTRCj<
Query response:<number
at sp
amplitude
,
<
tegration
in
er
eak.
do
?;
j
]
>
reference
the
predened
j
>
ecied w
wnloadable
t
unit
user-dened trace
alue
v
units
trace
>
>
,
ANNOFF
;
Turns o all display annotation.
ANNOT((OFF
the
urns
T
j
displa
annotation
y
on
or
o.
IP
?;
j
1))
j
0
j
ON
annotation.
j
Query response: 0
APB
;
1
Adds traces A and B, then sends the result to trace A.
Programming Commands
3-20
turns on
the
APBDCTL
((OFFjONj0j1))j?;
(A+B) * DL / C)
AUNITS
((AUTOjMANjDBMjW))j?;
Species the amplitude units for input, output, and display.
Query response: DBMjW
AUTOALIGN
;
Automatically realigns the output ber of the optical spectrum
analyzer's mono chromator with the output b eam.
AUTOMDB((<
ertical
v
Sets
Query
UTOMEAS
A
resp
Automatically
analyzer's
UTOMMKR
A
Causes
to
signal
Query resp
AUTOMOPT((OFF
Control
AUTOMSP((<
number>[DB]jDNjUPjEPjAUTOjMAN))j?;
scale after
<
onse:
the automatic
er
umb
n
>
measurement
;
at
zo
om
in
on
largest
signal
input.
?;
j
1))
j
0
(
(OFF
automatic
the
curren
the
onse:
sensitivity
j
ON
j
measuremen
mark
t
1
j
0
1))
j
0
j
ON
j
optimization
er.
j
?;
routine
t
during
the
number>[<wavelength
procedure.
ectrum
lo
cate
sp
the
optical
to
automeasure
unit>]jDNjUPjEPjAUTOjMAN))j?;
Determines the nal wavelength span set by the automatic
measurement routine.
Query response:<number
>
closest
routine.
UTORNG
A
(
Determines
(0).
Query response: 0
(OFF
whether
j
ON
j
automatic
j
1
?;
j
1))
j
0
disabled
or
ranging
Programming
enabled
is
(1)
Commands 3-21
AVG<destination>,<source>,<average ratio>;
Computes the average value of the source and the destination
and places the value in the destination using the following:
(
new destination
<
average ratio>::=<number>j<predened variable>j<user-
averag e ratio01) (
=
old destination+source
averag e ratio
dened variable>j<predened function>j<trace
element
AXB
Exc
AX
Exc
BIT
Returns
;
hanges con
C
;
hange con
destination
<
>
the
tents
ten
sp
ts
<
,
>
ecied
trace
of
trace
of
source
bit
of
B.
trace
and
A
C.
trace
and
A
;
>
er
b
um
bit n
<
,
>
the
in
1
or
a0
the
source
as
destination.
source
C);
sp
line
>
ecied
from
trace.
trace
the
sends
and
B
bit
<
BLANK
Stores
;
BML
Subtracts
um
n
(TRA
and
er
b
blanks
the
>
TRB
j
displa
::=
<
TR
j
the
y
trace B.
result
)
to
BP
;
Send the \beep" command to the display.
BTC
;
C.
trace
to
B
trace
ts of
ten
(ALL
con
jWLj
tents of
PWR);
trace B and trace C.
which calculate and apply
ransfers
T
;
C
BX
Exchanges con
CAL
Executes error-correction routines
oset values that compensate for instrument anomalies.
Programming Commands
3-22
CALCOR
(ALLjWLjPWR),(0j1jOFFjONj?);
Enables or disables correction factors computed by the CAL
command.
Query response: 0j1
CALDATA
(FIRSTjSECOND)?;
Queries the optical spectrum analyzer for the factory supplied
calibration data for the rst or second grating order. The
calibration data returned is determined by the INSTMODE
setting.
Query response:<wavelength>,<amplitude
unit
er
w
o
p
<
j
[DBM
>
er
b
um
n
the
<
calibration
the
of
er
w
o
p
CALPWR((
ecies
Sp
>
j
DN
]
>
reference
j
UP
used
j
EP))
y
b
the
j
?;
command.
<
>
ber
<
catalog
<
um
n
<
(
a
w
num
w
<
[
used
num
in
haracter
c
>
er
b
elength
v
elength
v
a
calibration
y
b
>
er
b
condensed
a
string
av
w
<
[
of
>
j
]
>
unit
format.
L
f
>
<
F
elength unit
measuremen
UP
j
DN
routine.
haracter
c
j
DN
>
]
range.
t
EP))
j
UP
j
?;
j
string
EP))
j
>
onse:
WL
ecies
ALOG
T
(
the
resp
<
(
resp
?;
the
resp
WL
cen
um
n
velength
a
w
onse:
onse:
(
ter
Query
CAL
Sp
Query
CA
Returns
Query
CENTER
Sets
Query response:<number
CHEIGHT
?;
>
er
b
Computes and returns the character heightasapercentage of the
window
Query
height.
resp
onse:
>
er
b
um
n
<
CAL
g
?;
j
CHOP
((OFFjONj0j1))j?;
The CHOP command enables the c
than 40 seconds.
j
Query response: 0
1
hop mo de for sw
Programming
Commands 3-23
eeps greater
CLRDSP
;
Removes all optical spectrum analyzer graphics from the display
and its memory.
CLRW
(TRAjTRBjTRC);
Clear-writes the specied trace.
CLS
;
Sets all bits in the status-byte register to 0.
COMPRESS<trace destination>,<trace
SMP);
j
POS
j
G
V
,(A
>
source
source
the
of
y
compressed
Stores
a
destination
trace
cop
according
to
the
ecied
sp
algorithm.
destination
trace
<
TRB
j
TRA
CONCAT<
Concatenates
in
y
arra
destination
trace
<
range
trace
<
CONFIG
?;
Returns
indicating
TR
j
trace
the destination.
series
a
mo
>
user-dened
<
j
C
destination
source
>
>
of
mo
dule
2
::=
ASCI
del
to the
TRA
strings,
I
um
n
>
<
,
end
b
j
trace
TRB
ers
source
of
j
separated
and
>
source
TR
source
trace
<
::=
addresses.
Query response:<character string
>
trace in
::=
>
trace
<
j
<
,
>
1
<
j
C
their
user-dened
a smaller
compression
>
range
;
>
source
1,
2
stores
then
y carriage
b
corresponding
the
>
trace
returns,
MSIB
new
j
CONTS
;
Selects continuous sweep mo de. Selected with IP.
Programming Commands
3-24
CORSEL
((0j1j2j3))j?;
Selects which atness correction table will be applied to the
measurement data.
0 ::= Applies both diode and grating atness correction tables.
1 ::= Applies only diode atness correction table.
2 ::= Applies only grating atness correction table.
3 ::= Applies no atness correction tables.
Query response: 0j1j2j3
CORTOLIM
(UPPERjLOWER);
Transfers AMPCOR data to the specied limit line.
CWIDTH
Computes
windo
Query
DEBUG((OFF
Is
sp
Query
DELETE
Deletes
memory
?;
width.
w
resp
troublesho
a
ectrum
resp
;
curren
.
returns
and
onse:
ON
j
oting
analyzer
onse:
tly
the
b
num
<
FAST
j
aid for
programs.
F
j
OFF
selected
c
>
er
SLO
j
AST
graphics
haracter
1))
j
0
j
W
cating
lo
W
SLO
j
width
?;
j
fault
item
y
from
as
syn
ercen
p
a
tax
displa
in
y
tage
optical
and
of
the
Programming
Commands 3-25
DFB
[(?jBjCjOjQjZ)];
Starts the DFB (distributed-feedback) laser characterization
measurementdownloadable program.
Query response:<peak wavelength>,<wavelength oset>,<stop
band>,<center oset>,<side mo de suppression ratio
(SMSR)>,<peak amplitude>,<bandwidth>,<bandwidth
amplitude
>
Note
When using the DFB command, the rst underscore
()must be inserted as an underscore. The rst
underscore do es not represent a space when using
ou
y
<
j
>
ALL);
j
whic
is
the
not
do
delimiter
is
h
DISPOSE
ariable
>
trace
>
dened
v
string
Clears
erator
op
DISPU
oses of
Disp
<
(
>
ONEOS
j
delimiter
<
or
all
use.
num
<
command.
this
and
space
a
a
just
y
b
the
from
user-dened
user-dened
<
j
AMP
j
c
<
j
>
in
of
part
;
>
ber
user men
us.
The
our
y
semicolon
elemen
of
list
function
<
j
COR
haracter
memory
ternal
underscore
hoice
c
if
(;)
ts.
<
j
>
b
um
n
string
from
user-
er
>
,
DIV<destination>,<source 1>,<source 2>;
Divides source 1 by source 2, then sends the result to the
destination.
PW]
j
j
NW
US
j
MW
j
W
j
DB
j
[DBM
>
er
umb
n
<
DL((
line.
y
displa
the
of
el
lev
display
the
trols
Con
dBm.
are
Query response:
and
<
number
>
follo
list
reserv
DN
j
ed
w
elemen
of
e
mak
><
ed
UP
j
Default
either
y
b
ts
hoice
c
a
haracter
c
for
j
OFF
j
units
or
ON
j
EP))
?;
j
DONE
?;
Returns a 1 to the con
efore the DONE command ha
b
Query response:<number
Programming Commands
3-26
troller when all commands encoun
ve executed.
>
tered
DSPLY<displayvariable>,<eld width>,<decimal places>;
Displays the currentvalue of a variable on the CRTatthe
current position of the graphics pen.
<
displayvariable>::=<eld width>::=<decimal places>::=
<
number>j<predened variable>j<user-dened variable>j
<
predened function>j<trace element
>
DSPMODE
((CATjCONFIGjEXTENDjNORMALjPAGEjSTATE))j?;
Displays catalog of user-memory contents by listing descriptions
of system or mo dule congurations on the display.
Query response: CATjCONFIGjEXTENDjNORMALjSTATE
TE)?;
A
ST
>
string
>
trace
graphics
x
<
umb
n
TR
j
j
information
el
length
y
<
,
);
>
that
y
displa
min
>
predened
<
j
er
>
function
<
user-dened
C
j
rep
.
::=
according
x
<
,(
>
ositions,
max
x
<
trace elemen
j
<
>
>
min
magnies,
::=
>
ariable
v
trace
DSPTEXT
Returns
y
displa
Query
WINDO
D
,
>
max
>
min
y
<
Denes
reduces
or
length
x
<
min
y
<
user-dened
<
reference
<
(CA
system-lev
de
mo
onse:
resp
W
(ON
max
y
,
<
alternate
an
graphics
::=
>
::=
>
trace
CONFIG
j
T
ecied.
sp
<
OFF)
j
<
j
)
>
y
<
max
y
<
ariable
v
::=
>
EXTEND
j
mo
or
el
character
x
(
<
j
reference
for
scale
the
on
>
length
::=
>
<
j
>
TRA
dule-lev
length
analyzer
::=
<
predened
TRB
j
ENTER<HP-IB address>,(KjBjW),<destination>;
Establishes the analyzer as a controller on HP-IB.
<
HP-IB address>::=<number>j<predened
variable>j<user-dened variable>j<predened function>j<trace
>
elemen
<
<
t
destination
user-dened
>
v
<
::=
ariable
trace
>
elemen
<
j
>
t
predened
variable
>
the
to
x
<
,
j
>
t
>
>
j
ERASE
;
Erases all memory including an
OTECT command.
or PR
y items protected b
Programming
y the PST
ATE
Commands 3-27
ERR
?;
Returns numeric co des that describe the nature of any reported
errors.
Query response:<number>f,<
number>g
EXP<destination>,<source>,<scaling factor>;
Divides source by scaling factor, raises this quotientbya power
of 10, then sends the result to the destination.
<
scaling factor>::=<number>j<predened variable>j<user-
dened variable>j<predened function>j<trace
element
>
FETCH
FFT
FFTKNL<real
?;
Returns
Query
erforms
P
stores
trace.
with
destination
<
<
user-dened
Performs
the
resp
destination
<
a
log
the
Before
TWNDO
the
a 16-bit
onse:
equal length,
tents
con
<
>
discrete
the
of
executing
::=
>
trace
trace
erla
ov
of trace
data
source
<
,
fast
magnitude
command.
W
source
<
>
<
,
>
discrete
ying
data to
>
byte
windo
<
,
>
fourier
a
FFT,
::=
>
imaginary
fourier
with
them
the con
>
w
transform
result
the
of
windo
trace
windo
<
>
trace
transform
results.
the
troller.
;
source
the
on
destination
the
in
e
b
ust
m
w
TRA
::=
>
w
;
traces
o
w
t
on
resulting
The
traces represent the real and imaginary comp onents of one
complex trace. Scaling, clipping, and so on, must b e done by
user.
<
real trace>::=<imaginary trace>::= TRAjTRBjTRC
<
user-dened trace
;
ormats
F
T
ORMA
F
and
erases
>
the
curren
tly
selected
memory
device.
trace
dened
TRB
j
of
j
TR
j
and
C
j
Programming Commands
3-28
FP
[(?jBjCjGjKjLjOjQ)];
Starts the FP (Fabry-Perot) laser characterization measurement
downloadable program.
Query response:<peak wavelength>,<mean
wavelength>,<mode spacing (M)>,<mode spacing
(Hz)>,<full-width, half-maximum (FWHM)>,<peak
amplitude>,<total power>,<sigma
>
Note
FP MKBW((
the
Sets
Query
FP TH((
or
Sets
signals
only
y
Ma
Query
Note
When using the FP command, the rst underscore
()must be inserted as an underscore. The rst
underscore do es not represent a space when using
this command. The underscore is followed byeither
of
list
the
from
hoice
c
our
y
y
n
b
just a
um
er
and
semicolon (;)
list
the
>
er
b
laser
erot
b
um
n
<
j
[DB
>
Fabry-P
threshold
with
b
um
n
<
of
[DB
er
X]
the
er
>
j
>
elements.
DN
j
X]
j
elop
v
en
UP
j
DN
laser
erot
used
are
FP
do
ou do
if y
EP))
j
UP
j
bandwidth
e
?;
j
EP))
j
threshold
the
in
wnloadable
mak
not
?;
j
amplitude.
amplitude.
calculations.
command.
aspace
b
from
<
abry-P
F
onse:
resp
num
<
queries the
ethe
ov
ab
used
e
b
onse:
resp
When using the FP TH command, the underscore
()between FP and TH must be inserted as an
underscore. The underscore does not represent
a space when using this command. The FP TH
commnad is followed by either a space and your
question
a
ts,
elemen
of
list
just
the list
the
semicolon
a
elemen
of
(;)
ts.
mak
not
do
ou
y
if
hoice from
c
by
or
from
elemen
c
a
e
mark
ea
ts
hoice
All
hoice
c
or
(?),
FS
;
Activates the widest measuremen
setting start and stop w
avelengths to their minim
maximum values.
t range allow
Programming
yhardw
ed b
um and
Commands 3-29
are,
FUNCDEF<user-dened function name>,((<string data
eld>j<A-block data eld>);j<
I-block data eld>)
Denes a list of analyzer commands that are executed whenever a
user-dened function is encountered.
Query:<user-dened function name>?;
Query response: #A<msb length><lsb length><data byte[s]
>
GATESWP
( (OFFjONj0j1))j?;
Enables time-gated measurements.
Query response: 0j1
);
trace
GRAPH
Displa
(
T
GRA
urns
T
Query
TORDER
GRA
Selects
diraction
MAN mo
(TRA
stored
ys
j
(OFF
graticule
the
onse:
resp
reection
grating.
de
TRB
j
trace data,
j
0
j
ON
0
(
UTO
(A
order
the
ks
c
lo
j
TR
1))
1
j
C
j
?;
on
j
optical
or
MAN))
<
user-dened
j
resized to
o.
optical
of
sp
turns
IP
?;
j
sp
ectrum
ectrum
>
a dieren
the
on
analyzer's
analyzer
t scale.
graticule.
rst-order
to
in
ternal
in
defraction grating.
AUTO
mo
de
allo
ws
either
rst-order
second-order
or
defraction
grating.
optical
Query returns
a resp
onse
indication
whether
of
the
spectrum analyzer is using rst-order or second-order defraction
grating.
Query response: 1j2
GRATSCRL
Con
((OFFjONj0j1))j?;
ositioning
p
the
trols
of
the
displa
ed
y
horizontal
graticule
lines.
GRID<x dimension
>,<
y dimension
>,<
Draws a grid with the dimensions and # of bo
and has its origin placed as specied b
>
<
x dimension
<
xes>::=<number
#y b o
>
::=<y dimension
>j<
::=<#x b o
predened variable>j<user-dened
variable>j<predened function>j<trace element
Programming Commands
3-30
xes>,
#x bo
y the OR
xes>;
#y b o
<
xes as indicated
command.
xes>::=
>
HD
;
Blanks the active function readout and disables data entry.
Selected with IP.
ID
?;
Returns the model number of the system master (control
module).
Query response: HP70950BjHP70951BjHP70952B
IF<operand 1>,(LTjGTjLEjGEjEQjNE),<operand 2>;
THEN;[<
ELSE
[(
Compares
command
next
<
v
elemen
<
1
<
IGEN((
T
if
The
set
command list
command
<
;[
ELSE
erand
op
>
ariable
>
t
IF/THEN
GT
T
j
,(L
>
erand
op
n
<
on
urns
curren
the
curren
the
y
b
>
]
>
list
to
1
erand
op
executed.
is
list
op
<
>
tax
EQ
j
GE
MA
j
[A
>
the curren
statemen
erand
::=
j
<
ENDIF
or
::=
>
1
user-dened
<
j
syn
j
LE
j
;THEN;[
2
>
er
umb
and sets
t-generator, option
source
t
command
range
IGENLIMIT,
<
ELSIF
j
erand
op
Otherwise,
>
2
ariable
v
(
op
<
NE),
command
OFF
j
UA]
j
source.
t
limited
is
IF/THEN
If the
2.
commands
executed.
are
ts
n
<
::=
predened
<
j
>
erand
>
list
j
ON
j
This
installed.
001 is
the
to
whic
syn
condition is
>
er
b
um
)
UP))
j
DN
command
6
200
er absolute
ev
h
)]]
>
tax
follo
predened
j
<
function
?;
j
mA or
less.
Query response:<number
>
ENDIF
true, the
the
wing
<
j
>
alid
v
is
the v
value
;
trace
only
alue
is
IGENDTYCY
((DNjUPj<
percentage>))j?;
Sets the duty cycle of the current generator's pulse mo de. This
command
v
is
alid only
t-generator,
curren
the
if
option
001
installed.
>
er
b
um
<
onse:
Query
resp
IGENLIMIT((<
Sets safet
y limit on curren
valid only if the curren
Query response:
n
number
<
number
>[AjMAj
UA]jDNjUP))j?;
t source's output. This command is
t-generator, option 001 is installed.
>
Programming
Commands 3-31
is
IGENPW((<
number>[SjMSjUS]jDNjUPjEP))j?;
Sets the pulse width of the current generator's pulse mode. This
command is valid only if the current-generator, option 001 is
installed.
Query response:<number
>
INSTMODE
((OSAjPWRMTRjPRESELjSRjPDjPULSE))j?;
Selects an optical spectrum analyzer measurementmode.
Query response: OSAjPWRMTRjPRESELjSRjPDjPULSE
INT<destination>,<source>;
Calculates
the
largest
in
source
the
than
less
is
h
whic
teger
destination.
;
IP
their
for
to
>
future
user-
<
j
<
state.
item
or
n
t
resp
a
um
v
>
an instrumen
n
n
mo
ariable
P
preset
IT((
Assigns
recall
<
dened
elemen
Query
erform
item
IWINDOW<
>
er
umb
ber
um
dication.
::=
>
er
b
j
>
<
onse:
length
x
t preset
?;
j
))
series
a
to
um
n
<
predened
<
er
b
um
n
y
<
,
>
whic
of
er
>
b
>
length
sets
h
graphics
predened
<
j
function
;
>
functions
all
commands
v
trace
<
j
>
ariable
Varies the size of the graticule and measurement results on the
display. Size is specied in the current scale units (SCALE).
<
x length>::=<ylength>::=<number>j<predened
variable>j<user-dened variable>j<predened function>j<trace
element
>
in
the
KEYCLR
;
Blanks the user-dened (
Programming Commands
3-32
4
USER
5
)k
eys.
KEYDEF<key number>,<key function>(,<delimiter><character
string
><
delimiter>j
Assigns a label and user-dened function to a
<
key number>::=<number>j<trace element>j<operand>j
<
predened variable>j<user-dened variable
<
key function>::=<user-dened function>j<analyzer
command
>
Query response:<user-dened function
?);
4
5
key.
USER
>
>
KEYPST
;
Presets the user-dened keys to their initial command set.
Q)];
j
O
j
L
j
j
K
j
C
j
3
o
[(?
w
B
the LED
resp
oin
p
dB
<
,
>
er
t-emitting dio
(ligh
wnloadable program.
tdo
mean
<
onse:
wa
eak
p
<
,
>
ts
(FWHM)
um
ectral
sp
eak
p
using
When
e
b
ust
m
()
underscore
command.
this
and
space
a
semicolon
a
just
y
b
elength
v
a
w
elength
v
width
<
,
>
purity
LED
the
inserted
not
es
do
The
our
y
de) laser
,
>
at
>
command,
as
represen
underscore
hoice
c
if
(;)
eak
<
p
>
,
sigma
<
dB
3
0
underscore.
an
t
from
do
ou
y
haracterization
c
a
w
<
,
>
poin
the
space
a
follo
is
list
the
not
LED
Start
measuremen
Query
0
half-maxim
p
Note
from the list of elements.
LG[(<
number>[DB]jEPjDNjUP)j?];
Species the vertical graticule divisions as logarithmic units
without
division
er
p
Query
hanging
c
resp
is
onse:
the
selected
um
n
<
reference
IP
with
>
ber
Default
el.
lev
.
units
elength
v
full-width,
total
<
,
>
ts
underscore
rst
rst
The
using
when
y
b
ed
w
elemen
of
a
e
mak
dB. 10
are
from
either
ts
hoice
c
or
dB
LIGHT
WHITE( (OFFjONj0j1))j?;
Turns on or o the in
Query response: 0
ternal white light source.
j
1
Programming
Commands 3-33
LIMIAMP((<
number>[DBMj<
power unit>]jEPjDNjUP))j?;
Sets the limit-line segment amplitude.
Query response:<number
>
LIMIBEEP
((OFFjONj0j1))j?;
Sounds a beep when trace data exceeds limit-line test limits.
Query response: 0j1
LIMIBOT
[?];
Activates the last segment of the limit-line table.
Query response:<number
urns
urns
AIL
::=
::=
;
the
;
the
o
editing
;
the limit-line
on
?;
the
resp
es
Do
Exceeds
tire
en
limit-line
softk
limit-line
onse:
exceed
not
the
con
eys
0
1
j
lo
LIMIDEL
Erases
LIMIDONE
T
and
LIMIEDIT
T
LIMIF
Returns
Query
0
1
>
of
ts
ten
editor
the
from
editor.
test results
3
j
2
j
test
test
er
w
the
whic
displa
limits.
limit.
limit-line
remo
h
.
y
um
as n
table.
es
v
ers.
b
the
limit-line
2 ::= Exceeds the upper test limit.
3 ::= Exceeds b oth upper and lower test limits.
table
LIMIHALF
((UPPERjLOWER))j?;
Selects either the upp er or lower limit line for modication or
creation.
WER
Query
3-34
resp
Programming Commands
onse:
UPPER
LO
j
LIMILINE(<
number>)j?;
Returns the current limit-line parameters for future recall or
build a new limit line.
Query response:<character string>consisting of LIMILINE,
LIMIREL, LIMIHALF, and LIMISEG commands, which restore
the limit-line table.
LIMINEXT
;
Activates the next limit-line segment.
LIMIRCL(<
ariable
v
Recalls
LIMIREL((OFF
Determines
referenced
Query
LIMISAV(
ariable
v
es
v
Sa
LIMISCRL(<
Scrolls
segmen
Query
LIMISDEL
number>j<predened variable>j<user-dened
trace elemen
j
<
<
j
>
limit
resp
<
j
<
>
the con
the
predened
that
lines
ON
j
whether
reference-lev
the
to
j
0
onse:
er
umb
n
predened
ts
ten
ber
um
n
limit-line
e
activ
function
1))
j
0
j
limit
1
<
j
>
function
a
of
>
)
>
een previously
b
e
v
ha
?;
j
v
line
el
predened
j
>
limit-line
?;
j
segmen
alues
and
v
trace
<
table
t
are
cen
ariable
elemen
in
from
absolute
ter-w
j
>
user
the
t.
>
er
b
um
n
<
onse:
resp
;
);
t
>
stored b
or
elength
v
a
user-dened
<
);
>
t
memory
current
y LIMISA
e
relativ
settings.
.
active
Deletes the currently active limit-line segment.
LIMISEG<wavelength>,<amplitude>,(SLOPEjFLATjPOINT);
the
limit
a
characteristics
the
ecies
Sp
limit-line
<
w
table.
avelength>::=<amplitude>::=<number
variable>j<user-dened v
element
>
of
ariable>j
predened function
line
that
is
>j<
stored
in
predened
>j<
trace
V.
Programming
Commands 3-35
LIMITEST
( (OFFjONj0j1))j?;
Compares active trace data to limit-line parameters.
Query response: 0j1
LIMITYPE
( (SLOPEjFLATjPOINT))j?;
Species the limit-line segmenttype.
Query response: SLOPEjFLATjPOINTjNA
LIMIWL((<
number><wavelength unit>jDNj
UP))j?;
Sets the wavelength of the currently active limit-line segment.
Query response:<number
LIMTOCOR
ransfers
T
LINES((ON
Connects
Query
LINET[(
ariable
v
Sets
parameter
LN[(V
Activ
>
the
W)
j
ates
resp
<
j
(UPPER
limit-line
OFF
j
b
lines
onse:
er
b
um
n
predened
<
yp
t
line
omitted,
is
?];
j
linear
the
1))
j
0
j
w
et
1
j
0
<
>
j
used for
e
>
WER);
LO
j
to
data
?;
j
displa
een
predened
function
plots, traces,
line
the
y
displa
amplitude-correction
ts.
oin
p
trace
ed
y
user-dened
<
j
>
ariable
v
mo
<
j
trace
elemen
t
>
is set
ype
t
de.
and
to
con
graticules.
>
tin
data.
];
uous.
Query response: VjW
LOAD<delimiter><character
string><delimiter>[,(TRAjTRBjTRCj<
user-dened
trace>)];
consists
that
le
I
ASCI
Loads
optical
in
to
sp
ternal
in
ectrum
memory
analyzer
any
commands.
the
If
of
Programming Commands
3-36
LOG<destination>,<source>,<scaling factor>;
Computes the logarithm of the source, multiplies it by the scaling
factor, then stores the result in the destination.
<
scaling factor>::=<number>j<predened variable>j
dened variable>j
MDS
((B<scaling factor>)jW))j?;
predened function>j<trace element
user-
>
Sets the measurement data size for binary output trace data
(TDF B, I, or A) to either BYTE (B) or WORD (W).
<
scaling factor>::=<number>j<predened variable>j<user-
trace
<
j
dened
elemen
Query
MEAN
Calculates
Query
MEASU
Con
on
<
<
function
<
<
v
>
t
resp
(TRA
resp
source
<
parameter-unit
erts
v
trace
the
source
trace
predened
j
>
elemen
trace
reference
onse:
j
TRB
j
mean v
the
onse:
trace
conditions
::=
>
ariable
v
>
t
>
trace
<
TR
<
n
num
::=
<
j
>
ariable
Query response:<number
predened
>
er
b
um
user-dened
<
j
C
alue of
>
er
b
reference
[,
<
>
values
the
of
er
b
um
n
<
user-dened
<
j
>
TRB
j
TRA
>
function
the
reference
[DBM
>
>
trace
source.
trace
measuremen
to
trace.
j
DB
ariable
v
<
j
C
TR
j
trace
<
j
>
]?;
>
t-unit
er
w
o
p
j
<
<
j
>
user-dened
>
range
alues
v
j
]
>
unit
predened
trace
)?;
>
based
MEASURE
((SAjSRjSRMILCPL))j?;
Selects the measurement mode of either spectrum analysis or
stimulus response.
Query
MEM
Returns the amount of allo catable memory a
Query response:
MIN<destination>,<source 1
Compares source 1 and source 2, poin
resp
?;
vailable in b
<
number
>
>,<
source 2
tb
>
;
t, and sends the
ypoin
SRMILCPL
j
SR
j
SA
onse:
lesser value of each comparison to the destination.
Programming
Commands 3-37
ytes.
MINH
(TRAjTRBjTRC);
Updates each trace element with the minimum level detected.
MK<x co ordinate>,<y co ordinate>;
Places a marker at the specied coordinates which are either in
the current scaling units or in display window units.
<
x co ordinate>::=<y co ordinate>::=<number>j<predened
variable>j<user-dened variable>j
<
trace element
>
predened function>j
MKA(<
Sp
Query
MKA
Selects
Query
MKAL((
Activ
amplitude
Query
MKAR((
Activ
amplitude
Query
MKBW
number[DBjDBMj<
amplitude
the
ecies
onse:
resp
b
um
(
resp
ates
resp
ates
resp
(
one
<
<
n
<
of v
onse:
um
n
mark
of
onse:
um
n
mark
of
onse:
ber
er
mark
er
b
er
mark
CT
((ONjOFF))j?;
um
n
<
EP
j
>
er
e mark
num
<
DB]
j
[X
>
#2 and
#1.
er
um
n
<
j
[X
>
and
#3
#1.
er
um
n
<
power unit>])j?;
activ
the
of
>
er
b
UP))
j
DN
j
the
as
ers
>
er
b
DN
j
EP
j
ositions
p
>
er
b
j
DN
EP
j
DB]
ositions
p
>
er
b
e
?;
j
activ
UP))
j
it
j
UP))
it
mark
e
?;
j
on
?;
j
on
er.
mark
trace
a
a trace
er.
relativ
relative
to
e
to the
Displays the wavelength dierence b etween markers #2 and #3,
even if the markers are not displayed.
Query resp
MKBW
onse:<number
um
(
n
A
<
(
>
er
b
Displays a signal's bandwidth at a user-sp
DB
>
?;
j
UP))
j
DN
j
ON
j
OFF
j
>
ber
um
n
<
j
ecied amplitude belo
the signal's peak.
Query response:
<
number
>
the
w
MKCONT
;
Enables the sweep to continue past the marker.
Programming Commands
3-38
MKCWL
;
Sets center wavelength equal to wavelength at the marker.
MKD[(<
number>[<wavelength unit>j<time unit>]jEPjDNjUP)];
Positions a marker relative to the reference marker, according to
wavelength.
MKDACT
?;
Report which marker is the currently active delta marker.
MKDREFA
Sp
MKDREFF(<
?);
j
Set
in
if
MKMIN
Mo
MKN[((
>
unit
Places
Query
MKNOISE((OFF
((XjDBjDBMjWjMWjUWjDM))j?;
um
reference
>
er
b
[(M
MM
j
marker
the
ecies
general reference
the
span).
zero
general
n
;
the
to
er
mark
active
the
es
v
elength unit
v
a
w
<
[
>
er
b
um
n
<
?];
j
UP))
j
DN
j
EP
j
]
the
at
er
mark
e
activ
the
>
er
b
um
n
<
onse:
resp
?;
j
1))
j
0
j
ON
j
mark
UM
j
to
minim
sp
er's
NM
j
sp
a
um
<
j
>
ecied
amplitude.
ANG
j
PM
j
v
a
w
ecic
detected.
alue
v
time
velength.
a
w
j
MS
j
S
elength
j
US
(or
Displays or returns the noise level at the displayed, active
marker.
Query response: 0j1
j
SC)]
j
time
MKOFF[ALL];
mark
all
o
urns
T
MKP((<
<
predened function
number
Species the horizon
units.
Query response:
activ
the
or
ers,
>j<
predened v
>j<
trace elemen
tal position of the activ
<
number
>
er.
mark
e
ariable>j<user-dened v
t>))j?;
er, in position
e mark
Programming
Commands 3-39
ariable>j
MKPABS<number>;
Sets the current active delta marker to the bucket requested.
MKPAUSE((<
number>[<time unit>]jEPjDNjUPjONjOFF))j?;
Pauses the sweep at the active marker for the specied length of
time.
Query response:<number
MKPITX(<
number>[DB]j(EPjOAjDNjUP))j?;
>
Control the excursion value for marker pit operations.
MKPK
NM
MKPX((
MKREAD((FR
MKRL
[(CPjCPITjHIjHIPjMIjMIPITjNHjNHPITjNLjNLPIT
j
NRPIT)];
j
the
resp
NR
activ
um
n
<
the
mark
onse:
yp
t
the
readout
queries.
onse:
emark
er
>
b
minim
eak
er-p
<
WLN
j
Q
of
e
and
WLN
er at
EP
[DB]
j
signal
um
functions.
b
um
n
PER
j
e
activ
queried
PER
j
ap
>
er
trace
j
eak (or
UP))
j
DN
excursion
j
SWT
j
information
with
SWT
j
IST
the
IST
j
pit)
j
the
on
?;
signal
for
UTO))
A
j
displa
MKWL?,
j
?;
the
NMPIT
j
osition
P
ecies
Sp
and
Query
Selects
marker
the MKA?
Query resp
;
trace.
iden
ed
y
MKT?,
tication
the
y
b
Sets the reference level equal to the absolute amplitude of the
displayed activemarker.
j
and
MKSP
;
Sets the span equal to the wavelength dierence of the markers.
;
MKSS
v
a
w
to the
equal
size
cen
the
Sets
dierence b et
MKSTOP
;
Ends the sw
Programming Commands
3-40
elength
v
a
ter-w
ween the delta mark
eep at the curren
step
t activ
ers.
emark
er.
elength
MKT((<
number>[<time unit>]j<
predened variable>j<user-
dened variable>j<predened function>j<trace element>))j?;
Positions marker in units of time.
Query response:<number
>
MKTRACE
((TRAjTRBjTRC))j?;
Moves the displayed, active marker to a corresponding position
on the specied trace.
Query response: TRAjTRBjTRC
MKTRACK
Main
w
in
Query
MKTUNE((
Fix
v
a
w
generates
HP
Query
MKTV((
ecies
Sp
mark
Query
MKTYPE
((OFFjONj0j1))j?;
mark
the
tains
elength
v
a
resp
tunes
elength.
71451B
resp
er-trac
resp
span.
onse:
num
<
optical
the
If INSTMODE
error
an
(or
onse:
er
b
um
n
<
amplitude
the
king
onse:
?;
ed
1
j
0
><
ber
spectrum
message.
HP 70951B).
the
um
n
<
[DB]
>
function.
um
n
<
at
signal
elength
v
a
w
is
This command
>
er
b
DN
j
EP
j
ariance
v
>
er
b
ter
cen
unit
analyzer
set
not
j
UP))
monitored
a
w
>
to
to
j
?;
elength
v
UP))
j
DN
j
ecied
sp
a
PRESEL,
alid
v
is
the
y
b
during
?;
j
MKTUNE
only
Returns the currenttype of active marker.
Query response: AMPRjAMPLjDELTAjPSN
hanges
c
for
the
MKWL((<
osition
P
mark
Query response:
number>[<wavelength unit>]jDNjUP))j?;
the
to
er
mark
e
activ
elength.
v
a
w
er
<
number
>
MOD<destination>,<source 1
Divides source 1 b
y source 2 and places the remainder in the
destination.
sp
>,<
ecied
source 2
Programming
velength,
a
w
>
;
or
return
the
Commands 3-41
MODADD[<
module reference number>[,ROWj,COLUMN]]?;
Returns the HP-MSIB address of the specied module.
<
module reference number>::=<number>j<predened
variable>j<user-dened variable>j<predened function>j<trace
element
Query response:<number>or<row>,<column
>
>
MODID<row>,<column>?;
Identies the module or instrument located at the specied
HP-MSIB address.
<
row>::=<column>::=<number>j<predened variable>j
elemen
trace
<
>
user-dened
<
Query
resp
onse:
ariable
v
<
umb
n
predened function
j
<
>
er
>
j
>
t
the
source
sho
y
1),#A
j
;
>
source
<
,
>
1
2,
in
wn
including
,
ed.
y
<
the
to
source
oin
p
message
the
msb
destination.
;
>
2
oin
p
y
b
t
UNCAL
the
length
area
><
t,
lsb
then
on
and
length
source
<
,
>
ts
ten
con
>
source
1
destination.
haracters
c
they are
onse: (0
of
source
<
,
and
displa
displa
1),(0
j
Mo
v
destination
the
es
destination
<
MOV<
MPY
Multiplies
the
in
result
MSG
?;
Returns the
spectrum
analyzer
messages if
Query resp
byte[s]
>
MSI
((INTjHPIB[,<HP-IB address>[.[<drive unit>[<volume>]]]]
MSIB[,<number>]))j?;
Selects the user-memory lo cation for storing les.
::=
>
olume
v
<
::=
>
unit
e
driv
<
HP-IB
<
Query
address
resp
onse:
MXM<destination>,<source 1
Compares source 1 and source 2, poin
greater v
alue of eac
::=
>
HPIB,
j
er
>
b
um
n
<
MSIB,
j
INT
tb
>
ypoin
>,<
source 2
h comparison to the destination.
b
um
n
<
;
t, and sends the
stores the
optical
the
UNCOR
><
digit
<
>
er
data
j
>
Programming Commands
3-42
MXMH
(TRAjTRBjTRC);
Updates each trace element with the maximum level detected.
NORM
((OFFjONj0j1))j?;
Controls trace normalization for stimulus-response measurement.
NSTATE((<
number>jEPjDNj
UP))j?;
Sets the number of state register les available for information
storage.
Query response:<number
j
0
j
ON
ONEOS((OFF
j
?;
j
>
eld
k
c
I-blo
<
Executes
Query
ONMENU((OFF
j
?;
j
>
eld
k
c
I-blo
<
Denes
j
eld
data
sp
the
onse:
resp
data eld
list
the
>
ecied
A-blo
<
ON
j
>
functions executed
of
>
string
<
j
1))
command(s)
k
c
<
j
1))
0
j
j
data
string
data
format
data
eld
at
>
the
>
eld
when
<
j
end
>
the
A-blo
of
A-blo
<
j
4
MENU
ev
c
k
ery
data
sw
k
c
k
5
eep.
data
ey
pressed.
Query
ONMKR((OFF
eld
I-blo
<
resp
data
k
A-blo
c
<
>
j
eld
data
string
<
j
1))
j
0
j
ON
j
j
?;
j
>
>
eld
data
k
c
>
format
data
k
c
A-blo
<
onse:
Denes the list of functions executed when the sweep reaches the
pause marker.
Query response:<A-block data format
>
is
ONUSER
eld
I-blo
<
((OFFjONj0j1))j<
j
?;
j
>
data
k
c
Denes the
pressed.
Query response:
eld
list
>
functions
of
<
A-bloc
string data eld>j<A-block data
4
the
executed
k data format
when
>
Programming
5
k
USER
Commands 3-43
ey
is
ONWINDOW
( (OFFjONj0j1))j<
string data eld>j<A-blockdata
eld>j?;j
<
I-block data eld
>
Denes the list of functions executed when the display windowis
recreated.
Query response:<A-block data format
OP
?;
>
Returns the values of P1and P2for the current instrument
window scale.
Query response:<p1x>,<p1y>,<p2x>,<p2y
?;
j
EXT))
(EXT)
MONOCHR
71451B
HP
onse:
resp
>
p
the
scale
t
::=
>
j
or
INT
oset
y
,
<
osition
units
y
<
ariable
v
deactiv
INPUT
(or the
j
EXT
>
graphics
of
set.
oset
>
ates
TOR
OMA
HP
;
::=
>
predened
<
j
(INT)
OUTPUT
ports.
70951B).
the
on
umb
n
<
the
This command
displa
er
function
OPTSW((INT
ates
Activ
panel
t
fron
PHOTODETECTOR
the
for
Query
oset
x
OR
<
Osets
curren
the
oset
x
<
user-dened
<
HP
predened
<
j
>
>
70951A's
and
relativ
y
trace elemen
<
j
>
is
e
alid
v
to P
ariable
v
1
only
in
,
j
>
t
>
er
>
umb
<
n
j
F
KL
j
C
K
j
,(K
k
data
>
eld
predened
<
j
>
ariable
v
OUTPUT
eld
data
>
HP-IB
<
<
j
A-blo
address
c
dened variable>j<predened function>j<trace
element>);j<
I-block data eld>)
Establishes the optical spectrum analyzer as a controller on
HP-IB. RELHPIB releases this capability. The data is output
according to
W
VR
O
(TRA
the sp ecied format options (K, KC, KL, F).
C);
TR
j
TRB
j
Enable clear-write mode, but skip the initial clear.
Programming Commands
3-44
),((
>
string
<
<
j
user-
PA
[(PDjPU)]<x co ordinate>,<y co ordinate>f
<
x co ordinate>,<y co ordinate>g
;
,[PDjPU]
Moves the graphics pen from its current position to the position
specied. If the p en is down, a line is drawn on the display.
<
x co ordinate>::=<y co ordinate>::=<number>j<predened
variable>j<user-dened variable>j<predened function>j
<
trace element
>
PAUSE
;
Stops all processing of remote commands and activates the debug
mode. Program operation resumes when the
pressed,
pressed,
the
4
INSTR
PRESET
is
ey
k
5
CONT
or
the
softkey is
input
buer
cleared.
;
PD
wn.
>
::=
>
<
,
<
<
<
j
en do
>
source
density
y
destination.
to the
>
source
>
er
b
um
n
predened
resolution
<
,
amplitude
in
TRA
::=
predened v
<
j
function
>
TRB
j
j
>
;
of
j
ariable
trace
<
the
TRC
ecied
sp
user-dened
<
j
user-
<
j
>
Places
PDA<
Finds
and
destination
<
trace
resolution
<
dened
elemen
PDL
;
graphics p
the
destination
probabilit
the
the
sends
>
>
>
ariable
v
>
t
result
::=
Starts the PDL downloadable program and loads the related
commands.
PDLCALC
Performs
;
calculation and displays polarization dependent loss.
is
source
PDLDEV
Toggles bet
PDL DEV
Returns the curren
;
ween an optical or electrical receiv
?;
t status v
internal (0) or external (1).
Query response: 0j1
alue of the receiv
Programming
e device.
e device to be either
Commands 3-45
PDLEXIT
;
Terminates the polarization dependent loss (PDL) measurement
program.
PDLINIT
;
Initializes the polarization dependent loss (PDL) measurement
procedure.
PDLREV
;
Displays the polarization dependent loss (PDL) measurement
program revision number.
PDL REV
Returns
program
Query
PDLSCALE
Automatically
dep
PDLSR
T
PDL SR
Returns
Query
PDMEAS
?;
olarization
p
the
onse:
n
<
revision
resp
;
scales
loss (PDL)
t
enden
;
C
internal
the
oggles
?;
C
source
t
ligh
the
j
0
onse:
resp
((OFFjON)[ (PDjPU)];
dep
er.
b
um
er
b
um
n
displa
the
measuremen
white ligh
status;
1
>
enden
ed
y
source
t
0
(PDL)
loss
t
signal
t.
on
indicates
during
and
o
measuremen
olarization
p
a
o.
indicates on.
and 1
Measures the atness of a photo diode under test. This command
is only valid for the HP 71451A (or the HP 70951A).
t
(
WL
PD
Analyzes
wa
Programming Commands
3-46
destination
<
(
the
velength.
trace
distribution
source
<
),(
>
of detected
trace
signals
));
>
according
to
PEAKS<destination>,<source>,(AMPjWLN)?;
Sorts signal peaks bywavelength or amplitude, stores the
horizontal position of each p eak in the destination, then
computes the number of p eaks found.
<
destination>::=<source>::= TRAjTRBjTRCj<
trace>j<trace range
Query response:<number
>
>
user-dened
PEN(<
<
predened function>j<trace element>);
number>j<predened variable>j<user-dened variable>j
Species the pen number that corresponds to a color.
artially
the
;
erases
es
Do
using
n
<
um
n
ternal
in
erase
not
PROTECT.
>
ber
um
previous
of
ber
memory
EP
j
settings
UP
j
DN
j
traces
and
functions
or
OFF
j
to
optical
ON))
j
sim
e
b
ectrum
sp
v
ha
that
?;
j
ultaneously
analyzer
een
b
e
displa
PERASE
P
settings.
protected
PERSIST((
Sets
onscreen.
Query
PLOT[<
Plots
prin
<
<
function>j<trace element
resp
P
X
1
optical
the
ter.
P
::=
>
X
1
predened
<
,
>
<
ariable
v
P
sp
P
Y
1
>
Y
1
ectrum
>
P
<
,
2
<
::=
user-dened
<
j
>
<
,
>
X
analyzer
P
>
X
2
P
2
::=
>
Y
displa
<
v
];
y
P
>
Y
2
ariable
on
::
>
plotter
a
n
<
=
predened
<
j
um
or
b
er
>
>
er
b
um
n
<
onse:
POSU<source>[,<reference trace>]?;
Converts wavelength or time values to p osition units based on the
trace conditions
>
source
<
j
>
ariable
v
<
trace elemen
<
reference trace
Query response:
of the reference trace.
>
er
b
um
n
<
::=
user-dened
<
t
>
>
::= TRA
<
number
DBM
j
[DB
ariable
v
j
TRBjTRCj<
>
<
j
predened
<
j
>
>
unit
er
w
o
p
function
user-dened trace
predened
<
j
]
j
>
>
ed
y
j
>
Programming
Commands 3-47
POWERON
((IPjLASTjRECALL))j?;
Determines the instrument state of the optical spectrum analyzer
when p ower is applied.
Query response: IPjLAST
PR
[PDjPU]<x co ordinate>,<y co ordinate>f
<
x coordinate>,<y co ordinate>g
;
,[PDjPU]
Moves pen to coordinate relative to the current pen position.
<
x co ordinate>::=<y co ordinate>::=<number>j<predened
variable>j<user-dened variable>j<predened function>j
<
trace element
PREFX
Changes
OTECT(<
PR
dened
ariable
v
>
string
Protects
ternal
in
of
This
Query
TE
A
PST
Protects
the
y
b
delimiter
<
trace
ONEOS
j
>
delimiter
<
command
resp
(
STOR,
>
haracter
c
><
prex
le
the
user-dened function
<
user-dened
j
>
AMP
j
con
tire
en
memory
is
onse:
ON
j
(OFF
state-register
NST
haracter
c
<
>
j
tents,
against
defeated
1
j
0
1))
j
0
j
TE,
A
COR
les
that
selected
b
?;
j
or
string
ties
iden
umb
n
<
j
string
erasure,
ERASE.
y
acciden
from
VES
SA
delimiter
><
user-memory
user-
<
>
j
j
>
er
ALL),(OFF
j
>
alues,
v
erwriting,
v
o
tal
command.
delimiter
<
user-dened
or
erasure
;
>
tries.
en
><
ON
j
redenition.
or
or
haracter
c
j
1
j
0
j
functions
erwriting
v
o
Query response: 0j1
?);
PU
;
Lifts up the graphics pen.
delimiter
<
(
GE
PUR
k
c
I-blo
<
j
);
>
eld
Erases les from in
protection by the PST
Programming Commands
3-48
><
><
data
haracter
c
eld
string
>
ternal or external memory
ATE and PR
OTECT commands.
delimiter
, regardless of
data
k
c
A-blo
j
<
>
PWRBW<source>,<percentage>?;
Computes the bandwidth that contains a p ercentage of the total
measured p ower.
<
source>::= TRAjTRBjTRCj<
range
>
<
percentage>::=<number>j<predened variable>j<user-
user-dened trace>j<trace
dened variable>j<predened function>j<trace
element
Query response:<number
RB((
Sets
Query
RBR((
Sets
<
n
the
<
the
>
er
b
um
resolution
onse:
resp
b
um
n
ratio b
>
er
<
[
>
etw
elength
v
a
w
bandwidth.
b
um
n
<
DN
j
EP
j
the
een
>
unit
>
er
UP))
j
resolution
UTO))
A
j
MAN
j
UP
j
DN
j
EP
j
]
>
?;
j
span
bandwidth
and
settings.
>
er
b
num
<
onse:
Query
CLD(<
R
predened
<
Recalls
mass
resp
um
n
function
the
storage
ber
con
device.
>
ten
<
j
>
ts
predened
trace
<
j
program
a
of
ariable
v
elemen
t
le
>
>
);
from
user-dened
<
j
curren
the
ariable
v
tly selected
?;
j
j
>
CLS(<
R
predened
<
um
n
j
>
er
b
function
predened
<
trace
<
j
>
variable
elemen
>
);
>
t
<
user-dened
j
variable
Recalls the contents of a state-register le from the selected mass
storage device.
RCLT(<
<
predened function>j<trace element>);
Recalls
number>j<predened variable>j<user-dened variable>j
the
con
ten
selected
the
from
le
trace
a
of
ts
mass storage
device.
RCLU(<
<
predened function
number
Recalls the con
>j<
predened v
>j<
tents of a
trace elemen
ariable>j<user-dened v
4
5
key le from the selected mass
USER
storage device, erasing the previous men
t>);
u.
Programming
ariable>j
Commands 3-49
j
>
READMENU<user-dened variable>,<key number>,<key lab el
f<key number>,<key lab el>g
;
Assigns a series of key labels to form a menuofkeys that can b e
accessed with the
<
key number>::=<number>j<predened variable>j<user-
4
USER
5
key.
dened variable>j<predened function>j<trace
element
<
>
key lab el>::=<delimiter><character string><delimiter
>
>
RELHPIB
;
Releases HP-IB control by the optical spectrum analyzer.
g
>
REPEA
UNTIL
<
;
T
n
<
(
command
>
er
b
um
<
[
list
units
<
f
>
>
command
<
j
]
list
predened
ariable
v
<
>
j
dened
trace
GE
j
ariable
v
list
a
op
then
encoun
EQ
j
eration
elemen
n
<
NE),(
j
user-dened
<
>
j
of commands
satised.
is
the
of
the
returns
to
tered.
b
um
un
curren
j
]
>
units
<
[
>
er
elemen
trace
<
j
>
ariable
v
ecied
the
function
sp
user-dened
condition
the
til
erating
op
tly
where
t
oin
p
>
ariable
v
j
GT
j
T
(L
predened
<
eats
Rep
UNTIL
RETURN
terrupts
In
function,
originally
?;
REV
<
j
LE
command
;
),
>
t
Returns the revision number of the lo cal-oscillator rmware.
Query response:<number>in YYMMDD format
RL((<
number>[DBjDBMj<
Sets the
Query
absolute amplitude value of the reference level.
onse:
resp
power unit>]jEPjDNjUP))j?;
>
er
b
um
n
<
user-
after
as
w
);
>
t
the
RLPOS((<
number
Sets the reference lev
>jEPjDNjUP))j?;
el p osition in terms of graticule units from
top of screen (10 = top; 0 = bottom).
<
Query response:
Programming Commands
3-50
number
>
RMS
(TRAjTRBjTRCj<
user-dened trace>j<trace range>)?;
Computes the root-mean-square value of a trace, in measurement
units.
Query response:<number
>
ROFFSET((<
number>[DB]jEPjDNjUP))j?;
Osets all amplitude readouts on the display without aecting
the trace data.
Query response:<number
RQS((<
predened
<
Denes
Query
SA
ariable
v
Stores
traces
SA
ariable
v
Sa
state-register
SA
number>j<predened variable>j<user-dened variable>j
ber
lines
on the
er
b
le
er
b
>
that
n
<
<
j
>
and
<
j
>
optical
t
on
<
j
>
resp
VED(<
j
>
limit
in
VES(<
j
>
the
es
v
VET(<
function
conditions
onse:
num
<
predened
le
a
um
n
predened
<
curren
um
n
>
))
>
t
elemen
trace
<
j
>
ariable
v
<
j
computer
trace
terrupt
in
>
er
b
um
predened
function
user-dened functions,
storage
selected
predened
function
the
predened
mass
>
ectrum
sp
selected
ariable
v
trace
<
j
mass
ariable
v
analyzer
storage
?;
j
op
user-dened
<
j
>
elemen
device.
user-dened
<
>
j
elemen
state
user-dened
<
j
>
eration.
);
>
t
ariables,
v
);
t
>
in
device.
k
the sp
variable>j<predened function>j<trace element>);
Stores the contents of trace A in a user-memory le on the
selected mass storage device.
eys,
and
ecied
SAVEU(<
ariable
v
Stores
number>j<predened variable>j<user-dened
elemen
trace
<
j
k
eys
in
>
the
on
le
a
<
j
>
the
predened
user-dened
function
device.
>,<
SCALE<x min
>,<
xmax
>,<
ymin
ymax
Scales the optical spectrum analyzer displa
>
::=
>
<
xmin
::=<xmax
::=<number
>j<
predened v
>
::=<ymin
ariable>j<user-dened
<
variable>j<predened function>j<trace element
Programming
);
t
>
selected
>
;
y for dra
ymax
>
>
Commands 3-51
storage
mass
wing graphics.
SENS((<
number>[<power unit>]jDNjUPjEPjAUTOjMAN))j?;
Selects the input sensitivity level.
Query response:<number
>
SER(<
eld>j
delimiter><character string><delimiter>j<A-blockdata
?);j<
I-block data eld
>
Returns or stores the serial number of the HP 70950A or the HP
70951A.
Query response:<A-block data format
>
SMOOTH<source>,<number of points>;
trace.
a
of
el
TRB
j
>
mo
elength
v
a
umb
n
source
<
,
::=
>
ro
lev
j
de.
ot
j
TRC
j
um
n
<
predened
<
unit
span.
>
er
;
>
the
of
user-dened trace
<
<
predened
j
>
er
b
function
UP))
j
DN
j
EP
j
]
>
are
source
units
and
stores the
Default
j
>
>
j
variable
trace
<
?;
j
meters.
trace
<
elemen
result in
>
oths
Smo
source
<
>
range
um
n
<
user-dened
<
SNGLS
;
Selects
n
<
SP((
ecies
Sp
Query
SQR
destination
<
Computes
destination.
the
SRINPUT
amplitude
the
TRA
::=
>
ts
oin
p
of
er
b
ariable
v
eep
sw
single
w
<
[
>
er
umb
elength
v
wa
the
<
onse:
resp
>
square
the
( (DIODEjNORMAL))j?;
Select input for stimulus-response measurements.
Query response: DIODEjNORMAL
j
>
t
umb
n
<
SRQ(
predened
<
function
Sets bit(s)
request.
SS((<
number
Sets the cen
Query resp
Programming Commands
3-52
predened
<
j
>
er
<
>
j
in the status-b
>[<
wavelength unit
avelength step size. Default units are meters.
ter w
onse:<number
v
>
t
elemen
trace
yte register to sim
>]jEPjDNjUPj
>
);
ulate a service
MANjAUTO))j?;
user-dened v
<
j
>
ariable
ariable
j
>
ST((<
number>[<time unit>]jEPjDNjUPjMANjAUTO))j?;
Species the rate that the optical spectrum analyzer sweeps the
current measurement range. Default units are seconds.
Query response:<number
>
STARTUP
((AUTOjMAN))j?;
Controls the start up conguration operation of the optical
spectrum analyzer.
Query response: AUTOjMANjONCE
STARTWL((<
the
Sets
Query
(#A
TE
A
ST
ransmit
T
Query
length
msb
<
?;
STB
Returns
Query
STDEV
(TRA
Returns
measuremen
in
Query
STOPWL((<
number>[<wavelength unit>]jDNjUPjEP))j?;
data
length
>
trace
ecied
sp
to
t
b
>
yte[s]
or
j
w
start
onse:
resp
msb
<
all instrumen
onse:
resp
><
alue
v
the
onse:
resp
TRB
j
standard
the
t
onse:
resp
elength
v
a
um
n
<
><
length
t-state information
<
msb
#A
lsb length
the
of
um
n
<
C
TR
j
deviation
units.
um
n
<
the
of
>
er
b
length
lsb
length
data
><
status-b
>
er
b
user-dened
<
j
>
er
b
measuremen
><
lsb
><
yte[s]
b
register.
yte
the
of
number>[<wavelength unit>]jDNjUPjEP))j?;
range.
from
ST
>
<
trace
trace
>
A
Sets the stop wavelength of the measurement range.
Query response:<number
>
?);
j
computer.
a
TE
#A
range
>
amplitude
)?;
STOR
dened
j
((S
function
user-dened
<
j
>
name
le
<
L),
j
U
trace>j<character string
dened trace>));
<
<
le name>::= (
<
character string
delimiter><character string
>
)
D,
j
>
>)]jT,<
le name
<
ariable
v
le name
[,(ONEOS
>
user-dened
<
j
>
>
,(TRAjTRBjTR
Programming
user-
<
j
Cj<
><
delimiter>j
Commands 3-53
user-
STORREF
THRU;
Store through references for stimulus-response measurements.
This command is valid only for the HP 71451B (or the HP
70951B).
SUB<destination>,<source 1>,<source 2>;
Subtracts source 2 from source 1, pointby point, then stores the
result in the destination.
SUM
(TRAjTRBjTRCj<
user-dened trace>j<trace range>)?;
Returns the sum of the trace amplitudes in measurement units.
>
er
b
um
n
<
onse:
Query
SUMSQR
Returns
measuremen
Query
SWEEP((OFF
Stops
Query
resp
resp
the
resp
(TRA
sum
the
t
onse:
optical
onse:
TRB
j
units.
ON
j
TR
j
the
of
b
um
n
<
?;
j
1))
j
0
j
spectrum
1
0
j
user-dened
<
j
C
square
>
er
analyzer
of
the
trace-p
from
trace
sw
<
j
>
amplitudes
t
oin
eeping,
range
trace
immediately
>
in
)?;
.
the
resp
B
j
?;
I
j
onse:
M
j
curren
P))
j
eep mo
tsw
CONTS
?;
j
de.
SNGLS)
j
SWPMODE
Return
Query
TDF((A
Formats trace information for return to the controller.
A
B
I
M
P
Query resp
TEST
Executes a self test of the instrumen
Programming Commands
3-54
represents an absolute block data eld.
represents binary values in measurement units.
represents an indenite block data eld.
represents ASCII-decimal values in measurement units.
in
alues
represen
example,
onse: A
ASCII-decimal
ts
olts, and
v
dBm,
jBjIjMj
P
v
on).
so
;
t.
absolute
units
(for
TEXT(<
eld>);j<
delimiter><data byte[s]><delimiter>j<A-block data
I-block data eld
>
Writes text on the optical sp ectrum analyzer display.
TH((<
number>[DBjDBMj<
wavelength
unit>]jEPjDNjUPjOFFjON))j?;
Blanks signal responses below the sp ecied threshold level.
Default units are dBm.
Query response:<number
THREED((<
urns
T
Query
THREEDH((
Select
Query
THREED
Select
displa
Query resp
TIME((<
Sets the
Query resp
TITLE(<
eld>);j<
number>j
three-dimensional trace
the
<
resp
the
resp
the
.
y
V
(
um
n
cloc
onse:
horizon
onse:
<
(
um
n
onse:
onse:
n
er
b
um
n
<
tal
n
<
er
b
um
n
of
er
b
n
<
<
[
>
er
b
measures
that
k
n
<
delimiter><data byte[s]><delimiter>j<A-blockdata
I-block data eld
>
OFFjONjDNjUPjEP))j?;
display
er
>
umb
?;
j
EP))
j
UP
j
j
DN
>
three-dimensional
the
of
oset
>
er
b
um
?;
j
EP))
j
UP
j
DN
j
>
three-dimensional
the
in
used
traces
>
er
b
um
?;
j
]))
>
unit
time
time.
um
erating
op
>
er
b
>
on or
o.
trace
Displays text in the title line on the optical spectrum analyzer
display.
displa
trace
.
y
?;
j
VID))
j
LINE
j
FREE
the
j
trigger
mo
de
that
determines
TM((EXT
Selects
triggered.
j
Query response: EXT
TP(<
<
number
predened function
>j<
FREEjLINEjVID
predened v
>j<
trace elemen
ariable
j<user-dened v
>
t>);
Modies the shape of stored, graphics items.
Programming
ho
sweep
the
w
Commands 3-55
is
ariable>j
(
TRAjTRBjTRC)(<
[<amplitude unit>]gj<
number>[<amplitude unit>]f,<number
A-blockdata eld>j?;j<I-block data eld
>
Sends or receives trace-amplitude information for traces A, B, or
C.
Query response:<trace>[<element position>](<amplitude>j?)j
#A<msb length><lsb length><data byte>f<data byte>gj
#I<data byte>f<data byte>gj<data byte>f<data byte>g
TRCOND<reference trace>(,<start>,<stop>,<sweep>,
<
top of screen>,<bottom of screen>,<trace length>,
<
reference level>, (LINjLOGjRLOG)j?);
w.
::=
>
eep
sw
<
reference
<
,
>
trace
new
haracter
>
windo
::=
<
,
>
name
trace
string
variable
<
trace
j
<
top
arra
trace
of
>
>
screen
)(,
ys.
>
length
trace
<
user-
<
j
>
Scales
start
<
top
<
reference
<
Query
ottom
b
<
el
lev
TRDEF
length
Changes
user-dened
<
trace
<
dened
elemen
Query
>
>
trace
>
of
resp
,(LIN
(TRA
?);
j
length
v
>
t
resp
data
<
::=
screen
lev
onse:
screen
of
j
LOG
j
the
ariable
onse:
stop
>
>
el
TRB
trace
trace
::=
>
>
displa
::=
>
<
::=
<
::=
start
<
<
,
>
RLOG)
j
TRC
j
length
name
n
<
predened
<
j
um
n
<
in
ed
y
sw
<
ottom
b
b
um
n
stop
<
,
>
length
trace
user-dened
<
j
creates
or
::=
>
er
b
um
>
er
b
graphics
a
>
eep
screen
of
>
er
,
>
c
<
<
predened
j
>
function
>
::=
>
,
TRDSP
(TRAjTRBjTRC),(ONjOFFj0j1j?);
Blanks display of active trace(s) without clearing the trace data
or interrupting measurements.
Query resp
TRNSZLOCK((ON
onse: 0j1
j
OFF)
j
(0
j
1))
?;
j
Locks transimp edance amplier for fast pulse measuremen
j
Query response: 0
TRPST
;
Sets trace operations to their preset v
Programming Commands
3-56
1
alues.
ts.
Loading...