Programmer's Guide
HP
Optical Spectrum
Analyzers
71450B/1B/2B
HP Part No. 70950-90050
Edition 1
Printed in USA June 1995
1400 Fountaingrove Parkway,
Santa Rosa, CA
95403-1799, USA
Notice.
The information contained in this document is subject to change
without notice. Hewlett-Packard makes no warranty of any kind with regard
ackard
this
of
of
shall
material,
this
to
merchantability
be liable
not
damages
for
connection
in
including
tness
and
contained
errors
with
but
for
the
limited
not
particular
a
herein
furnishing,
the
,
to
purpose
incidental
for
or
performance
implied
Hewlett-P
.
warranties
consequential
or
use
or
,
material.
.
.S
U
the
Restricted
Rights
Government
Rights
the
of
252.227-7013
Commercial
agencies
other
Legend.
subject
is
echnical
T
in
DOD
for
Computer
.
Use
restrictions
to
Data
agencies
Software
duplication,
,
set
as
and Computer
subparagraphs
and
,
Restricted
or
forth
Software
Rights
disclosure
in
clause
by
subparagraph
at
and
FAR
at
(c)
clause
(c) (1)
(1)
(c)
ARS
DF
the
of
(2)
52.227-19
(ii)
for
c
Copyright Hewlett-P
ackard Company 1995
All Rights Reserved. Reproduction, adaptation, or translation without prior
written permission is prohibited, except as allowed under the copyright laws.
Start
here
Remote operation with HP 71450B/1B/2B
This introduction provides you with a quick overview of some basic concepts
you will need to successfully program the HP 71450B/1B/2B optical spectrum
analyzer (OSA). The OSA oers extensive remote programming capability
which includes the following features:
Setting measurement ranges
Querying values to the computer
Creating new functions
arrays
trace
Creating
Processing
ctivating new
A
Allowing
Placing
Monitoring
Finish
1.
programming
Read
2.
A.
OS
user-dened
information with
functions with
front-panel control
graphics and
instrument
introduction
reading
this
control
Chapter 1,
\Learning
variables
text on
operation
are covered
and
math and
move commands
front-panel keys
during remote
screen
the
returning
by
learn
and
this
in
the
Basics"
to
operation
a
what
manual.
connect
status
areas
the
to
byte
basic
of
computer
the computer
the
to
module
A
OS
The
described
as
Installation
in
and
should
HP
the
erication
V
arrive
installed
71450B/1B/2B
Manual
in
Optical
.
display
the
Spectrum
mainframe
Analyzer
3. Read the remaining chapters to learn specic details about remote
programming.
4. Chapter 7, \Language Reference" documents each OSA command in
alphabetical order.
Chapter
5.
programming
softkey
and
ables
8, \T
OSA.
the
cross-references
Charts"
contains
Functional
also
are
groups
provided.
additional
programming
of
information
related
commands
to
with
iii
Computer Model in
Examples
The programming examples provided in this book used an HP 9000 Series 300
technical computer and the HP-BASIC language. However, you can use other
computers and languages with OSA commands and query data over HP-IB.
As an example, you could use an HP Vectra PC compatible computer.Simply
install an HP 82335A HP-IB Interface and Command Library card in the PC
and use a compatible language such as Microsoft QuickC.
Local and Remote
Control Indicators
Designing
Programs
Default HP-IB
Addresses
Whenever the analyzer is addressed via HP-IB, the
4
MENU
5
and
4
USER
5
keys
are disabled. The front-panel LEDs indicate the following:
RMT indicates remote HP-IB control.
.
HP-IB
LSN
TLK
SRQ
programs
A
OS
Except
.
keys
manual
Note
1.
Identify
2.
the
to
Charts
Incorporate
3.
indicates
indicates
indicates
for
operation.
order
the
which
functional
."
information
information
OS
the
composed
are
timing
design
o
T
keystrokes
of
commands
group
commands
the
received
sent
requesting
is
A
of
considerations
program,
a
correspond
tables
into
via
HP-IB
via
computer
commands
remote
,
perform
to
used
commands
of
output
to computer
correspond
that
operation
the
use
an OS
the
with
in
statements
.
attention.
front-panel
to
is very
similar
following procedure:
measurement.
A
Refer
8,
used.
ables
\T
keystrokes
Chapter
.
to
and
Typically, you will program the OSA using the factory default HP-IB addresses
provided in the following table. If you want to change these addresses,refer
to Chapter 1, \Learning the Basics."
iv
Addresses
HP-IB
Default
unit
MMS
Address
HP 70950B/1B/2B OSA module 23
HP 70004A Displa
y
4
CAUTION
N
I
N
R
A
W
Safety Notes
The following safety notes are used throughout this manual. Familiarize
yourself with each of the notes and its meaning before operating this
instrument.
The
caution
note denotes a hazard. It calls attention to a procedure which,
if not correctly performed or adhered to, could result in damage to or
destruction of the instrument. Do not proceed beyond a
caution
note until
the indicated conditions are fully understood and met.
procedure
attention
calls
and
It
adhered
or
warning
a
met.
product
The
,
to
note
marked
is
manual.
the
in
hazard.
denotes
not
.
are
Do
The
for
note
correctly
proceed
not
understood
fully
instruction
to
user
the
warning
G
The
which,
of
loss
if
life
conditions
Instruction
Manual
a
performed
beyond
symbol.
manual
the
to
refer
instructions
to a
could result
until the
this symbol
with
in injury
indicated
is
it
when
or
necessary
L
v
General Safety Considerations
WARNING
IN
RN
WA
N
O
I
T
U
A
C
Before this instrument is switched on
, make sure it has been properly
grounded through the protective conductor of the ac power cable to a
socket outlet provided with protective earth contact.
Any interruption of the protective (grounding) conductor, inside or
outside the instrument, or disconnection of the protective earth terminal
can result in personal injury.
of
the
damage
cause
by
only
circuitry
to
can,
require operation
performed
be
primary
its
sure
.
source
voltage
plugged
could
in.
power
cause
the
make
power
ac
correct
is
which
G
There
personal injury
are
.Be
points
many
Any adjustments
protective covers
instrument
trained
Before
been
has
ailure
F
instrument
the
with
service
instrument
this
adapted
set
to
personnel.
the
when
in
extremely careful.
or service
the
to
power
ac
the
procedures that
switched
is
voltage
input
power
ac
removed should
on,
the
of
to
cable
instrument
the
contacted,
if
vi
Certication
Hewlett-Packard Company certies that this product met its published
specications at the time of shipment from the factory.Hewlett-Packard
further certies that its calibration measurements are traceable to the United
States National Institute of Standards and Technology, to the extent allowed
by the Institute's calibration facility, and to the calibration facilities of other
International Standards Organization members.
Regulatory Information
The specications and characteristics chapter contains regulatory information.
vii
Warranty
This Hewlett-Packard instrument product is warranted against defects in
material and workmanship for a period of one year from date of shipment.
During the warranty period, Hewlett-Packard Company will, at its option,
either repair or replace products which prove to be defective.
For warranty service or repair, this product must be returned to a service
facility designated by Hewlett-Packard. Buyer shall prepay shipping charges
to Hewlett-Packard and Hewlett-Packard shall pay shipping charges to return
duties
product
the
and taxes
.
Buyer
to
for products
However
,
returned to
Buyer
shall
Hewlett-Packard
pay
shipping
all
from
charges
another
,
country
.
,
Hewlett-Packard
Hewlett-P
instructions
does
rmware
Limit
The
or
ackard
when
warrant
not
be
will
of
tion
a
foregoing
inadequate
interfacing,
environmental
maintenance
or
NO
OTHER
W
warrants that
for use
with an
properly installed
the
that
uninterrupted
arranty
W
warranty
maintenance
unauthorized
specications
.
ARRANTY
its software
instrument
operation
error-free
or
not
shall
Buyer
by
modication
for
EXPRESSED
IS
on that
the
of
to
apply
Buyer-supplied
,
or
product,
the
OR
and rmware
execute
will
instrument.
instrument,
.
operation
,
improper
or
resulting
defects
misuse
IMPLIED
designated
programming
its
Hewlett-P
software
or
software
site
HEWLETT-P
.
by
ackard
or
,
improper
from
or
outside
preparation
A
of
CKARD
SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Exclusive Remedies
THE REMEDIES PROVIDED HEREIN ARE BUYER'S SOLE AND EXCLUSIVE
ANY
HEWLETT-P
REMEDIES
DIRECT
AMA
D
.
INDIRECT
,
,
GES
WHETHER
LEGAL THEORY
,
.
CKARD
A
SPECIAL,
ASED
B
SHALL
INCIDENT
CONTRACT
ON
BE LIABLE
NOT
OR CONSEQUENTIAL
AL,
TORT
,
FOR
OTHER
ANY
OR
,
the
viii
Assistance
Product maintenance agreements and other customer assistance agreements
are available for Hewlett-Packard products.
For any assistance, contact your nearest Hewlett-Packard Sales and Service
Oce.
ix
Typesetting Conventions
4
Front-Panel Key
NNNNNNNNNNNNNNNNNNNNNNN
Softkey
Screen Text
5
This represents a key physically located on the instrument.
This indicates a \softkey," a key whose label is determined
by the instrument's rmware.
This indicates text displayed on the instrument's screen.
x
Contents
1. Learning the Basics
Preparing the OSA . . . . . . . . . . . . . . . . .
To prepare the OSA . . . . . . . . . . . . . . . .
Tochange the HP-IB address using switches . . . . .
Tochange the HP-IB address from the front panel . . .
Beginning Your Program . . . . . . . . . . . . . . .
To initialize the bus and the OSA . . . . . . . . . .
Sending Commands
commands
send
o
T
Returning
o
T
Using
o
T
Using
trolling
Con
tering
En
o
T
trolling
Con
Making
Data
v
a
query
Commands
command
a
use
V
MO
the
Program
Data
fron
w
allo
Adv
anced
adv
. .
the
to
alue
.
Argumen
as
argumen
Command
Timing
the
from
t-panel
anced
measurements
.
. .
OSA
the
to
Computer
. .
.
.
.
ts
t
.
.
.
anel
P
t
ron
F
try
en
data
Measuremen
.
.
.
. .
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Programs
t
er
ov
.
.
.
. .
. .
.
.
.
.
. .
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
HP-IB
.
. .
. .
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
1-4
1-7
1-8
1-9
1-10
1-10
1-11
.
.
.
1-13
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1-14
1-16
.
1-17
.
1-17
.
1-18
.
1-19
.
1-21
.
1-21
.
1-22
.
1-22
.
Traces
2.
Using
Dening
o
T
ariables
V
V
create
and
ariables
user-dened
a
. .
. .
. .
. .
.
.
.
.
.
.
. .
.
.
.
ariable
v
.
To erase a user-dened variable . . . . . . . . . . .
Dening Traces . . . . . . . . . . . . . . . . . . .
To create a user-dened trace . . . . . . . . . . . .
To erase a user-dened trace . . . . . . . . . . . .
Using Amplitude Data . . . . . . . . . . . . . . . .
.
.
.
.
.
.
the amplitude
select
o
T
measuremen
ert
v
con
o
T
To return w
Formatting T
avelength and p osition v
race-Data Output
Using Math and Mo
Trace Math Rule 1
Trace Math Rule 2
Trace Math Rule 3
units
t
ve Commands .
. . . . . . . . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . . . . .
.
and
parameter
units
alues .
. . . . . . . . . . . .
. . . . . . . . . .
. . . . .
. . . . . .
2-4
.
.
.
.
. .
. .
2-5
2-5
2-6
2-7
2-7
2-8
2-9
.
. .
.
.
2-9
.
.
. .
.
.
2-9
2-10
2-15
2-16
2-17
. . .
2-17
Contents-1
Trace Math Rule 4 . . . . . . . . . . . . . . . .
3. Controlling Memory
Saving and Recalling Items . . . . . . . . . . . . . .
To select user memory . . . . . . . . . . . . . . .
To catalog memory . . . . . . . . . . . . . . . .
Tosave a le . . . . . . . . . . . . . . . . . . .
To recall a le . . . . . . . . . . . . . . . . . .
Erasing Memory . . . . . . . . . . . . . . . . . .
To erase les . . . . . . . . . . . . . . . . . . .
To erase all memory except correction factors and
serial-number . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
. .
y
. .
.
.
of in
.
. .
.
.
. .
.
.
.
.
ternal
memory
functions .
.
.
.
.
.
.
oerase
T
Protecting
protect
o
T
o
T
o
T
Memory
free
reduce
reeing
F
memory
all
Memory
les
greatest
the
the
from
.
size
for
. .
.
erasure .
. .
.
amount
user-dened
of
securit
. .
2-19
3-4
3-6
3-6
3-6
3-6
3-7
3-9
3-9
3-9
.
.
.
.
.
3-10
.
.
.
.
.
3-10
.
.
.
.
.
3-12
.
.
.
.
.
3-13
.
.
.
.
3-13
.
.
.
.
.
Monitoring
4.
Monitoring
terrupt
In
System
System
Pro
Analyzer Status-Byte
Service-Request Mask
Service-Request
Monitoring
Requests
Debugging Programs . . . . . . . . . . . . . . . . .
To debug a program . . . . . . . . . . . . . . . .
5. Creating Graphics
Clearing the Display.. . . . . . . . . . . . . . . .
the
clear
o
T
create
o
Graphics
a
Creating
T
Drawing Grids
wing Graphics Items
Dra
use a graphics item .
To
To delete a
Displaying T
To displaytext . . . . . . . . . . . . . . . . . .
Contents-2
Operation
.
.
.
.
.
.
.
cess
Examples
System
.
displa
wing
dra
Op
.
y
.
eration
.
.
Op
. .
.
. .
.
.
. .
.
.
Register
.
eration
. .
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
Without Using
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
graphics item .
ext .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Service
.
.
.
. .
.
.
.
.
. .
.
.
.
.
.
.
.
.
. .
.
4-4
.
4-5
.
4-5
.
4-6
.
4-7
.
4-11
.
4-12
4-12
5-4
5-4
.
5-5
5-9
.
5-10
5-11
5-15
5-15
5-16
5-19
To erase text . . . . . . . . . . . . . . . . . . .
Displaying Variables...... ...... ..... .. 5-20
To displayavariable . . . . . . . . . . . . . . . .
To erase displayed variables . . . . . . . . . . . . .
Changing the Scale . . . . . . . . . . . . . . . . .
Using Graphics Windows . . . . . . . . . . . . . . .
To reduce the displayarea . . . . . . . . . . . . .
To create a graphics window . . . . . . . . . . . .
To place a trace in a window . . . . . . . . . . . .
6. Creating Downloadable Programs
Creating a Downloadable Program . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
function
ostore
T
o
T
Creating
Branc
o
T
o
T
o
T
Executing
o
T
o
T
o
T
Building
To
To
Avoiding
Controlling Instruments Over HP-IB . . . . . . . . . .
Tocontrol instruments over HP-IB . . . . . . . . .
a
conrm
hing,
use
use
ab
assign
execute
execute
assign
build in
a function
Activ
an
oping,
Lo
conditional
a
oping
lo
a
ops
lo
ort
User-Dened
function
a
function
a
function
a
USER
Illegal Recursion
Men
function
a
teractiv
and
.
is stored
User-Dened
e
Interrupting
and
branch
construct
user-dened functions
unctions
F
the
to
via
via
.
.
us
the
to
us
men
e
Function
. .
. .
USER
computer
t-panel
fron
.
.
.
4
USER
.
.
.
.
.
. .
.
.
.
.
5
.
.
.
.
.
men
.
men
.
.
. .
. .
.
.
.
u
.
eys
k
.
u
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
5-19
5-20
5-20
5-21
5-24
5-27
5-27
5-27
6-4
.
6-7
6-7
.
6-8
.
6-9
.
6-10
.
6-11
.
6-11
.
6-12
.
6-12
.
6-13
.
6-13
6-14
.
6-17
.
6-17
.
6-18
.
6-19
6-20
7. Language Reference
ABORT . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
ABS
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
CTDEF
A
ARM
CTP
A
ADAPBTL .
ADAPBPCTL . . . . . . . .
ADBTL . . . . . . . . . .
ADCTL . . . . . . . . . . . .
ADCTRG . . . . . . . . . . . .
ADCTRGDLY . . . . . . . . . . . . . . . . . . .
.
.
.
.
. . . . .
.
.
.
.
.
.
.
. .
.
.
.
.
. . . . . . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . .
. . . . . . . . .
7-7
. .
.
.
.
.
.
.
.
.
.
.
.
Contents-3
7-9
7-11
.
.
7-17
7-18
7-20
7-22
7-24
7-26
7-29
ADCTRGSYN . . . . . . . . . . . . . . . . . . .
ADD ......................... 7-32
ALIGN . . . . . . . . . . . . . . . . . . . . . .
ALIGNPRST . . . . . . . . . . . . . . . . . . . .
AMB . . . . . . . . . . . . . . . . . . . . . . .
AMBMC . . . . . . . . . . . . . . . . . . . . . .
AMBMCPL . . . . . . . . . . . . . . . . . . . .
AMBPL . . . . . . . . . . . . . . . . . . . . . .
AMC . . . . . . . . . . . . . . . . . . . . . . .
AMCPL . . . . . . . . . . . . . . . . . . . . . .
AMETER . . . . . . . . . . . . . . . . . . . . .
AMPCOR . . . . . . . . . . . . . . . . . . . . .
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
AMPMKR
AMPU
ANNOFF
ANNOT
.
APB
APBDCTL
UNITS
A
UTO
A
UTOMDB
A
UTOMEAS
A
UTOMMKR
A
UTOMOPT
A
UTOMSP
A
UTORNG
A
.
G
V
A
AXB . . . . . . . . . . . . . . . . . . . . . . . .
AXC. . . . . . . . . . . . . . . . . . . . . . . .
BIT . . . . . . . . . . . . . . . . . . . . . . . .
BLANK . . . . . . . . . . . . . . . . . . . . . .
BML . . . . . . . . . . . . . . . . . . . . . . .
.
BP
.
BTC
.
C
BX
CAL .
CALCOR . .
CALDATA .
CALPWR . . . . .
CALWL . . . . . .
CATALOG . . . . . . . . . . . . . . . . . . . . .
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
ALIGN
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7-31
7-34
7-37
7-38
7-39
7-40
7-41
7-43
7-44
7-45
7-46
7-48
.
7-49
7-53
.
.
7-54
.
7-55
7-56
.
7-58
.
7-60
.
7-61
.
7-62
.
7-63
.
7-64
.
7-65
.
7-66
.
7-67
.
7-69
7-70
7-71
7-73
7-74
7-75
.
7-76
.
7-77
.
7-78
7-80
7-82
7-84
7-86
7-88
Contents-4
CENTERWL . . . . . . . . . . . . . . . . . . . .
CHEIGHT .. ...... ...... ...... ... 7-94
CHOP . . . . . . . . . . . . . . . . . . . . . . .
CLRDSP . . . . . . . . . . . . . . . . . . . . . .
CLRW. . . . . . . . . . . . . . . . . . . . . . .
CLS . . . . . . . . . . . . . . . . . . . . . . . .
COMPRESS . . . . . . . . . . . . . . . . . . . .
CONCAT . . . . . . . . . . . . . . . . . . . . .
CONFIG . . . . . . . . . . . . . . . . . . . . . .
CONTS . . . . . . . . . . . . . . . . . . . . . .
CORSEL . . . . . . . . . . . . . . . . . . . . . .
CORTOLIM . . . . . . . . . . . . . . . . . . . .
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
CWIDTH
DEBUG
DELETE
DFB .
DISPOSE
DISPU
.
DIV
.
DL
DONE
Y
DSPL
DSPMODE
DSPTEXT
WINDO
D
ENTER
ERASE
ERR . . . . . . . . . . . . . . . . . . . . . . . .
EXP . . . . . . . . . . . . . . . . . . . . . . . .
FETCH . . . . . . . . . . . . . . . . . . . . . .
FFT . . . . . . . . . . . . . . . . . . . . . . . .
FFTKNL . . . . . . . . . . . . . . . . . . . . . .
ORMA
F
FP .
FP MKBW
FP TH .
.
FS .
FUNCDEF .
GATESWP .
GRAPH . . . . . . .
GRAT . . . . . . . . . . . . . . . . . . . . . . .
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
W
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
T
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . .
. . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7-92
7-95
7-96
7-97
7-98
7-99
7-101
7-103
7-104
7-105
7-106
7-107
7-108
7-110
7-111
7-113
7-116
7-117
7-119
7-121
7-122
7-124
7-126
7-128
7-131
7-133
7-134
7-135
7-137
7-138
7-143
7-144
7-145
7-147
7-148
7-149
7-150
7-153
7-155
7-157
Contents-5
GRATORDER . . . . . . . . . . . . . . . . . . .
GRATSCRL....................... 7-160
GRID . . . . . . . . . . . . . . . . . . . . . . .
HD . . . . . . . . . . . . . . . . . . . . . . . .
ID . . . . . . . . . . . . . . . . . . . . . . . . .
IF/THEN . . . . . . . . . . . . . . . . . . . . .
IGEN . . . . . . . . . . . . . . . . . . . . . . .
IGENDTYCY . . . . . . . . . . . . . . . . . . .
IGENLIMIT . . . . . . . . . . . . . . . . . . . .
IGENPW . . . . . . . . . . . . . . . . . . . . .
INSTMODE . . . . . . . . . . . . . . . . . . . .
INT . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
IP
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
IT
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
IWINDO
KEYCLR
KEYDEF
KEYPST
LED .
LG
LIGHT
LIMIAMP
LIMIBEEP
LIMIBOT
LIMIDEL
LIMIDONE
LIMIEDIT
LIMIFAIL . . . . . . . . . . . . . . . . . . . . .
LIMIHALF . . . . . . . . . . . . . . . . . . . . .
LIMILINE . . . . . . . . . . . . . . . . . . . . .
LIMINEXT . . . . . . . . . . . . . . . . . . . . .
LIMIRCL . . . . . . . . . . . . . . . . . . . . .
LIMIREL
LIMISA
LIMISCRL
LIMISDEL .
LIMISEG . .
LIMITEST .
LIMITYPE .
LIMIWL .
LIMTOCOR . . . . . . . . . . . . . . . . . . . .
W
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
V
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . .
. . . .
. . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
.
. .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7-158
7-161
7-163
7-164
7-165
7-167
7-169
7-171
7-173
7-175
7-178
7-180
7-183
7-186
7-187
7-188
7-192
7-193
7-195
7-196
7-197
7-198
7-199
7-200
7-201
7-202
7-203
7-205
7-206
7-208
7-209
7-210
7-211
7-212
7-213
7-214
7-216
7-219
7-221
7-223
Contents-6
LINES . . . . . . . . . . . . . . . . . . . . . . .
LINET...... ..... ...... ...... .. 7-225
LN . . . . . . . . . . . . . . . . . . . . . . . .
LOAD . . . . . . . . . . . . . . . . . . . . . . .
LOG . . . . . . . . . . . . . . . . . . . . . . . .
MDS . . . . . . . . . . . . . . . . . . . . . . .
MEAN . . . . . . . . . . . . . . . . . . . . . . .
MEASU . . . . . . . . . . . . . . . . . . . . . .
MEASURE . . . . . . . . . . . . . . . . . . . . .
MEM . . . . . . . . . . . . . . . . . . . . . . .
MIN . . . . . . . . . . . . . . . . . . . . . . . .
MINH . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
MK
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
MKA
MKA
MKAL
MKAR
MKBW
MKBW
MK
MK
MKD
MKD
MKDREF
MKDREFF
MKMIN
MKN
MKNOISE . . . . . . . . . . . . . . . . . . . . .
MKOFF . . . . . . . . . . . . . . . . . . . . . .
MKP . . . . . . . . . . . . . . . . . . . . . . .
MKPABS . . . . . . . . . . . . . . . . . . . . .
MKPAUSE . . . . . . . . . . . . . . . . . . . . .
MKPITX
MKPK
MKPX
MKREAD .
MKRL .
MKSP .
MKSS . . . . .
MKSTOP . . . . . . .
MKT . . . . . . . . . . . . . . . . . . . . . . .
. .
CT
.
.
A
CONT
CWL
.
CT?
A
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
A
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
.
. . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7-224
7-226
7-227
7-230
7-232
7-235
7-237
7-243
7-245
7-247
7-249
7-250
7-252
7-254
7-256
7-258
7-260
7-262
7-264
7-265
7-266
7-268
7-269
7-271
7-273
7-274
7-276
7-278
7-279
7-281
7-283
7-285
7-287
7-289
7-291
7-293
7-294
7-295
7-296
7-297
Contents-7
MKTRACE . . . . . . . . . . . . . . . . . . . .
MKTRACK ........ ...... ...... ... 7-300
MKTUNE . . . . . . . . . . . . . . . . . . . . .
MKTV . . . . . . . . . . . . . . . . . . . . . . .
MKTYPE . . . . . . . . . . . . . . . . . . . . .
MKWL . . . . . . . . . . . . . . . . . . . . . .
MOD . . . . . . . . . . . . . . . . . . . . . . .
MODADD . . . . . . . . . . . . . . . . . . . . .
MODID . . . . . . . . . . . . . . . . . . . . . .
MOV . . . . . . . . . . . . . . . . . . . . . . .
MPY . . . . . . . . . . . . . . . . . . . . . . .
MSG . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
MSI
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
A
W
TE
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
W
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
. .
.
. .
.
.
.
MXM
MXMH
NORM
NST
ONEOS
ONMENU
ONMKR
ONUSER
ONWINDO
OP
OPTSW
OR
OUTPUT
VR
O
PA . . . . . . . . . . . . . . . . . . . . . . . .
PAUSE . . . . . . . . . . . . . . . . . . . . . .
PD . . . . . . . . . . . . . . . . . . . . . . . .
PDA. . . . . . . . . . . . . . . . . . . . . . . .
PDL . . . . . . . . . . . . . . . . . . . . . . .
PDLCALC
PDLDEV
PDL DEV?
PDLEXIT .
PDLINIT . .
PDLREV . . . .
PDL REV? .
PDLSCALE . . . . . . .
PDLSRC. . . . . . . . . . . . . . . . . . . . . .
.
. .
.
. .
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7-299
7-301
7-303
7-305
7-307
7-309
7-311
7-313
7-316
7-318
7-320
7-322
7-324
7-326
7-327
7-329
7-331
7-333
7-335
7-337
7-339
7-341
7-342
7-343
7-345
7-348
7-349
7-351
7-352
7-353
7-356
7-358
7-359
7-360
7-361
7-362
7-363
7-364
7-365
7-367
Contents-8
PDL SRC? . . . . . . . . . . . . . . . . . . . . .
PDMEAS........................ 7-370
PDWL . . . . . . . . . . . . . . . . . . . . . . .
PEAKS . . . . . . . . . . . . . . . . . . . . . .
PEN . . . . . . . . . . . . . . . . . . . . . . . .
PERASE . . . . . . . . . . . . . . . . . . . . . .
PERSIST . . . . . . . . . . . . . . . . . . . . .
PLOT . . . . . . . . . . . . . . . . . . . . . . .
POSU . . . . . . . . . . . . . . . . . . . . . . .
POWERON . . . . . . . . . . . . . . . . . . . .
PR . . . . . . . . . . . . . . . . . . . . . . . .
PREFX . . . . . . . . . . . . . . . . . . . . . .
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
OTECT
PR
ATE
PST
.
PU
GE
PUR
PWRBW
.
RB
.
RBR
CLD
R
CLS
R
T
CL
R
CLU
R
READMENU
RELHPIB
REPEA
RETURN
REV . . . . . . . . . . . . . . . . . . . . . . . .
RL . . . . . . . . . . . . . . . . . . . . . . . .
RLPOS . . . . . . . . . . . . . . . . . . . . . .
RMS . . . . . . . . . . . . . . . . . . . . . . . .
ROFFSET . . . . . . . . . . . . . . . . . . . . .
.
QS
R
VED
SA
VES
SA
SAVET
SAVEU .
SCALE . . . .
SENS . . . . .
SER .
SMOOTH . . . . . . . . . . . . . . . . . . . . .
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
.
.
.
.
.
.
.
.
.
UNTIL
T/
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . .
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. .
.
. .
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7-369
7-372
7-374
7-378
7-380
7-382
7-383
7-385
7-389
7-390
7-392
7-394
7-398
7-399
7-400
7-401
7-405
7-407
7-408
7-410
7-411
7-412
7-413
7-415
7-416
7-418
7-420
7-421
7-423
7-424
7-426
7-427
7-429
7-431
7-433
7-434
7-435
7-438
7-440
7-441
Contents-9
SNGLS . . . . . . . . . . . . . . . . . . . . . .
SP ...... ...... ...... ...... .. 7-444
SQR . . . . . . . . . . . . . . . . . . . . . . . .
SRINPUT . . . . . . . . . . . . . . . . . . . . .
SRQ. . . . . . . . . . . . . . . . . . . . . . . .
SS . . . . . . . . . . . . . . . . . . . . . . . . .
ST . . . . . . . . . . . . . . . . . . . . . . . .
STARTUP . . . . . . . . . . . . . . . . . . . . .
STARTWL . . . . . . . . . . . . . . . . . . . . .
STATE . . . . . . . . . . . . . . . . . . . . . .
STB . . . . . . . . . . . . . . . . . . . . . . . .
STDEV . . . . . . . . . . . . . . . . . . . . . .
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
V
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
.
. . . . . . . . . . . . . . . . . . .
. . . . .
. . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
. .
. .
.
.
.
.
.
.
.
.
. .
STOPWL
STOR
STORREF
.
SUB
.
SUM
SUMSQR
SWEEP
SWPMODE?
.
TDF
TEST
TEXT
.
TH
THREED
THREEDH
THREED
TIME . . . . . . . . . . . . . . . . . . . . . . .
TITLE . . . . . . . . . . . . . . . . . . . . . . .
TM . . . . . . . . . . . . . . . . . . . . . . . .
TP . . . . . . . . . . . . . . . . . . . . . . . .
TRA/TRB/TRC . . . . . . . . . . . . . . . . . .
COND
TR
TRDEF
TRDSP
TRNSZLOCK .
TRPST . .
TRSTAT.
TS . . . . .
TWNDOW.
USERERR . . . . . . . . . . . . . . . . . . . . .
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7-443
7-446
7-448
7-449
7-451
7-453
7-455
7-457
7-459
7-460
7-462
7-464
7-466
7-469
7-470
7-472
7-474
7-476
7-477
7-478
7-481
7-482
7-484
7-486
7-488
7-490
7-492
7-493
7-495
7-497
7-499
7-503
7-506
7-508
7-509
7-510
7-511
7-513
7-514
7-517
Contents-10
USERKEY . . . . . . . . . . . . . . . . . . . . .
USERLOCK ...................... 7-520
USERMSG . . . . . . . . . . . . . . . . . . . . .
USERWARN . . . . . . . . . . . . . . . . . . . .
USTATE . . . . . . . . . . . . . . . . . . . . . .
VARDEF . . . . . . . . . . . . . . . . . . . . . .
VARIANCE . . . . . . . . . . . . . . . . . . . .
VAVG . . . . . . . . . . . . . . . . . . . . . . .
VB . . . . . . . . . . . . . . . . . . . . . . . .
VIEW . . . . . . . . . . . . . . . . . . . . . . .
VTDL . . . . . . . . . . . . . . . . . . . . . . .
VTH . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
VTL
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
VW
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
AIT
W
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
O
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
ARN?
W
ARNCTRL
W
WLLIMIT
WLMKRL
WLMKRR
WLOFFSET
WLUNITS
XAMPSW
CH
X
XERR
ARN
XW
ZER
ZOOMRB . . . . . . . . . . . . . . . . . . . . .
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
7-518
7-521
7-522
7-524
7-526
7-528
7-530
7-532
7-534
7-535
7-537
7-539
7-541
7-542
7-543
7-545
7-546
7-547
7-548
7-549
7-551
7-555
7-556
7-558
7-559
7-561
7-562
8. Tables and Charts
Index
Contents-11
Contents
1
Learning
the
Basics
Learning the Basics
This chapter contains basic, remote program information, for the operation of
an optical spectrum analyzer. In addition to learning how to send commands
and receive data, you can learn about a debugging feature for locating
programming errors.
1-2
Contents
Learning the Basics
Preparing the OSA
To prepare the OSA
:::::: :::::: ::::::: ::::::: :::::: ::::::: ::::::: :::::: ::
::::::: ::::::: :::::: ::::::: ::::::: :::::: ::::::: :::
To change the HP-IB address using switches
To change the HP-IB address from the front panel
Beginning Your Program
To initialize the bus and the OSA
Sending Commands
To send commands to the OSA
Returning Data to the Computer
To query a value
Commands
Using
use
o
T
the MO
Using
Controlling
T
o
Data
allow
Entering
Controlling
Making
a
advanced
as
command
Command
V
Program
from
front-panel
dvanced
A
:::::: ::::::: :::::: ::::::: ::::::: ::::::: :::::: :
::::::: :::::: ::::::: ::::::: :::::: ::
::::: ::::::: ::::::: :::::: ::::::: ::::::: :::::: :::::::
:::::: ::::::: :::::: ::::::: ::::::: :::::
:::::: :::::: ::::::: ::::::: :::::: :::::::
::::: ::::::: ::::::: :::::: ::::::: ::::::: :::::: :::::::
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
anel
P
entry
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
Programs
over
:
:
:
:
:
::
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
HP-IB
::
::
::
::
:
:
:
:
:
:
:
:
:
:
:
:
Arguments
argument
Timing
Front
the
data
Measurement
measurements
:::::::::::::::::::::::::
:::::::::::::::::::
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
::
::
:
:
:
:
:
:
:
:
:
:
:
:
:
:
::
::
:
:
:
:
:
:
:
:
:
:
:
:
:
::
::
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
::
::
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
::
:
:
:
:
::
:
:
:
::
:
:
::
1-4
1-7
1-8
1-9
1-10
1-10
1-11
1-13
1-14
1-16
1-17
:
:
:
:
1-17
::
::
:
1-18
::
1-19
:
:
:
:
:
1-21
:
:
:
:
:
1-21
:
:
:
:
:
1-22
:
:
:
:
1-22
:
:
:
:
:
1-3
Preparing the OSA
When preparing the OSA for programming, you must connect the HP-IB
cables, conrm the HP-IB address, and reset all instruments connected to the
bus.
Typically, you will use the default address setting provided in the introduction
of this book. However, the OSA's HP-IB address can be changed using
front-panel keys or manually by changing SWITCHESnMEMORY on the HP
70950B/1B/2B module. The switches are located on the module cover.
illustration below
In the
half-white (on
position).
, the
rectangles
half-black
are
(o
position)
and
1-4
Learning the Basics
Preparing the OSA
OSA Address Switches
In this gure, switches
numbers
switches
control.
HP-IB
The
COLUMN
which
for
position
optical
the
switches select the HP-IB address and correspond
ROW 1,ROW 2
module
the
spectrum
module
,and
ROW 3
vertically
address must
column-address numbers on the address map
numbers in parentheses
switches. The column or
parentheses beside each switch that is
which indicate the binary value of the individual
row address is the sum of the values in the
set to 1. F
correspond to row-address
.
be
set
map
to
0
in the
address
to the
. Next to each switch
or example
, a column
The
to
are
row
allow
1-5
Learning the Basics
Preparing the OSA
address of 23 is selected by setting column switches 1, 2, 3, and 5 to 1, and
setting column switch 4 to 0. (23 = 1 + 2 + 4 + 0 + 16.)
Illegal Addresses
HP-IB address 31 and HP-MSIB address 0, 31 are illegal and cannot be used.
following
the
Set the
list:
following OS
:
:
:
::
::
HP-IB
SWITCHES/MEMORY
MASTER/SLA
NORMAL/TEST
:
VE
Amodule
:
:
:
:
:
:
:
:
:
:
:
:
:
switches
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
::
::
:
:
:
:
::
::
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
to
:
:
:
:
:
:
:
:
:
:
:
::
::
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
settings
the
shown
:
:
:
:
:
:
:
:
:
:
::
::
:
::
::
:
:
:
::
:
:
:
:
:
in
:
:
:
:
:
:
:
:
:
:
:
:
::
::
:
:
:
MEMORY
:
:
:
:
:
:
:
:
:
:
:
:
:
MASTER
:
:
:
:
:
:
:
:
:
:
:
:
:
NORMAL
:
:
:
:
:
:
:
:
:
:
:
:
:
ON
the
On
STEM
SY
ALK
T
TEST
a
or
F
Optical
1-6
display
CONTROLLER
Y
ONL
MODE
complete
Spectrum
mainframe
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
discussion
Analyzer
module
or
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
switch
of
Installation
:
::
:
:
:
:
::
:
,
::
:
:
:
:
:
:
:
::
settings
three
:
:
:
:
:
:
:
:
:
:
:
and
switches
:
:
:
:
:
:
:
:
:
:
:
:
:
,
V
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
to
refer
erication
should
:
:
:
:
::
:
:
:
:
:
:
:
the
Manual
set
be
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
::
::
71450B/1B/2B
HP
.
as follows:
(OFF)
0
:
:
:
(OFF)
0
:
:
:
(OFF)
0
:
:
:
Learning the Basics
Preparing the OSA
To prepare the OSA
1. Connect an HP-IB cable between the computer's HP-IB connector and the
HP-IB connector on the HP 70000 modular measurement system's rear
panel.
HP 70950B/1B/2B OSA modules do not have an HP-IB connector.
Use the connector that is located on the mainframe in which the module
is installed. Be careful not to confuse the display or mainframe's HP-IB
connector with any connectors that may be present on the rear panel of
2.
3.
On
Turn
map
any modules
press
A,
OS
the
front-panel
the
.
in the
4
DISPLA
HP
knob
70000
and
,
5
Y
until
modular
then
OS
the
measurement
N
N
N
N
N
N
N
N
press
Address
module
A
N
N
N
N
N
N
NN
NN
NN
NN
N
N
N
appears
system.
N
N
N
N
N
N
N
N
N
N
.
Map
the
in
address
The
module
Ensure
4.
70205
HP
Reset all
5.
and
Most
key
on, to reset it.
HP-IB
is
that
or
instruments
on
then
peripherals
you
If
.
address
listed.
SYSTEM
the
70206
HP
again.
are
identical
is
The
display
connected
plotters
like
not sure
to
be
must
A
OS
CONTROLLER
modules)
to
printers are
or
how to
reset a
the
the
address
shown
switch
is
bus
device,
set
by
map
row
in
the
on
0
to
turning
reset by
0
HP
(OFF).
cycle
column
the
of
70004A
the
pressing a
power
its
where
map
line
.
display
power
reset
o,
the
(or
o
then
1-7
Learning the Basics
Preparing the OSA
To change the HP-IB address using switches
The HP-IB address is forced to the switch address setting when the OSA
module SWITCHES/MEMORY selector is set to SWITCHES.
NOTE
The SWITCHES setting must be selected. The MEMORY setting is the factory default setting.
1.
2.
3.
4.
Turn
mainframe
the
Locate
the
Set
sure
Be
line-power
any
o
.
switches
the
SWITCHES/MEMORY
three
the
,
the
on
switches
(OFF).
5.
Set
the
F
ve
the
numbers
example
or
COLUMN
in
,
switches
parenthesis)
the switches
to set
1, 2, 3, and COLUMN 5 to 1 (ON).
and
top
labeled
remove
the
of
selector
so that
add up
HP
the
module
the
to
RO
1,
W
RO
their added
to the
HP-IB value
for address
70950B/1B/2B
.
SWITCHES
and
2,
W
values
that you
23, set
switches
module
position.
3
W
RO
indicated
(as
from
set
are
want.
COLUMN
to
0
by
1-8