Agilent 83480A Programmer's Guide

Programmer's Guide
HP
83480A
Analyzer
,
HP 54750A Oscilloscope
HP part number: 83480-90023
Printed in USA July 1997
The information contained in this document is subject to change without
notice.
Hewlett-Packard makes no warranty of any kind with regard to this material,
including but not limited to, the implied warranties of merchantability and
tness for a particular purpose. Hewlett-Packard shall not be liable for errors
contained herein or for incidental or consequential damages in connection
material.
this
of
use
or
with
furnishing,
the
performance
,
c
Copyright Hewlett-Packard Company 1997
All Rights Reserved. Reproduction, adaptation, or translation without prior
written permission is prohibited, except as allowed under the copyright laws.
1400 Fountaingrove Parkway, Santa Rosa, CA 95403-1799, USA
R
MS-DOS
is a U.S. registered trademark of Microsoft Corporation.
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.
WARNING
N
O
I
T
U
A
C
Warning denotes a hazard. It calls attention to a procedure which, if not
correctly performed or adhered to, could result in injury or loss of life.Do
not proceed beyond a warning note until the indicated conditions are
fully understood and met.
Caution
correctly
instrument.
the
of
conditions
denotes
performed
fully
are
hazard.
a
or
not
Do
understood
calls
It
adhered
proceed
attention
would
,
to
beyond
met.
and
to
result
caution
a
procedure that,
a
damage to
in
until
sign
if not
or destruction
the indicated
iv
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.
the
of
damage
cause
by
only
circuitry
to
can,
require operation
performed
be
primary
its
sure
.
source
voltage
plugged
could
in.
power
cause
make
power
ac
correct
is
which
G
There
personal injury
are
.Be
points
many
Any adjustments
protective covers
service
instrument
this
adapted
set
to
with
personnel.
the
when
instrument
trained
Before
been
has
ailure
F
instrument
the
in
extremely careful.
or service
the
to
power
ac
the
procedures that
switched
is
voltage
input
power
ac
removed should
on,
the
of
the
to
cable
instrument
the
contacted,
if
v
Typeface conventions
WARNING
N
O
I
T
U
A
C
4
Front-Panel Key
NNNNNNNNNNNNNNNNNNNNNNN
Softkey
5
This represents a key physically located on the instrument.
This indicates a \softkey," a key whose label is determined
by the rmware of the instrument.
Screen Text
This indicates text displayed on the instrument's screen.
This symbol will appear along with bold print to highlight a warning.
required.
is
an important
to
care
point
text.
the
in
This
N
This
symbol
E
T
O
symbol
will
will
appear
appear
call
to
when
attention
special
vi
Contents
1. Programming
Introduction . . . . . . . . . . . . . . . . . . . .
Sending Commands to the Instrument . . . . . . . . .
Returning Data to the Computer . . . . . . . . . . .
Sending and Receiving Binary Data . . . . . . . . . .
Making a Measurement . . . . . . . . . . . . . . .
Monitoring the Instrument . . . . . . . . . . . . . .
Status Rep
Queues
Instrumen
Example
Digitize
Results?
Learn
Service
Conguration
Limit
Automated
Diagram
e
Ey
Messages
Error
orting Registers
.
.
.
.
k
c
Blo
t
Programs
Example
Measuremen
String
Example
Request
Example
Example
est
T
STM-16
Measurement
.
.
.
.
Diagram
.
.
.
.
t
Example
.
Measuremen
. .
. .
. .
. .
. .
.
.
.
.
.
.
.
.
Example
.
.
.
.
.
.
.
.
.
Example .
.
.
. .
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
t
.
.
.
.
. .
. .
. .
. .
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Example
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
1-5
1-7
1-11
1-13
1-14
1-17
1-20
.
.
.
.
.
1-30
.
.
.
.
.
1-32
.
.
.
.
1-34
.
.
.
.
.
1-35
.
.
.
.
.
1-41
.
. .
.
.
1-44
.
.
.
.
.
1-48
.
.
.
.
.
1-51
.
.
.
.
.
1-52
.
.
.
.
.
1-56
.
.
.
.
.
1-60
.
.
.
.
.
1-63
.
.
.
.
.
2.
Common
*CLS
Commands
(Clear
Status)
. .
. .
.
.
.
.
.
.
.
.
*ESE (Event Status Enable) . . . . . . . . . . . .
*ESR? (Event Status Register) . . . . . . . . . . .
*IDN? (Identication Number) . . . . . . . . . . .
*LRN (Learn) . . . . . . . . . . . . . . . . . .
*OPC (Operation Complete) . . . . . . . . . . . .
. .
.
.
.
.
.
.
.
.
.
.
(Recall)
CL
*R
*RST
*SAV(Sa
(Reset)
ve) . . . . . . . . . . . . .
*SRE (Service Request Enable)
*STB? (Status Byte)
*TRG(T
*TST? (T
*WAI (W
rigger) .
est) .
ait-to-Continue) . . . . . . . . . . . .
. .
.
.
.
. .
.
.
.
.
.
.
.
.
.
. . . . . .
. . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . .
. . . . . . .
.
. .
.
.
.
.
2-4
.
.
2-5
2-7
2-9
2-10
2-11
2-13
.
.
2-13
.
.
2-17
2-17
2-19
2-21
2-21
.
2-22
Contents-1
3. Root Level Commands
AER? (Arm Event Register) . . . . . . . . . . . .
AUToscale . . . . . . . . . . . . . . . . . . . .
BLANk . . . . . . . . . . . . . . . . . . . . .
CDISplay . . . . . . . . . . . . . . . . . . . .
DIGitize . . . . . . . . . . . . . . . . . . . . .
ERASe . . . . . . . . . . . . . . . . . . . . . .
HEEN (Histogram Event Enable register) . . . . . .
HER? (Histogram Event Register) . . . . . . . . .
LER? (Local Event Register) . . . . . . . . . . . .
LTEE (Limit Test Event Enable register) . . . . . .
LTER? (Limit Test Event Register . . . . . . . . .
MENU
MER
MODel?
MTEE
MTER?
OPEE
OPER?
PRINt
RECall:SET
UN
R
SERial
SINGle
STOP
.
Ge .
(Mask
(Mask
(Op
(Op
.
.
.
(Serial
.
.
.
.
.
Ev
eration
eration
.
.
up
.
.
Num
.
.
.
.
.
.
.
.
en
est
T
.
.
.
. .
.
.
.
.
.
.
.
.
.
STORe:PMEMory1
.
STORe:SET
up
STORe:WAVeform . . . . . . . . . . . . . . . . .
TEER (Trigger Event Enable Register) . . . . . . .
TER? (Trigger Event Register) . . . . . . . . . . .
UEE (User Event Enable register) . . . . . . . . .
UER? (User Event Register) . . . . . . . . . . . .
.
.
.
.
VIEW
.
.
.
.
.
.
.
Enable
t
en
Ev
Status
Status
. .
.
.
.
.
er)
b
. .
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
Register)
t
Enable
Register)
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
register)
register)
.
.
.
.
. .
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
. .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
3-7
3-7
3-9
3-9
3-10
3-12
3-13
3-13
3-14
3-15
3-16
3-17
.
.
3-18
3-19
.
3-20
.
3-21
.
3-21
.
3-22
.
3-23
.
3-24
.
3-24
.
3-25
.
3-26
.
3-26
.
3-27
.
3-27
3-27
3-28
3-29
3-30
3-30
3-31
.
System
4.
Contents-2
Commands
DATE . . . . . . . . . . . . . . .
DSP .
. . . . . . . . . . . . . . . . .
. . . . . . .
. . . . .
ERRor? . . . . . . . . . . . . . . . . . . . .
HEADer . . . . . . . . . . . . . . . . . . . . .
KEY .
. . . . . . . . . . . . . . . . . . . . . .
LONGform . . . . . . . . . . . . . . . . . . . .
4-3
4-4
.
4-5
4-7
4-8
4-11
SETup . . . . . . . . . . . . . . . . . . . . . .
TIME ........................ 4-14
5. Acquire Commands
AVERage . . . . . . . . . . . . . . . . . . . .
BEST (
HP 54750A Only
COUNt . . . . . . . . . . . . . . . . . . . . .
POINts . . . . . . . . . . . . . . . . . . . . .
6. Calibration Commands
FRAMe:CANCel . . . . . . . . . . . . . . . . .
FRAMe:CONTinue . . . . . . . . . . . . . . . .
A .
T
FRAMe:D
FRAMe:DONE?
FRAMe:LABel
A
.
.
FRAMe:MEMory?
.
t
FRAMe:ST
FRAMe:TIME?
OUTPut
PLUGin:A
AR
.
.
.
.
.
CCuracy
PLUGin:CANCel
PLUGin:CONTin
ue
PLUGin:DONE? .
PLUGin:MEMory? .
PLUGin:OFFSet
er
PLUGin:OPO
W
PLUGin:OPTical
PLUGin:OWAVelength . . . . . . . . . . . . . . .
PLUGin:TIME? . . . . . . . . . . . . . . . . . .
PLUGin:VERTical . . . . . . . . . . . . . . . .
PROBe . . . . . . . . . . . . . . . . . . . . .
SAMPlers . . . . . . . . . . . . . . . . . . . .
.
.
.
.
A
T
us?
.
.
.
.
.
SKEW
ST
) ............ .. 5-3
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
4-12
5-3
5-4
5-5
6-4
6-5
6-5
.
6-6
6-6
.
6-7
.
6-7
.
6-8
.
6-8
.
6-9
.
6-9
.
6-9
.
6-10
.
6-10
.
6-11
.
6-11
.
6-12
.
6-12
6-13
6-13
6-14
6-14
6-15
.
6-15
Contents-3
7. Channel Commands
AUToscale . . . . . . . . . . . . . . . . . . . .
BANDwidth . . . . . . . . . . . . . . . . . . .
DISPlay . . . . . . . . . . . . . . . . . . . . .
FDEScription . . . . . . . . . . . . . . . . . .
FILTer . . . . . . . . . . . . . . . . . . . . .
FSELect . . . . . . . . . . . . . . . . . . . . .
OFFSet ....................... 7-9
PROBe . . . . . . . . . . . . . . . . . . . . .
PROBe:CALibrate . . . . . . . . . . . . . . . .
RANGe . . . . . . . . . . . . . . . . . . . . .
SCALe . . . . . . . . . . . . . . . . . . . . .
.
.
SKEW
UNITs
UNITs:A
.
. .
TT
uation
en
.
UNITs:OFFSet
.
.
.
.
.
.
.
.
.
.
.
.
.
8.
V
A
W
Commands
Disk
DELete
DIRectory?
ORMat
F
AD
LO
STORe
elength
.
7-3
7-4
7-5
7-6
7-7
7-8
7-10
7-11
7-12
7-13
7-14
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
7-15
7-16
.
7-17
.
.
7-18
8-3
.
8-3
.
8-4
.
8-4
.
8-5
.
Display
9.
Contents-4
Commands
ASSign
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
CGRade . . . . . . . . . . . . . . . . . . . . .
CGRade:LEVels? . . . . . . . . . . . . . . . . .
COLumn . . . . . . . . . . . . . . . . . . . .
DATA . . . . . . . . . . . . . . . . . . . . . .
DCOLor (Default COLor) . . . . . . . . . . . . .
eform
V
A
W
D
ORMat
F
Ticule
GRA
INVerse . . . . . .
LINE . . . . . . . . .
(Dra
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. . . . . . . . . . . . . . .
. . . . . . . . . . . . .
eform) .
V
A
W
w
MASK . . . . . . . . . .
PERSistence . . . . . . . . . . . .
ROW . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. . . . . . . . . . .
. . . . . . .
. . . . . . . . . . .
.
.
.
.
.
.
.
SCOLor . . . . . . . . . . . . . . . . . . . . .
9-3
.
9-4
9-6
9-7
9-8
9-10
9-11
.
9-12
.
9-13
.
9-14
9-15
9-15
9-18
9-19
9-20
SOURce . . . . . . . . . . . . . . . . . . . . .
STRing .... ........ ........ ... 9-24
TEXT . . . . . . . . . . . . . . . . . . . . . .
10. FFT Commands
DISPlay . . . . . . . . . . . . . . . . . . . . .
FREQuency . . . . . . . . . . . . . . . . . . .
MAGNify . . . . . . . . . . . . . . . . . . . .
MSPan . . . . . . . . . . . . . . . . . . . . .
OFFSet . . . . . . . . . . . . . . . . . . . . .
RANGe . . . . . . . . . . . . . . . . . . . . .
SOURce . . . . . . . . . . . . . . . . . . . . .
WINDo
w .
9-23
9-24
10-3
10-4
10-5
10-6
10-7
10-8
10-9
10-10
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
11.
Function
ADD
BWLimit
DIFF
DISPla
DIVide
FFT:FREQuency
FFT:MA
FFT:MSPan
FFT:WINDow
FFTMagnitude
HORizon
HORizon
HORizontal:RANGe . . . . . . . . . . . . . . .
INTegrate . . . . . . . . . . . . . . . . . . . .
INVert . . . . . . . . . . . . . . . . . . . . .
MAGNify . . . . . . . . . . . . . . . . . . . .
MAXimum . . . . . . . . . . . . . . . . . . . .
MINim
MUL
OFFSet
ONLY . . . . . .
RANGe . . . . . . . . .
SUBTract . . . . . . . . .
VERSus . . . . . . . . . . . .
VERTical . . . . . . . . . . . .
VERTical:OFFSet . . . . . . . . . . . . . . . .
Commands
.
.
.
.
tiate
eren
.
.
y
.
.
GNify
tal
tal:POSition
.
um
Tiply
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
. . . . . . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . .
. . . . . . . .
11-4
.
.
.
.
11-5
.
.
.
.
11-6
.
.
.
.
11-7
.
.
.
.
11-8
.
.
.
.
11-9
.
.
.
.
11-9
.
.
.
.
11-10
.
.
.
.
11-11
.
.
.
.
11-12
.
.
.
.
11-13
.
.
.
.
11-14
.
.
.
.
11-15
11-16
11-17
11-18
11-19
11-20
.
.
.
.
11-21
.
.
.
.
11-22
.
.
.
.
11-23
11-25
11-26
11-27
11-28
11-29
Contents-5
VERTical:RANGe . . . . . . . . . . . . . . . .
12. Hardcopy Commands
ADDRess . . . . . . . . . . . . . . . . . . . .
AREA . . . . . . . . . . . . . . . . . . . . .
BACKground . . . . . . . . . . . . . . . . . .
DESTination . . . . . . . . . . . . . . . . . . .
DEVice . . . . . . . . . . . . . . . . . . . . .
FACTors . . . . . . . . . . . . . . . . . . . .
FFEed (Form FEed) . . . . . . . . . . . . . . .
FILename . . . . . . . . . . . . . . . . . . . .
LENGth . . . . . . . . . . . . . . . . . . . . .
.
.
MEDia
. .
11-30
12-3
12-4
12-5
12-6
12-7
12-8
12-9
12-10
12-11
12-12
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Histogram
13.
AXIS
MODE
RRA
UNTil
R
SCALe
SCALe:OFFSet
SCALe:RANGe
SCALe:SCALe .
SCALe:TYPE .
WINDo
WINDo
WINDo
WINDow:X2Position . . . . . . . . . . . . . . .
WINDow:Y1Position . . . . . . . . . . . . . . .
WINDow:Y2Position . . . . . . . . . . . . . . .
14. Limit Test Commands
AIL
F
LLIMit
MNF
RUN (R
SOURce
SSCReen .
SSCReen:DDISk . . .
SSCReen:DDISk:BACKground . . .
SSCReen:DDISk:MEDia . . . . . . . . . . . . . .
Commands
.
.
.
.
.
.
.
.
.
.
.
.
.
e
T
.
.
.
.
.
.
.
.
.
.
w:DEF
w:SOURce
w:X1P
.
ound
ault
osition
. .
.
.
.
.
.
.
.
.
.
.
UMode) . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
13-4
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
13-5
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
13-6
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
13-7
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
13-8
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
13-9
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
13-10
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
13-11
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
13-13
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
13-14
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
13-15
.
.
.
.
.
.
. .
. .
. .
. .
.
.
13-16
.
.
.
.
.
.
. .
. .
. .
. .
.
13-17
13-18
13-19
14-4
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
14-6
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
14-7
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
14-8
14-10
14-11
. . . . . . . . . . . . . .
. . . . . . . .
14-12
14-13
14-14
Contents-6
SSCReen:DDISk:PFORmat . . . . . . . . . . . .
SSCReen:DPRinter .................. 14-16
SSCReen:DPRinter:ADDRess . . . . . . . . . . .
SSCReen:DPRinter:BACKground . . . . . . . . . .
SSCReen:DPRinter:MEDia . . . . . . . . . . . .
SSCReen:DPRinter:PFORmat . . . . . . . . . . .
SSCReen:DPRinter:PORT . . . . . . . . . . . . .
SSUMmary . . . . . . . . . . . . . . . . . . .
SSUMmary:ADDRess . . . . . . . . . . . . . . .
SSUMmary:FORMat . . . . . . . . . . . . . . .
SSUMmary:MEDia . . . . . . . . . . . . . . . .
SSUMmary:PFORmat . . . . . . . . . . . . . . .
. .
. .
.
.
.
.
.
.
.
.
.
.
SSUMmary:POR
eform
AV
SW
.
TEST
ULIMit
.
.
T
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
14-15
14-17
14-18
14-19
14-20
14-21
14-21
14-23
14-24
14-25
14-26
14-27
14-28
14-29
14-31
15.
Marker
Commands
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
CURSor?
MEASuremen
MODE
TDELta?
Art
TST
TSTOp
VDELta? .
VSTArt
VSTOp .
X1Position . . . . . . . . . . . . . . . . . . . .
X2Position . . . . . . . . . . . . . . . . . . . .
X1Y1source . . . . . . . . . . . . . . . . . . .
X2Y2source . . . . . . . . . . . . . . . . . . .
XDELta? . . . . . . . . . . . . . . . . . . . .
XUNits?
osition
Y1P
osition
Y2P
YDELta? . . . . . . . . . . . . . . . . .
YUNits? . . . . . . . . . . . . . . . . . .
.
t:READout
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
.
. .
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
. . .
. .
.
.
.
.
.
.
.
.
.
.
.
15-3
15-4
15-5
15-6
15-7
15-8
15-10
15-11
15-13
15-15
15-16
15-17
15-18
15-19
15-19
15-20
15-21
15-22
15-22
Contents-7
16. Mask Test Commands
ALIGn (
AMASk:CReate . . . . . . . . . . . . . . . . .
AMASk:SOURce . . . . . . . . . . . . . . . . .
AMASk:UNITs . ....... ...... ...... 16-10
AMASk:XDELta . . . . . . . . . . . . . . . . .
AMASk:YDELta . . . . . . . . . . . . . . . . .
MTEST:AMODe (
COUNt:FAILures? . . . . . . . . . . . . . . . .
COUNt:FSAMples? . . . . . . . . . . . . . . . .
COUNt:FWAVeforms? . . . . . . . . . . . . . .
COUNt:SAMPles? . . . . . . . . . . . . . . . .
COUNt:W
FENable
MASK:DEFine
MASK:DELete
MMARgin:PER
MMARgin:ST
POL
POL
POL
RECall
UMo
R
SA
SCALe:DEF
SCALe:SOURce
SCALe:X1
SCALe:XDELta . . . . . . . . . . . . . . . . .
SCALe:Y1 . . . . . . . . . . . . . . . . . . . .
SCALe:Y2 . . . . . . . . . . . . . . . . . . . .
SSCReen . . . . . . . . . . . . . . . . . . . .
SSCReen:DDISk . . . . . . . . . . . . . . . . .
SSCReen:DDISk:BA
SSCReen:DDISk:MEDia
SSCReen:DDISk:PF
SSCReen:DPRinter
SSCReen:DPRinter:ADDRess .
SSCReen:DPRinter:BACKground . .
SSCReen:DPRinter:MEDia . . . .
SSCReen:DPRinter:PFORmat
SSCReen:DPRinter:PORT . . . . . . . . . . . . .
HP 83480A Only
V
A
. .
Ygon:DEFine
Ygon:DELete
Ygon:MO
.
.
.
de
.
.
.
VE
ault
.
eforms?
.
.
.
.
Cen
e
T
A
VE
.
.
.
.
.
.
.
.
) ...... ....... . 16-8
HP 83480A Only
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
t
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
. .
. .
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
CKground
.
ORmat
. . . . . . . . . . . . . . . .
) ......... 16-14
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
. .
. .
. .
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
. .
.
.
.
.
.
. . . . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . .
. . . . . .
. .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
16-8
16-9
16-11
16-12
16-15
16-16
16-17
16-18
16-19
16-20
16-21
16-24
16-24
16-25
16-26
16-28
16-28
16-29
16-29
16-32
16-32
16-33
16-34
16-35
16-36
16-37
16-38
16-39
16-40
16-41
16-42
16-43
16-44
16-45
16-46
16-47
16-48
Contents-8
SSUMmary . . . . . . . . . . . . . . . . . . .
SSUMmary:ADDRess ................. 16-50
SSUMmary:MEDia . . . . . . . . . . . . . . . .
SSUMmary:PFORmat . . . . . . . . . . . . . . .
SSUMmary:PORT . . . . . . . . . . . . . . . .
STANdard (
HP 83480A Only
SWAVeform . . . . . . . . . . . . . . . . . . .
SWAVeform:RESet . . . . . . . . . . . . . . . .
TEST . . . . . . . . . . . . . . . . . . . . . .
17. Measure Commands
APOWer (
HP 83480A Only
CGRade:COMPlete
CGRade:CR
OSsing
CGRade:DCDistortion
CGRade:EHEigh
CGRade:ERA
CGRade:ER
CGRade:ERF
Tio
Calibrate
actor
CGRade:EWIDth
CGRade:JITT
er
CGRade:PEAK?
Ctor
CGRade:QF
CLEar
DEFine .
atime .
DELT
A
.
.
.
.
.
DUTYcycle .
FALLtime . . . . . . . . . . . . . . . . . . . .
FFT . . . . . . . . . . . . . . . . . . . . . .
FFT:DFRequency . . . . . . . . . . . . . . . .
FFT:DMAGnitude . . . . . . . . . . . . . . . .
FFT:FREQuency . . . . . . . . . . . . . . . . .
FFT:MA
FFT:PEAK1
FFT:PEAK2
GNitude
.
.
FFT:THReshold . . . . . . . . . . . . . . . . .
FREQuency . . . . . . . . . . . . . . . . . .
HISTogram:HITS . . . . . . . . . . . . . . . . .
HISTogram:MEAN . . . . . . . . . . . . . . . .
HISTogram:MEDian . . . . . . . . . . . . . . .
HISTogram:M1S . . . . . . . . . . . . . . . . .
t
(
.
.
.
. .
. .
. .
.
HP
(
.
.
.
HP
(
.
.
.
. .
HP
) .... ...... .. 16-54
) ............. 17-6
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
Only
Only
.
.
.
.
.
.
.
.
.
.
..
)
.
.
.
..
)
.
.
.
.
..
)
. .
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
)
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
. .
.
.
.
.
.
83480A
83480A
HP
(
83480A
.
.
.
.
.
.
.
.
.
83480A
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Only
.
.
.
Only
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 17-17
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
16-49
16-51
16-52
16-53
16-55
16-56
16-57
17-8
17-9
17-10
17-11
17-12
17-13
17-13
17-14
17-15
17-16
17-18
17-18
17-22
17-23
17-25
17-26
17-27
17-28
17-28
17-29
17-30
17-31
17-32
17-32
17-34
17-35
17-36
17-37
Contents-9
HISTogram:M2S . . . . . . . . . . . . . . . . .
HISTogram:M3S ...... ........ ..... 17-40
HISTogram:OFFSet? . . . . . . . . . . . . . . .
HISTogram:PEAK . . . . . . . . . . . . . . . .
HISTogram:PP . . . . . . . . . . . . . . . . . .
HISTogram:SCALe? . . . . . . . . . . . . . . .
HISTogram:STDDev . . . . . . . . . . . . . . .
NWIDth . . . . . . . . . . . . . . . . . . . . .
OVERshoot . . . . . . . . . . . . . . . . . . .
PERiod . . . . . . . . . . . . . . . . . . . . .
PREShoot . . . . . . . . . . . . . . . . . . . .
PWIDth . . . . . . . . . . . . . . . . . . . . .
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
h
alid
.
er
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
RESults?
RISetime
SCRatc
SENDv
SOURce
Tistics
A
ST
TEDGe
TMAX
TMIN
OLt
TV
AMPlitude
V
erage
V
A
V
VBASe
W
VLO
VMAX
VMIDdle . . . . . . . . . . . . . . . . . . . .
VMIN . . . . . . . . . . . . . . . . . . . . . .
VPP . . . . . . . . . . . . . . . . . . . . . .
VRMS . . . . . . . . . . . . . . . . . . . . .
VTIMe . . . . . . . . . . . . . . . . . . . . .
VTOP
er
VUPp
17-39
17-42
17-43
17-44
17-46
17-47
17-48
17-49
17-51
17-52
17-54
17-55
.
.
17-59
.
.
17-60
.
17-61
.
.
17-62
.
.
17-63
.
.
17-64
.
.
17-66
.
.
17-67
.
.
17-69
.
.
17-70
.
.
17-72
.
.
17-73
.
.
17-74
.
.
17-75
.
17-77
17-78
17-79
17-80
17-82
17-83
.
17-85
.
.
Contents-10
18. Pixel Memory Commands
ADD . . . . . . . . . . . . . . . . . . . . . .
CLEar . . . . . . . . . . . . . . . . . . . . .
DISPlay . . . . . . . . . . . . . . . . . . . . .
ERASe . . . . . . . . . . . . . . . . . . . . .
MERGe . . . . . . . . . . . . . . . . . . . . .
RECall . . . . . . . . . . . . . . . . . . . . .
STORe ....................... 18-5
19. Service Commands
COMMents . . . . . . . . . . . . . . . . . . .
DECLassify . . . . . . . . . . . . . . . . . . .
18-3
18-3
18-4
18-4
18-4
18-5
19-3
19-3
20.
Timebase
BRA
DELa
POSition
RANGe
REF
SCALe
UNITs
VIEW
WINDow:DELa
WINDow:POSition
WINDo
WINDo
WINDo
Commands
HP
(
e
T
.
y
.
erence
.
HP
(
.
.
w:RANGe
w:SCALe
w:SOURce
83480
.
.
.
.
.
.
.
.
.
.
83480
.
.
y
.
.
.
.
.
Only
.
Only
.
.
.
.
.
.
.
.
.
..
..
.
.
.
.
.
)
. .
. .
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
)
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
. .
. .
. .
. .
.
. .
. .
. .
. .
.
.
21. Trigger Commands
Trigger Commands . . . . . . . . . . . . . . . . .
HYSTeresis . . . . . . . . . . . . . . . . . . .
LEVel . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
e
SLOP
.
.
.
.
.
.
.
.
. .
.
.
.
.
SOURce
SWEep
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
20-3
.
.
.
20-4
.
.
.
20-5
.
.
.
20-7
.
.
.
20-8
.
.
.
20-9
.
.
.
20-10
.
.
.
20-11
.
.
.
20-12
.
.
.
20-13
.
.
.
20-14
.
.
.
20-15
.
.
.
20-16
.
.
.
21-2
21-3
21-3
21-4
.
.
.
21-4
.
.
21-5
.
.
Contents-11
22. TriggerN Commands
BWLimit . . . . . . . . . . . . . . . . . . . .
23. Waveform Commands
BANDpass? . . . . . . . . . . . . . . . . . . .
BYTeorder . . . . . . . . . . . . . . . . . . . .
COMPlete? ... ..... ........ ..... 23-7
COUNt? . . . . . . . . . . . . . . . . . . . .
COUPling? . . . . . . . . . . . . . . . . . . .
DATA . . . . . . . . . . . . . . . . . . . . . .
FORMat . . . . . . . . . . . . . . . . . . . .
POINts? . . . . . . . . . . . . . . . . . . . .
.
PREam
SOURce
TYPE?
VIEW
XDISpla
XINCremen
X
XRANge?
XREF
XUNits?
YDISpla
YINCremen
YORigin? .
YRANge? .
YREFerence?
YUNits? . . . . . . . . . . . . . . . . . . . .
ble .
.
y?
ORigin?
erence?
y?
.
. .
.
.
.
.
.
.
. .
.
.
.
.
.
.
t?
.
.
.
.
.
.
.
.
.
.
.
.
.
t?
.
.
. .
. .
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
. .
.
.
. .
.
.
.
.
.
.
.
.
.
22-3
23-5
23-6
23-8
23-9
23-9
23-12
23-14
23-15
. .
.
.
.
.
.
.
.
.
.
.
23-21
.
.
.
.
.
.
.
.
.
.
.
23-22
.
.
.
.
.
.
.
.
.
.
.
.
23-23
.
.
.
.
.
.
.
.
.
.
.
.
23-25
.
.
.
.
.
.
.
.
.
.
.
.
23-25
.
.
.
.
.
.
.
.
.
.
.
23-26
.
.
.
.
.
.
.
.
.
.
.
.
23-27
.
.
.
.
. .
.
.
.
.
.
.
23-28
.
.
.
. .
.
.
.
.
.
.
.
23-28
.
.
.
.
. .
.
.
.
.
.
.
23-29
.
.
. .
. .
.
.
.
.
.
.
23-30
.
. .
. .
.
.
.
.
.
.
.
23-31
.
.
.
.
.
.
.
.
.
.
.
.
23-31
.
.
.
.
.
.
.
.
.
.
.
.
23-32
.
.
.
.
.
.
.
.
.
.
.
.
23-33
24. Waveform Memory Commands
DISPlay . . . . . . . . . . . . . . . . . . . . .
SAVE . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
X
XRANge
YOFFset
YRANge . . . . . . .
Index
Contents-12
OFFset
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
. .
.
.
.
. . . . . . . . . . . . .
24-3
24-3
24-4
.
.
.
24-4
.
.
.
24-5
.
.
.
24-5
Tables
17-1. Result States ........ ....... ...... . 17-57
Contents-13
Contents
1

Programming

Default
address
instrument
Programming
This chapter contains information on how to program the instrument. You
can perform the following tasks by programming the instrument:
Set up the instrument.
Make measurements.
Get data (waveform, measurements, conguration) from the instrument.
Send information (pixel image, congurations) to the instrument.
You'll nd a list of error messages and their denitions at the end of this
chapter.
ou
Y
7.
key
of
presses:
instrument
The
change this
the
Press
1.
N
Press
N
HP-IB
2.
is
address from
4
5
y
Utilit
N
N
N
N
N
N
N
N
N
N
N
NN
N
N
N
N
N
N
N
N
Setup
congured
the
.
key
N
N
N
N
N
N
NN
N
N
N
N
N
N
N
N
N
N
N
N
.
N
N
.
at
front
N
N
N
N
.
factory
the
panel
N
N
N
N
and
then
for
the
using
N
N
NN
N
N
N
N
N
N
N
N
N
N
Address
N
N
N
N
N
N
N
N
N
following
.
address
HP-IB
an
can
3.
4.
Use
Press
the
N
N
Exit
numeric
N
N
N
N
N
N
N
N
N
N
N
N
keypad
to
HP-IB address
new
the
enter
.
.
IEEE 488.2
The programming instructions in this manual conform to the IEEE 488.2 Standard Digital Interface for
Programmable Instrumentation. You can nd additional detailed information about the IEEE 488.2
Standard in ANSI/IEEE Std 488.2-1987,
\IEEE Standard Codes, Formats, Protocols, and Common
Commands."
1-2
Programming
NOTE
The programming examples for individual commands in this manual are written in HP BASIC 5.0 for an
HP 9000 Series 200/300 Controller.
1-3
Programming
Command are grouped
in subsystems
Interface
capability
In accordance with IEEE 488.2, the instrument's commands are grouped into
\subsystems." Commands in each subsystem perform similar tasks. The
following subsystems are provided:
Common Commands
Root Level Commands
System Commands
Acquire Commands
Calibration Commands
Channel Commands
Disk Commands
Display Commands
the instrument's
On
interface
dened
capabilities
following
the
in
Code Interface
SH1 Source
Handshake
rear panel,
supported
Function
FFT Commands
Function Commands
Hardcopy Commands
Histogram Commands
Limit Test Commands
Marker Commands
Mask Test Commands
Measure Commands
.
table
Interface
next
by
the
to
instrument.
this
Capabilities
Capability
Full
HP-IB
Pixel Memory Commands
Service Commands
Timebase Commands
Trigger Commands
TriggerN Commands
Waveform Commands
Waveform Memory Commands
list
a
is
connector
These
,
capabilities
Capability
of
are
HP-IB
AH1 Acceptor Handshake Full Capability
Mode/
Only
alk
oll/T
T5 T
alker
alker/Serial
T
Basic
Unaddress
P
Listen Address
if
(MLA)
L4 Listener Basic
Listener/
Unaddresses if Talk Address (MTA)
SR1 Service Request Full Capability
RL1 Remote Local Complete Capability
PP1 Parallel Poll Remote Conguration
DC1 Device
T1
D
Device
Clear
rigger
T
Full
Full
Capability
Capability
C0 Controller No Capability
E2 Driver Electronics Tri State (1 MB/SEC MAX)
1-4
Introduction
Computers communicate with the instrument by sending and receiving
messages over the HP-IB bus. Programming commands are normally sent
as ASCII character strings embedded inside output statements of your
programming language. Input statements are used to read in responses from
the instrument.
For example, HP 9000 Series 200/300 BASIC uses the
OUTPUT
statement for
sending commands and queries. After a query is sent, the response is usually
,and
of the
ASIC
B
of
message
on
7
the
language
the
keyword
statement.
and enter
terminator.
is sent
instrument is
OUTPUT
channel
is
an
device
output
1:
to
sent
interface
address
are
you
command.
OUTPUT
statements pass
instrument
the
the
correct
Passing
to
7.
statement
the
with
using.
The
.
sends
instrument
code
select
be
must
some
In
HP B
In
examples
specied
instrument
the
interface
command
a
at address
7(700
languages
ASIC, this
this
in
address
address
and
/100
ensures
instrument.
turns
that
This
707.
7).
=
is dependent
may
,this
is always
manual
assume
,
The
on
on
the
ENTER
the
using
read
language's output
Your
program message
program message
the
that
default
The
the
Notice
indicates
The
the
be
specied
address
following
bandwidth
OUTPUT
707;":CHANNEL1:BWLIMIT ON"
the
that
address
location
where
programming
specied
outside
after
HP
limit
the
instrument is at device address 707. When writing programs, the address
varies according to how the bus is congured.
Also notice that in HP BASIC, the string sent to the instrument is enclosed in
quotes.
displayed
When
the
on
instrument
the
instrument
is
screen.
in
the
remote
mode
,
the
Remote
message
is
1-5
Always initialize
instrument
the
Programming
Introduction
Program Message Terminator
The instructions within the program message are executed after the instruction terminator is received.
The terminator may be either a New Line (NL) character, an End-Or-Identify (EOI) asserted, or a
combination of the two. All three ways are equivalent. Asserting the EOI sets the EOI control line low
on the last byte of the data message. The NL character is an ASCII linefeed (decimal 10).
The NL (New Line) terminator has the same function as an EOS (End Of String) and EOT (End Of Text)
terminator.
is
It
This
or
F
practice
good
ensures
example
,
that
HP
to
the
ASIC
B
initialize
and
bus
provides
the instrument
all appropriate
a
CLEAR
command
at the
interfaces are
start
which
a
in
clears
known
interface
the
program.
every
of
buer:
707
CLEAR
state
.
The
.
you
parser
send.
the
you
When
parser
After
is
clearing
instrument
OUTPUT
using
are
program
the
the
a
to
707;"*RST"
HP-IB
interface
preset
that
state:
,
CLEAR
reads in
use
,
the
resets
also
instructions
the
*RST
instrument's
the
command
that
initialize
to
Refer to the \Common Commands" chapter for the actual commands and
syntax for initializing the instrument.
1-6
Sending Commands to the Instrument
It's easy to send a command to the instrument. Simply create a command
string, and place the string in your program language's output statement. For
commands other than Common Commands, include a semicolon (;) before
the subsystem name.For example, the following string sends the DELAY
command in the Timebase subsystem.
OUTPUT 707;":TIMEBASE:DELAY 1US"
or
short
either
Use
forms
Combine
commands
the same subsystem
long
Commands
short
manual
letters
The
And
Programs
documenting.
memory
in
o
T
form
shows
.
following is
OUTPUT
OUTPUT
707;":TIMEBASE:DELAY
is
this
707;":TIM:DEL
written
needed
execute
queries
and
(abbreviated
long
the
long
a
form
short
the
long
in
short
The
program
for
than
more
may
spelling).
form
form
of
1US"
form
form
function
one
sent
be
with
command:
a
of
1US"
same
the
are
syntax
storage
in
The
short
the
easily
conserves
and
within
either
description
command:
long
form
and
read
reduces
the same
each
of
indicated
almost
are
amount
the
amount
the
subsystem, separate
(complete
form
commands with a semicolon (;). For example, the following two lines,
OUTPUT 707;":TIMEBASE:REFERENCE CENTER"
OUTPUT 707;":TIMEBASE:POSITION 0.00001"
can be combined into one line:
OUTPUT
The
707;":TIMEBASE:REFERENCE
semicolon
between
REFERENCE
the
command separates the two functions
need TIMEB
ASE preceding it since the TIMEB
CENTER;POSITION
command and
POSITION command does not
. The
ASE:REFERENCE
0.00001"
the
selects the subsystem.
command
lowercase
using
self-
controller
of
I/O
of
POSITION
command
spelling)
this
in
activity
or
.
the
1-7
Programming
Sending Commands to the Instrument
Combine commands
from dierent
subsystems
Sending common
commands
You can send commands and program queries from dierent subsystems on
the same line. Simply precede the new subsystem by a semicolon (;) followed
by a colon (:). In the following example, the colon before CHANNEL1 allows
you to send a command from another subsystem.
OUTPUT 707;":TIMEBASE:REFERENCE CENTER;:CHANNEL1:OFFSET 0"
If a subsystem has been selected and a Common Command is received by the
instrument, the instrument remains in the selected subsystem. For example,
if the program message:
":ACQUIRE:TYPE AVERAGE;*CLS;COUNT 1024"
received
is
count,
then
the instrument,
by
the status
clears
the instrument
sets the
information without
acquire type
leaving the
and
selected
subsystem.
you
sets
the
and
,
the
,
acquire
set
the
other
some
If
reenter
must
program
"ACQUIRE:TYPE
the
sets
count.
A
In
UTOSCALE
type
the
message:
acquire
example
this
command
after
within
the
command
of
original
received
is
subsystem
AVERAGE;:AUTOSCALE;ACQUIRE:COUNT
autoscale
CQUIRE
A
order
the
reenter
to
command
the
type
completes
,
the
,
in
program
a
command.
1024"
operation,
be
must
cquire
A
message
example
or
F
then
again after
sent
subsystem
count.
parameters
Adding
command
Duplicate command
names
space
a
as
Use
shown
a
to
commands
Many
character
separate
to
have
parameters
parameter
the
that
from
specify
the
option.
an
command
following line:
OUTPUT 707;":HARDCOPY:DEVICE LASERJET"
Separate multiple parameters with a comma (,). Spaces can be added around
the commas to improve readability.
WMEMORY1"
OUTPUT
707;":FUNCTION1:MULTIPLY
CHANNEL1
Identical function mnemonics can be used for more than one
example, the command RANGE can be used to change the
,
subsystem. F
vertical range or to
change the horizontal range:
OUTPUT 707;":CHANNEL1:RANGE .4"
sets the vertical range of channel 1 to 0.4 volts full scale.
1-8
in
the
or
Programming
Sending Commands to the Instrument
OUTPUT 707;":TIMEBASE:RANGE 1"
sets the horizontal time base to 1 second full scale.
CHANNEL1 and TIMEBASE select the subsystem and determine which range
is being modied.
You can use upper or
lowercase letters
White space
Embedded
strings
Numbers
Program headers can be sent using any combination of uppercase or
lowercase ASCII characters. Instrument responses, however, are always
returned in uppercase.
White space is dened to be one or more characters from the ASCII set of
decimal,
32
to
0
increase
to
used
Embedded
treated
written
as
to
strings
unit
a
the
excluding
readability
the
contain
data
of
advisory
by
line
decimal
10
groups
the
the
of
(NL).
program.
a
of
alphanumeric
of
instrument.
instrument
It
or
F
usually
is
example
with
optional,
characters
the
,
STEM:DSP
:SY
the
and
which are
text
of
line
be
can
command:
:SYSTEM:DSP
Embedded
strings
These
other
any
numbers
All
sending
the
"This
strings
case-sensitive
are
character
expected to
are
number
may
.
9,
delimited
be
you
and
be strings
would
with
spaces
send
either
act
of ASCII
byte
a
or
(')
single
characters
legal
as
characters.
representing
double
Thus
ASCII
the
just
when
,
quotes
(")
like
code for
message."
a
is
the character \9" (which is 57). A three-digit number like 102 would take up
three bytes (ASCII codes 49, 48, and 50). This is taken care of automatically
when you include the entire instruction in a string. The following numbers
are all equal:
.
28
0.28E2
280E-1
28000m
0.028K
28E-3K
The representation for innity for
also the value returned when a
measurement cannot be made
this instrument is 9.99999E+37. This is
.
1-9
Programming
Sending Commands to the Instrument
Sux Multipliers
Multiplier Mnemonic
1E18 EX
1E15 PE
1E12 T
1E9 G
1E6 MA
1E3 K
Sux Units
Unit Referenced
V V
S Second
Multiplier Mnemonic
1E-3 M
1E-6 U
1E-9 N
1E-12 P
1E-15 F
1E-18 A
Unit
olt
1-10
Loading...
+ 562 hidden pages