
Programmer's Guide
EMI Receiver Series
HP 8542E/HP 8546A EMI Receiver
HP 85422E/HP 85462A Receiver RF Section
ABCDE
HP Part No. 5962-5083
Printed in USA August 1994

Notice.
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 with the furnishing, performance, or use of this material.
c
Copyright Hewlett-Packard Company 1994
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

Certication
Hewlett-P
time
measurements
T
echnology
facilities
of
shipment
of
ackard
,
to
other
Company
from
the
are
traceable
the
extent
International
certies
factory
to
allowed
that
this
product
.
Hewlett-P
the
United
by
the Institute's calibration facility, and to the calibration
ackard further certies that its calibration
States
National
Standards Organization members.
met
its published specications at the
Institute of Standards and
Regulatory Information
Regulatory information is located in the
EMI Receiver Series Reference
at the end of Chapter 1,
\Specications and Characteristics."
W
arranty
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-P
be
defective
F
or
Hewlett-P
shall
shipping
country
ackard
Company
will,
at
its
option,
either
repair
or
replace
products which prove to
.
warranty
pay
service
ackard.
or
repair
,
this
product
must
be returned to a service facility designated by
Buyer shall prepay shipping charges to Hewlett-Packard and Hewlett-Packard
shipping charges to return the product to Buyer. However, Buyer shall pay all
charges
, duties, and taxes for products returned to Hewlett-Packard from another
.
Hewlett-P
ackard warrants that its software and rmware designated by Hewlett-Packard for
use with an instrument will execute its programming instructions when properly installed on
that instrument. Hewlett-Packard does not warrant that the operation of the instrument, or
software, or rmware will be uninterrupted or error-free.
Limitation of Warranty
The foregoing warranty shall not apply to defects resulting from improper or inadequate
maintenance by Buyer, Buyer-supplied software or interfacing, unauthorized modication or
misuse, operation outside of the environmental specications for the product, or improper
site preparation or maintenance.
NO OTHER WARRANTY IS EXPRESSED OR IMPLIED. HEWLETT-PACKARD SPECIFICALLY
DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE.
Exclusive Remedies
THE REMEDIES PRO
VIDED HEREIN ARE BUYER'S SOLE AND EXCLUSIVE REMEDIES.
HEWLETT-PACKARD SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL,
INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER BASED ON CONTRACT, TORT,
OR ANY OTHER LEGAL THEORY.
iii

Assistance
Product
Hewlett-P
Service
maintenance
ackard
Oce
products
.
Compliance
This
instrument
Requirements
The
instruction
the
user
to
has
for
documentation
ensure
Safety Notes
The
following
the
notes
W
ARNING
and
safety
its
meaning
W
correctly
Do
fully
agreements
.
been
designed and tested in accordance with IEC Publication 348, Safety
Electronic
F
and
or
any
assistance
Measuring
contains
other
customer
assistance
agreements
are available for
, contact your nearest Hewlett-Packard Sales and
Apparatus, and has been supplied in a safe condition.
information and warnings which must be followed by
safe operation and to maintain the instrument in a safe condition.
notes
are
used
arning
not
proceed
understood
before
operating
denotes
performed
beyond
throughout
a
hazard.
or
adhered
a
and
met.
this
manual.
this
instrument.
It
calls attention to a procedure which, if not
to
,
could result in injury or loss of life.
warning
note until the indicated conditions are
F
amiliarize
yourself
with
each
of
CA
UTION
Caution denotes a hazard. It calls attention to a procedure that, if not
correctly performed or adhered to, would result in damage to or destruction
of
the
instrument.
conditions
are
fully
Do
not
proceed
understood
beyond a caution sign until the indicated
and
met.
iv

General
WARNING
Safety
No
personnel.
If
Company
F
or
same
prohibited.
Considerations
operator
this
continued
type
serviceable
T
o
prevent
instrument
,
the
protection provided by the instrument may be impaired.
protection against re hazard, replace line fuse only with
and
rating ([F 5A/250V]). The use of other fuses or material is
is used in a manner not specied by Hewlett-Packard
parts inside. Refer servicing to qualied
electrical
shock,
do
not remove covers.
CA
UTION
Before switching on this instrument, make sure that the line voltage selector
switch is set to the voltage of the power supply and the correct fuse is
installed.
Always use the three-prong ac power cord supplied with this instrument.
Failure to ensure adequate earth grounding by not using this cord may cause
instrument damage.
L
instruction
symbol
when
documentation
it
is
necessary
symbol.
for
the
user
The
product
to
refer to the instructions in the
is
marked
with
this
The
documentation.
CE
The CE mark is a registered trademark of the European Community.(If
accompanied
by a year, it is when the design was proven.)
ISM1-A This is a symbol of an Industrial Scientic and Medical Group 1 Class A
product.
CSA The CSA mark is a registered trademark of the Canadian Standards
Association.
Manual Conventions
4
Front-Panel Key
NNNNNNNNNNNNNNNNNNNNNN
N
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 rmware
of the instrument.
This indicates text displayed on the instrument's screen.
v

EMI
The
HP
85422E
Receiver
following
/
HP
Series
documents
85462A
are
provided
receiver
Documentation
with
RF
either
section.
the
Description
HP 8542E/HP 8546A EMI receiver or the
Installation
and
V
erication
provides
information
for
installing
your instrument, verifying
instrument operation, and customer support.
User's
receiver
R
descriptions
Programmer's Guide
Guide
eference
describes
or
receiver
provides
.
instrument
RF
section.
specications
features and how to make measurements with your EMI
and characteristics, menu maps, error messages, and key
provides information on remote control instrument conguration,
creating programs, and parameters for each of the programming commands available.
vi

Contents
1. Preparing for Use
What You'll Learn in This Chapter ..... ..... ...... ...... 1-1
Connecting Your Instrument to a Computer ........ ...... ... 1-1
Conguring Your Computer System ..................... 1-1
Connecting the Computer to the Instrument . . . . . . . . . . . . . . . . . 1-1
For the HP-IB Interface ...... ...... ...... ...... . 1-1
For the RS-232 Interface . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
The Test Program ............................. 1-2
HP-IB Connections for the HP 9000 Series 200 Technical Computers . . . . . . . 1-3
Equipment .. ...... ...... ..... ...... ...... . 1-3
Interconnection
T
est
Program
HP-IB
Connections
Equipment
Interconnection
T
est
Program ............................... 1-6
HP-IB
Connections
Instructions
.
.
.
.
.
.
.
.
.
............... 1-3
............................... 1-3
for
the HP 9000 Series 300 Technical Computers . . . . . . . 1-5
.
..... ...... ..... ...... ...... ... 1-5
Instructions
...... ...... ...... ...... 1-5
for the HP Vectra Personal Computer . . . . . . . . . . . . 1-7
Equipment .. ...... ...... ..... ...... ...... . 1-7
Interconnection Instructions ...... ...... ...... ...... 1-7
Test Program ............................... 1-7
RS-232 Connections for the HP Vectra Personal Computer ........... 1-9
Equipment .. ...... ...... ..... ...... ...... . 1-9
Interconnection
T
est
Program
Instructions
.
.
.
.
.
.
.
.
.
.
.
.
................. 1-9
.
......................... 1-9
RS-232 Connections for the IBM PC/AT and Compatible Computers ...... . 1-11
Equipment .. ...... ...... ..... ...... ...... . 1-11
Interconnection Instructions ...... ...... ...... ...... 1-11
Test Program ............................... 1-11
Printing or Plotting .. ...... ...... ...... ...... ... 1-13
Printer with an HP-IB Interface ...... ...... ...... .... 1-13
Equipment . ...... ...... ..... ...... ...... . 1-13
Interconnection and Printing Instructions . . . . . . . . . . . . . . . . . .
Plotter with an HP-IB Interface . . . . . . . . . . . . . . . . . . . . . . .
Equipment . ...... ...... ..... ...... ...... . 1-14
Interconnection and Plotting Instructions .................. 1-14
Printer with an RS-232 Interface ...................... 1-15
Equipment . ...... ...... ..... ...... ...... . 1-15
Interconnection and Printing Instructions . . . . . . . . . . . . . . . . . . 1-15
Plotter with an RS-232 Interface
...................... 1-16
Equipment . ...... ...... ..... ...... ...... . 1-16
Interconnection and Plotting Instructions .................. 1-16
Printing after Plotting or Plotting after Printing . . . . . . . . . . . . . . . 1-17
If There is a Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18
1-13
1-14
Contents-1

2. Writing a Program
What You'll Learn in This Chapter ...... ...... ...... .... 2-1
Writing Your First Program . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Composing the Program .......................... 2-2
Program Example for the HP-IB Interface . . . . . . . . . . . . . . . . . . 2-2
Modifying the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Program Example for the HP-IB Interface . . . . . . . . . . . . . . . . . . 2-4
Enhancing the Program with Variables .................... 2-5
Program Example for the HP-IB Interface . . . . . . . . . . . . . . . . . . 2-5
Getting Information from the Instrument ................... 2-6
Program Example for the HP-IB Interface . . . . . . . . . . . . . . . . . . 2-6
Programming
Guidelines
.
.
.
.
.
.
.
...... ...... ...... .. 2-8
3. Programming Topics
What You'll Learn in This Chapter ...... ...... ...... .... 3-1
Controlling Trace Data with a Computer ...... ...... ...... . 3-2
Reading
Program
Trace
Data
Example
for
.
.
...... ...... ...... ..... ... 3-2
the
HP-IB
Interface...... ...... ..... . 3-2
Saving Trace Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Reading Trace Data from a Computer Disk ........ ...... .... 3-4
Program Example for the HP-IB Interface . . . . . . . . . . . . . . . . . . 3-4
Saving and Recalling Instrument States .................... 3-5
Saving
Program
Returning
Program
Dierent
P
B
A-Block
the
the
F
ormats
F
ormat
Example
F
ormat
Example
F
Instrument's
Example
Instrument
Example
for
.
................................ 3-8
of
Using
.
..... ...... ..... ...... ...... .... 3-9
of
Using
ormat
...... ...... ...... ...... ...... 3-10
State
for
the
to
for
the
Trace
the
PFormat...................... 3-8
the
BFormat...................... 3-9
HP-IB
its
F
HP-IB
Data
.
.
.
Interface
ormer
State
Interface
Transfers
.
.
.
.
.
.
...... ...... .. 3-5
.
.
.
.
.
.
.
........... 3-5
.
.
.
.
.
............ 3-7
.
.
.
.
.
.
.
........... 3-7
.
.
.
.
.
...... ...... . 3-8
Example of Using the A-Block Format................... 3-11
I-Block Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Example of Using the I-Block Format ................... 3-11
MFormat ................................. 3-12
Example of Using the M Format .... ...... ...... ..... 3-14
4. Programming Commands
What You'll Learn in This Chapter ...... ...... ...... .... 4-1
Syntax Conventions
ABS Absolute
ADD A
dd .................................
...... .
...................... 4-2
...............................
AMB Trace A Minus Trace B . ...... ..... ...... ...... 4-29
AMBPL Trace A Minus Trace B Plus Display Line ........ ...... 4-32
AMPCOR Amplitude Correction . . . . . . . . . . . . . . . . . . . . . . . 4-34
AMPLEN Amplitude Correction Length . . . . . . . . . . . . . . . . . . . 4-37
ANNOT Annotation ............................ 4-38
APB Trace A Plus Trace B ......................... 4-39
ARNG Auto Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-40
AT Attenuation .............................. 4-41
AUNITS Amplitude Units . . . . . . . . . . . . . . . . . . . . . . . . . . 4-43
AUTO Auto Couple . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-45
AUTOAVG Auto Average .......................... 4-47
AUTOCAL Automatic Calibration . . . . . . . . . . . . . . . . . . . . . . 4-48
Contents-2
4-25
4-27

AUTOQPD Quasi-Peak Detector . . . . . . . . . . . . . . . . . . . . . . . 4-49
AVBW Average Video Bandwidth . . . . . . . . . . . . . . . . . . . . . . 4-50
AVG Average ....... ..... ...... ...... ...... . 4-52
AXB Exchange Trace A and Trace B .. ...... ..... ...... . 4-54
BAUDRATE Baud Rate of Instrument . . . . . . . . . . . . . . . . . . . . 4-55
BIT Bit .................................. 4-57
BITF Bit Flag ............................... 4-59
BLANK Blank Trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-61
BML Trace B Minus Display Line ...................... 4-62
BTC Transfer Trace B to Trace C .. ...... ...... ...... .. 4-63
BXC Trace B Exchange Trace C . . . . . . . . . . . . . . . . . . . . . . . 4-64
BYP
ASS
Bypass
P
ath
.
.
.
.
...... ...... ..... ...... . 4-65
CAL Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-66
CALCHECK Calibration Check ....................... 4-69
CALSW Calibration Switch . . . . . . . . . . . . . . . . . . . . . . . . . 4-70
CALTIME Calibration Time . . . . . . . . . . . . . . . . . . . . . . . . . 4-71
CATCatalog.. ...... ...... ...... ...... ..... . 4-72
CF
Center
Frequency
.
.
......................... 4-76
CLRAVG Clear Average........................... 4-78
CLRW Clear Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-79
CLS Clear Status Byte ........................... 4-80
CNTLA Auxiliary Interface Control Line A ................. 4-81
CNTLB
CNTLC
CNTLD
CNTLI
COMPRESS
CONCA
CONTS
CORREK
COUPLE
CT
CTM
A
Convert
Convert
A
uxiliary
A
uxiliary
A
uxiliary
A
uxiliary
Compress
T
Concatenate
Continuous
Correction
Couple
to Absolute Units . . . . . . . . . . . . . . . . . . . . . . . 4-93
to
Interface
Interface
Interface
Interface
Sweep
F
.
.
Control
Control
Control
Control
Trace
.
.......................... 4-88
.
actors
On..... ..... ...... ...... . 4-91
Line
B
.
.
.
.
.
.
.... ...... .. 4-82
Line
C
.
.
.
.
.
.
............ 4-83
Line
D
.
.
.
.
.
.
........... 4-84
Line
Input
.
.
.
.
.
.
.
.
.
.
.
...... .... 4-85
.
.
.
.
...... ..... .... 4-86
...... ...... ...... ..... . 4-90
............................ 4-92
Measurement Units .... ...... ...... .... 4-95
DATEMODE Date Mode .......... ...... ...... .... 4-96
DEMOD Demodulation . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-97
DET Detection Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-98
DISPOSE Dispose ...... ...... ...... ...... ..... 4-100
DIV Divide ................................ 4-101
DL Display Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-103
DN Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-105
DONE Done . . . . . . .
EDITANNOT Edit Annotation . . . . . . . . . . . . . . . . . . . . . . . .
EK Enable Knob . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EP Enter P
arameter Function
.... ...... ...... ...... ... 4-106
4-108
4-109
.......................
4-110
ERASE Erase ............................... 4-111
EXITANNOT Exit Annotation . . . . . . . . . . . . . . . . . . . . . . . . 4-112
EXP Exponent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-113
FA Start Frequency ............................ 4-116
FASTMRKR Fast Marker .......................... 4-118
FB Stop Frequency ............................ 4-119
FCALDATE Last Calibration Date . . . . . . . . . . . . . . . . . . . . . . 4-121
FFT Fast Fourier Transform ........................ 4-122
FMGAIN FM Gain ..... ...... ..... ...... ...... . 4-126
FOFFSET Frequency Oset . . . . . . . . . . . . . . . . . . . . . . . . . 4-127
FORMATFormat Disk ........................... 4-129
Contents-3

FS Full Span . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-130
FSER RF Filter Section Serial Number . . . . . . . . . . . . . . . . . . . . 4-131
GRAT Graticule .............................. 4-132
HAVE Have ........ ...... ...... ...... ...... 4-133
HD Hold Data Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-135
HN Harmonic Number ........................... 4-136
HNLOCK Harmonic Number Lock . . . . . . . . . . . . . . . . . . . . . . 4-137
HNUNLK Unlock Harmonic Number .................... 4-139
IBInputB. ...... ...... ...... ...... ..... ... 4-140
ID Identify ................................ 4-141
IFBW Intermediate Frequency Bandwidth . . . . . . . . . . . . . . . . . . 4-142
INT
Integer
.
.
.
.
.
.
.
...... ...... ...... ...... . 4-144
INZ Input Impedance .. ...... ...... ...... ..... .. 4-146
IP Instrument Preset . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-147
LASTKEYMENU Last Key Menu ...... ...... ...... .... 4-150
LF Base Band Instrument Preset ...................... 4-151
LG Logarithmic Scale ........................... 4-152
LIMIAMPSCL
Limit-Line
Amplitude
Scale
.
...... ...... ..... 4-153
LIMIDEL Delete Limit-Line Table . . . . . . . . . . . . . . . . . . . . . . 4-154
LIMIDISP Limit Line Display .... ...... ...... ...... .. 4-155
LIMIFAIL Limits Failed...... ...... ...... ...... ... 4-157
LIMIFRQSCL Limit-Line Frequency Scale .................. 4-159
LIMIFT
LIMIHI
LIMILINE
LIMILINEST
LIMILO
LIMIMARGAMP
LIMIMARGST
LIMIMIRROR
LIMIMODE
LIMINUM
LIMIREL
Select
Upper
Limit
A
Lower
A
Limit-Line
Limit-Line
Relative
Frequency
Limit
.
Lines
Limit-Line
Limit
Limit
.
Margin
Limit-Margin
Mirror
Limit
Entry
Number
Limit
or
Time
Limit
.
.
.
.
.
State
.
Line
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Amplitude
State
Line
Mode
.... ...... ...... ..... 4-170
....................... 4-172
...... ...... ...... ... 4-174
.
.
.
.
.
.
...... .... 4-160
.
.................. 4-161
.
.
................. 4-163
.
.
.
.
.
.............. 4-166
................... 4-168
...... ...... ...... 4-169
...... ...... ...... ..... . 4-176
Lines ...... ...... ...... ..... 4-177
LIMISEG Enter Limit-Line Segment for Frequency . . . . . . . . . . . . . . 4-179
LIMISEGT Enter Limit-Line Segment for Sweep Time ... ..... .... 4-182
LIMITEST Enable Limit-Line Testing .... ...... ..... ..... 4-185
LINCHK Linearity Check . . . . . . . . . . . . . . . . . . . . . . . . . . 4-187
LINFILL Linear .............................. 4-188
LN Linear Scale .............................. 4-190
LOAD Load .. ...... ...... ..... ...... ...... . 4-191
LOG Logarithm
LSPAN Last Span
LOGSWEEPSPD Log Sweep Speed
M4 Marker Zoom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.......
....................... 4-193
..... ..... ...... ...... ...... .
...... ...... ...... ...
4-196
4-197
4-198
MDS Measurement Data Size ........................ 4-200
MDU Measurement Data Units ....................... 4-202
MEANTraceMean............................. 4-204
MEANTH Trace Mean Above Threshold . . . . . . . . . . . . . . . . . . . 4-206
MEASALLSIGS Measure All Signals . . . . . . . . . . . . . . . . . . . . . 4-208
MEASAVG Measure Average .......... ...... ...... .. 4-209
MEASFREQ Measure Frequency ...................... 4-210
MEASPEAK Measure Peak ......................... 4-211
MEASQPD Measure Quasi-Peak Detector .................. 4-212
MEASRESULT Measure Result ....................... 4-213
MEASSIG Measure Signal . . . . . . . . . . . . . . . . . . . . . . . . . . 4-215
Contents-4

MEASTIMEAVG Measure Time Average ........ ..... ...... 4-216
MEASTIMEPK Measure Time Peak ..................... 4-217
MEASTIMEQPD Measure Time Quasi-Peak Detector ...... ...... . 4-218
MEASURE Measure Mode ......................... 4-219
MEASWITHPP Measure With Preselector Peak................ 4-221
MERGE Merge Two Traces . . . . . . . . . . . . . . . . . . . . . . . . . 4-222
MF Marker Frequency Output ....................... 4-224
MIN Minimum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-226
MINH Minimum Hold . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-228
MINPOS Minimum Position . . . . . . . . . . . . . . . . . . . . . . . . . 4-229
MIRROR Mirror Image ........................... 4-231
MKA
Marker
Amplitude
.
.
.
.
.
.
.................... 4-233
MKACT Activate Marker . . . . . . . . . . . . . . . . . . . . . . . . . . 4-235
MKACTV Marker As the Active Function .................. 4-236
MKBW Marker Bandwidth ......................... 4-237
MKCF Marker to Center Frequency . . . . . . . . . . . . . . . . . . . . . 4-238
MKCONT Marker Continue . . . . . . . . . . . . . . . . . . . . . . . . . 4-239
MKD
Marker
Delta
.
.
........................... 4-240
MKF Marker Frequency .... ...... ...... ...... .... 4-242
MKFC Marker Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-244
MKFCR Marker Counter Resolution . . . . . . . . . . . . . . . . . . . . . 4-245
MKMIN Marker Minimum . . . . . . . . . . . . . . . . . . . . . . . . . . 4-247
MKN
Marker
MKNOISE
MKOFF
MKP
Marker
MKP
A
USE
MKPK
MKPX
Marker
Marker
MKREAD
MKRL
MKSP
MKSS
Marker
Marker
Marker
Normal
Marker
Marker
P
Marker
Marker
.
.
.
.
.
.
.
.
.
.
...... ...... ..... . 4-248
Noise
O
osition
P
P
eak
P
eak
Readout
to
Reference
to
Span ........................... 4-263
to
Step Size .. ...... ...... ...... ..... 4-264
.
.
.
.
.
.
.
.
.
.
................ 4-250
.
.
.
.
.
.
.
.
.
.
...... ...... ...... 4-252
.
.
.
.
.
.
.
.
.
................... 4-253
ause
.
.
.
.
.
.
...... ...... ..... ... 4-255
.... ...... ...... ...... ...... 4-257
Excursion .... ...... ...... ...... . 4-258
.
........................ 4-260
Level... ...... ...... ..... .. 4-262
MKSTOP Marker Stop .... ...... ...... ...... ..... 4-266
MKTRACE Marker Trace . . . . . . . . . . . . . . . . . . . . . . . . . . 4-267
MKTRACK Marker Track . . . . . . . . . . . . . . . . . . . . . . . . . . 4-268
MKTYPE Marker Type . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-269
ML Mixer Level ...... ...... ...... ...... ...... 4-270
MOD Modulo .......... ...... ...... ...... ... 4-272
MOV Move ................................ 4-274
MPY Multiply
MSI Mass Storage Is
MXM Maximum
MXMH Maximum Hold . . . . . . . . . . . . . . . . . . . . . . . . . . .
...... .
........................ 4-276
............................
..............................
4-278
4-279
4-281
NRL Normalized Reference Level . . . . . . . . . . . . . . . . . . . . . . 4-282
OA Output Active Function Value . . . . . . . . . . . . . . . . . . . . . . 4-284
OL Output Learn String .......................... 4-285
OVLD Overload .............................. 4-286
PDA Probability Distribution of Amplitude .... ...... ..... .. 4-288
PEAKS Peaks .. ...... ...... ...... ...... ..... 4-290
PLOTPlot.. ...... ...... ...... ..... ...... .. 4-293
POWERON Power-On State . . . . . . . . . . . . . . . . . . . . . . . . . 4-295
PP Preselector Peak ............................ 4-296
PREAMP Preamplier ...... ...... ...... ...... ... 4-297
PREAMPG External Preamplier Gain ........ ..... ...... 4-299
Contents-5

PREFX Prex .. ...... ...... ..... ...... ...... 4-300
PRINT Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-301
PRNTADRS Print Address ......................... 4-302
PRNTPPG Prints Per Page ......................... 4-303
PRNTRES Print Resolution . . . . . . . . . . . . . . . . . . . . . . . . . 4-304
PRNTTYPE Printer Type . . . . . . . . . . . . . . . . . . . . . . . . . . 4-305
PROTECT Protect ............................. 4-307
PSTATE Protect State ........................... 4-308
PURGE Purge File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-309
PWRBW Power Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . 4-310
PWRUPTIME PowerUpTime... ...... ...... ...... ... 4-312
QPGAIN
Quasi-P
eak
Gain
.
.
.
.
.
...... ..... ...... .... 4-313
RANGE Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-314
RB Resolution Bandwidth ......................... 4-315
RCLC Recall Colors ............................ 4-317
RCLS Recall State ...... ...... ..... ...... ...... 4-318
RCLT Recall Trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-319
RCVRMRKR
Receiver
Marker
P
osition
...... ...... ...... .. 4-321
REMEASSIG Remeasure Signal ....................... 4-323
REPEAT UNTIL Repeat Until . . . . . . . . . . . . . . . . . . . . . . . . 4-324
RESETRL Reset Reference Level ...................... 4-326
REV Revision ...... ...... ...... ...... ..... .. 4-327
RFIN
RF
Input
RFINLK
RL
Reference
RLPOS
RMS
Reference-Level
Root
ROFFSET
RPTDEF
RQS
Service
SA
VEC
Save
SA
VES
Save
SA
VET
Save
Signal
RF
Input
Level
Mean
Square
Reference
Report
Denition
Request
Colors
State ............................. 4-340
Trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-341
.
.
.
.
.
.
.
.
.
.................. 4-328
Lock
.
.
.
.
.
.
.
.
.
.................. 4-330
.
.
.
.
.
.
.
.
.
.
...... ...... ...... 4-331
P
V
Level
Mask
osition
alue
Oset
.
.
.
.
.
.
.
.
.
...... ...... . 4-333
.
.
.
.
.
.
...... ...... ...... 4-334
...... ...... ...... .... 4-335
.
........................ 4-336
......................... 4-337
...... ...... ...... ...... .... 4-339
SEGDEL Segment Delete . . . . . . . . . . . . . . . . . . . . . . . . . . 4-343
SENTER Segment Entry for Frequency Limit Lines ........ ..... 4-345
SENTERT Segment Entry for Sweep Time Limit Lines ............ 4-348
SER Serial Number .. ...... ...... ...... ..... ... 4-351
SETC Set Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-352
SETDATESetDate. ...... ...... ...... ...... .... 4-354
SETTIME Set Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-355
SHOWSETUP Show Set Up . . . . .
SIGADD Signal A
SIGDEL Signal Delete
dd .. ...... ...... ...... ...... ..
...........................
SIGDLTAVIEW Signal Delta View
...... ...... ...... .. 4-356
4-357
4-358
..... ..... ...... ...... 4-359
SIGGRAPH Signal Graph . . . . . . . . . . . . . . . . . . . . . . . . . . 4-361
SIGLEN Signal List Length . . . . . . . . . . . . . . . . . . . . . . . . . 4-362
SIGLIST Signal List .. ...... ...... ...... ..... ... 4-363
SIGMARK Signal Mark .... ...... ...... ...... ..... 4-364
SIGPOS Signal Position . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-365
SIGRESULT Signal Result . . . . . . . . . . . . . . . . . . . . . . . . . . 4-366
SIGSORT Signal Sort . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-367
SIGUNMARK Signal Unmark ........................ 4-369
SMOOTH Smooth Trace .......................... 4-370
SNGLS Single Sweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-372
SP Span . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-373
Contents-6

SPEAKER Speaker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-375
SPZOOM Span Zoom .. ...... ...... ...... ..... ... 4-376
SQLCH Squelch ...... ...... ...... ...... ...... 4-377
SQRSquareRoot.............................. 4-378
SRCALC Source Leveling Control . . . . . . . . . . . . . . . . . . . . . . 4-380
SRCAT Source Attenuator ......................... 4-381
SRCPOFS Source Power Oset ... ...... ..... ...... ... 4-383
SRCPSTP Source Power-Level Step Size . . . . . . . . . . . . . . . . . . . 4-384
SRCPSWP Source Power Sweep . . . . . . . . . . . . . . . . . . . . . . . 4-386
SRCPWR Source Power . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-388
SRCTK Source Tracking .......................... 4-390
SRCTKPK
Source
Tracking
P
eak
.
.
.
.
...... ...... ...... 4-392
SRQ Force Service Request . . . . . . . . . . . . . . . . . . . . . . . . . 4-393
SS Center Frequency Step Size ...... ...... ..... ...... 4-396
ST Sweep Time .............................. 4-398
STB Status Byte Query . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-400
STOR Store .. ...... ...... ...... ..... ...... . 4-401
SUB
Subtract
.
.
.
............................ 4-404
SUM Sum of Trace Amplitudes .... ...... ...... ...... . 4-406
SUMSQR Sum of Squared Trace Amplitudes . . . . . . . . . . . . . . . . . 4-408
SWEEPTYPE Sweep Type ......................... 4-409
SWPCPL Sweep Couple .......... ...... ...... .... 4-410
T
A
Transfer
TB
Transfer
TBLDEF
TDF
Trace
TH
Threshold
TIMED
TIMEDSP
TITLE
TM
Trigger
TRA/TRB/TRC
TRCMEM
T
A
TE
Title
A
B
able
Data
Time
Time
.
Mode
Trace
.
.
.
.
.
.
.
.
.
...................... 4-412
.
.
.
.
.
.
.
.
.
.
...... ...... ...... ... 4-414
Denition
F
ormat
.
.
.
.
.
.
.
.
.
.
.
................. 4-415
.
.
.
.
.
.
.
.
.................. 4-416
.
.
.
.
.
.
.
.
...... ...... ...... ... 4-421
Date .. ...... ...... ...... ..... .. 4-423
Display
.
Trace
Memory
.
...... ...... ...... ...... .. 4-424
...... ...... ...... ...... ..... . 4-425
.
............................ 4-426
Data
Input and Output . . . . . . . . . . . . . . . . . 4-428
..... ..... ...... ...... .... 4-430
TRDEF Trace Dene . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-431
TRDSP Trace Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-433
TRPRST Trace Preset ........................... 4-434
TRSTATTraceStatus............................ 4-435
TS Take Sweep .............................. 4-436
TWNDOW Trace Window . . . . . . . . . . . . . . . . . . . . . . . . . . 4-437
UDKDEFINE User-Dened Key . . . . . . . . . . . . . . . . . . . . . . . 4-438
UDKSET User-Dened Key Set . . . . .
UNRANGE UnRange . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UP Up
VARDEF V
..................................
ariable Denition
.... ...... ...... ...... ..
.................. 4-439
4-440
4-441
4-442
VARIANCE Variance of Trace Amplitudes . . . . . . . . . . . . . . . . . . 4-444
VAVG Video Average...... ...... ..... ...... ..... 4-446
VB Video Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-447
VBR Video Bandwidth Ratio ........................ 4-449
VIEW View Trace .. ...... ...... ..... ...... .... 4-450
WAIT Wait................................. 4-451
WINNEXT Window Next . . . . . . . . . . . . . . . . . . . . . . . . . . 4-452
WINOFF Window O . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-453
WINON Window ON ............................ 4-454
WINZOOM Window Zoom . . . . . . . . . . . . . . . . . . . . . . . . . . 4-456
XCH Exchange .............................. 4-457
Contents-7

XUNITS Transducer Conversion Units . . . . . . . . . . . . . . . . . . . . 4-459
ZMKCNTR Zone Marker at Center Frequency .... ...... ...... 4-460
ZMKPKNL Zone Marker for Next Left Peak ................. 4-462
ZMKPKNR Zone Marker for Next Right Peak................. 4-463
ZMKSPAN Zone Marker Span . . . . . . . . . . . . . . . . . . . . . . . . 4-464
5. Error Messages
Nonrecoverable System Errors ...... ...... ...... ...... 5-12
A. HP-IB
B
.
RS-232
Option
023
What You'll Learn in This Appendix . . . . . . . . . . . . . . . . . . . . . . B-1
Introducing the RS-232 Interface ...................... B-1
The RS-232 Data Lines . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
The RS-232 Handshaking Lines . . . . . . . . . . . . . . . . . . . . . . B-1
Baud
Rate
.
.
.
.............................. B-2
Protocol
.
.
.
.
.............................. B-2
Connecting a ThinkJet Printer ....................... B-3
ThinkJet Printer Mode Switches: ..................... B-4
Connecting a Modem . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-4
System
Connecting
Switch
Setting
Settings
an
Settings
the
Instrument
.
HP-GL
.
.
.
.
Plotter
.
.
.
Baud
.
.
Rate
.
.
.
.
.
.
.
................. B-5
.
.
.
.
.
.
.
.
.
...... ...... ... B-5
.
.
.
.
.
.
.................. B-5
.
.
.
.
.
.
.
.
.............. B-5
Index
Contents-8

Figures
1-1. Connecting the HP 9000 Series 200 Computer to the Instrument ....... 1-3
1-2. Connecting the HP 9000 Series 300 Computer to the Instrument ....... 1-5
1-3. Connecting the HP Vectra Personal Computer to the Instrument ....... 1-7
1-4. Connecting the HP Vectra Personal Computer to the Instrument ....... 1-9
1-5. Connecting an IBM PC/AT Compatible Computer to the Instrument . . . . . . 1-11
3-1. Measurement Unit Range and Trace Amplitudes . . . . . . . . . . . . . . . 3-13
4-1. Command Syntax Figure . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4-2. Hanning Filter Window .......................... 4-124
4-3. Uniform Filter Window ...... ...... ..... ...... ... 4-125
4-4. Flat TopFilterWindow...... ...... ...... ...... ... 4-125
A-1. HP-IB Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
B-1.
B-2.
B-3.
B-4.
B-5.
RS-232
Full
3-Wire
ThinkJet
Modem
Connector
Handshaking
Connection
Printer
Connection
.
.
.
.
Connection
.
.
.
...... ...... ...... ...... .. B-3
Connection
.
.
.
...... ...... ...... ...... . B-1
.
.
.
...... ...... ...... ... B-3
.
.
...................... B-3
......................... B-4
B-6. HP-GL Plotter Connection ...... ...... ...... ...... . B-5
T
ables
3-1. Measurement Units ............................ 3-13
3-2. Summary of the Trace Data Formats .. ...... ...... ...... 3-14
4-1. Syntax Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
4-2. Characters and Secondary Keywords (Reserved Words)...... ...... 4-5
4-3. Summary of Compatible Commands . . . . . . . . . . . . . . . . . . . . . 4-9
4-4. Functional Index ............................. 4-11
4-5. LIF or DOS File Types ...... ...... ...... ...... ... 4-74
4-6. LIF or DOS Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-192
4-7. Instrument Status Byte . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-394
4-8. LIF or DOS Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-403
4-9. Programming Commands That Exit The Windows Display Mode . . . . . . . . 4-455
B-1. Setting of Thinkjet Printer Mode Switches . . . . . . . . . . . . . . . . . . B-4
B-2. Setting of RS-232 Switches . . . . . . . . . . . . . . . . . . . . . . . . . B-4
B-3. Setting the Baud Rate ........................... B-4
Contents-9


1
Preparing for Use
What You'll Learn in This Chapter
This chapter tells you how to connect a computer to your instrument via the Hewlett-Packard
Interface Bus (HP-IB) or the RS-232 Interface and how to connect a printer or a plotter.The
remainder of the chapter covers procedures to follow if a problem is encountered.
Connecting Your Instrument to a Computer
The instrument works with many popular computers. However, the steps required to connect
your instrument to a specic computer depend on the computer you are using. Before turning
to the interconnection instructions for your computer, please read the following general
information.
Conguring
Y
our
Computer
System
Every computer system has a specic conguration. Your system conguration might include a
printer
need
information
Some
simple
stored
add-on
,
external
to
recongure
to
the
computers
modication.
on
the
computer's
board,
or
disk
drive
your
newly
do
not
The
\card."
,
or
computer
added
require
most
operating
Refer
plotter
common
.
Whenever
system
device
so
.
conguring
modication
system
to
your computer documentation if your system needs these
disk.
you
add
another
that
the
computer
when
an instrument is connected; others require a
is
changing the conguration information
piece
knows
of
equipment,
where
and
A few computers require the insertion of an
how
you may
to
send
modications.
All of the test programs for HP-IB and RS-232 interfaces are written using the BASIC language
of the computer under consideration. If you have never entered or run a BASIC program, refer
to your computer documentation.
Connecting the Computer to the Instrument
For the HP-IB Interface
Appendix A contains instructions for connecting the instrument's or to an HP Vectra PC
equipped with an HP 82300B BASIC Language Processor. If your computer is not listed, but
it supports an HP-IB interface, there is a good possibility that it can be connected to the
instrument. Consult your computer documentation to determine how to connect external
devices on the bus.
For the RS-232 Interface
Appendix B contains instructions for connecting the instrument's RS-232 interface to an
HP Vectra PC or IBM PC/AT or compatible computers. If your computer is not listed, but
it supports a standard RS-232 interface, there is a good possibility that the instrument may
be connected to the computer. Consult your computer documentation to determine how to
connect external devices to your computer's RS-232 connector.
Preparing for Use 1-1

There are two types of RS-232 devices: data terminal equipment (DTE) and data
communication equipment (DCE). Types of DTE devices include display terminals.DCE
equipment includes modems and, generally, other computer RS-232 devices. The instrument
RS-232 port is the DTE-type. Connections from the computer (DCE) to the instrument (DTE)
are shown in Figure 1-4.
The
T
est
Program
T
o
test
the
system
After
you have connected your computer and instrument, you should enter and run the test
conguration, a simple test program is provided for each computer listed.
program on your computer to make sure the computer is sending instructions to the instrument
through the interface cable. If the interface is working and the program is entered correctly,a
statement is displayed on the computer screen.
Note
Note
Pressing
4
CONFIG
The listed computer and instrument equipment includes the minimum
components necessary to establish communication between your instrument
and computer. If you are using application software, check with your software
supplier
Using
interconnection
instrument
5
removes
for
an
interface
specic
and
the
instrument
computer
cable
other
instructions
computer
.
may
from
hardware
than
the
prevent
remote
and
one
proper
memory
listed
requirements
with
your
computer's
communication
.
between
the
mode and enables front-panel control.
1-2 Preparing for Use

HP-IB
Connections
for
the
HP
9000 Series 200 Technical
Computers
Equipment
HP 9816, 9826, or 9836 Series 200 technical computer
HP 8542E/HP 8546A EMI receiver
HP 10833 (or equivalent) HP-IB cable
Interconnection
Connect
computer
the
instrument
connected to the instrument.
Instructions
to
the
computer using the HP-IB cable. Figure 1-1 shows an HP 9836
Figure 1-1. Connecting the HP 9000 Series 200 Computer to the Instrument
Test Program
To test the connection between the computer and the instrument, turn on your instrument and
follow the instructions below
1. Y
our HP 9000 Series 200 computer may have either a soft-loaded or built-in language
.
system. If your language system is built-in, remove any disks from the drives and turn on
the computer.
2. If your language is soft-loaded, install the BASIC language disk into the proper drive. Turn
the computer power on. After a few seconds, the
BASIC READY
message appears; the
computer is now ready for use.
For further information on loading BASIC on your system, consult your BASIC manual.
3.
Check the HP-IB address of the instrument: press
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
RECEIVER ADDRESS
. The usual address for the instrument is 18. If necessary, reset the
4
CONFIG
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
5
,
More 1 of 3
,
Preparing for Use 1-3

address of the instrument: press
enter the appropriate address).
4
CONFIG
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
5
,
More 1 of 3
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
,
RECEIVER ADDRESS
,18,
4Hz5
(or
4. Enter the following program, then press
4
5
on the computer. If you need help entering
RUN
and running the program, refer to your computer and software documentation.
The program shows that the computer is able to send instructions to, and read information
from, the instrument.
10 PRINTER IS 1
20 Instrument=718
30 CLEAR Instrument
40 OUTPUT Instrument;"IP;SNGLS;"
50 OUTPUT Instrument;"CF 300MZ;TS;"
60 OUTPUT Instrument;"CF?;"
70 ENTER Instrument;A
80
The
PRINT
90
END
program
"CENTER
tells
the
FREQUENCY
instrument
=
to
perform
";A;"Hz";
an instrument preset and enter single-sweep
mode. Next, the program sets the center frequency to 300 MHz and takes a sweep.
The program then queries the center frequency value and tells the computer to display
CENTER FREQUENCY = 3.0E+8 Hz
.
If the computer does not display the center frequency, refer to \If There is a Problem" at the
end of this chapter.
1-4 Preparing for Use

HP-IB
Computers
Equipment
HP 98580A, 98581A, 98582A, or 98583A Series 300 technical computer
HP 8542E/HP 8546A EMI receiver
HP 10833 (or equivalent) HP-IB cable
Connections
for
the
HP
9000 Series 300 Technical
Interconnection
Connect
the
instrument
Instructions
to
the
computer using the HP-IB cable as shown in Figure 1-2.
Figure 1-2. Connecting the HP 9000 Series 300 Computer to the Instrument
Preparing for Use 1-5

Test Program
To test the connection between the computer and the instrument, turn on your instrument and
follow the instructions below.
1. Your HP 9000 Series 300 computer may have either a soft-loaded or built-in language
system. If your language system is built-in, remove any disks from the drives and turn on
the computer.
2.
If
your
the
computer
computer
F
or
further
3.
Check
N
N
the
N
N
N
N
N
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
RECEIVER
address
language
is
of
is
soft-loaded,
power
now
information
HP-IB
ADDRESS
on.
ready
address
.
The
After
for
use.
on
loading BASIC on your system, consult your BASIC manual.
of
the
usual
the instrument: press
install the BASIC language disk into the proper drive. Turn
a
few seconds, the
BASIC READY
message appears; the
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
5
More
instrument:
address for the instrument is 18. If necessary, reset the
4
CONFIG
press
N
N
N
N
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
More
5
,
4
CONFIG
1
of 3
,
N
N
N
N
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
RECEIVER
,
1
of
ADDRESS
3
,
5
,18,
(or
4
Hz
enter the appropriate address).
4. Enter the following program, then press
and
The
running
program
the
shows
program,
that
the
refer
to
computer
4
5
on the computer. If you need help entering
RUN
your
computer and software documentation.
is
able to send instructions to, and read information
from, the instrument.
10 PRINTER IS 1
20 Instrument=718
30 CLEAR Instrument
40 OUTPUT Instrument;"IP;SNGLS;"
50
OUTPUT
Instrument;"CF
300MZ;TS;"
60 OUTPUT Instrument;"CF?;"
70 ENTER Instrument;A
80 PRINT "CENTER FREQUENCY = ";A;"Hz";
90 END
The
program
mode
.
The
program
CENTER
tells
Next,
the
then
FREQUENCY
the
instrument
program
queries
=
3.0E+8
to perform an instrument preset and enter single-sweep
sets the center frequency to 300 MHz and takes a sweep.
the center frequency value and tells the computer to display
Hz
.
If the computer does not display the center frequency, refer to \If There is a Problem" at the
end of this chapter.
1-6 Preparing for Use

HP-IB
Connections
for
the
HP
Vectra Personal Computer
Equipment
HP
Vectra personal computer, with option HP 82300B,theHPBASIC Language Processor
HP 8542E/HP 8546A EMI receiver
HP 10833 (or equivalent) HP-IB cable
Interconnection Instructions
Connect the instrument to the computer using the HP-IB cable as shown in Figure 1-3.
Figure 1-3. Connecting the HP V
ectra P
ersonal Computer to the Instrument
Test Program
To test the connection between the computer and the instrument, turn on your instrument and
follow the instructions below.
1. Refer to the HP 82300 Language Processor documentation to install the language processor
board in your computer and load the BASIC programming language into your computer.
2.
Check the HP-IB address of the instrument: press
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
RECEIVER ADDRESS
address of the instrument: press
. The usual address for the instrument is 18. If necessary, reset the
4
CONFIG
5
,
4
CONFIG
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
More 1 of 3
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
5
,
More 1 of 3
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
,
RECEIVER ADDRESS
,
,18
4Hz5
(or
enter the appropriate address).
Preparing for Use 1-7

3. Enter the following program, then press
4
5
on the computer. If you need help entering
F10
and running the program, refer to your computer and software documentation.
The program shows that the computer is able to send instructions to, and read information
from, the instrument.
10 PRINTER IS 1
20 Instrument=718
30 CLEAR Instrument
40 OUTPUT Instrument;"IP;SNGLS;"
50 OUTPUT Instrument;"CF 300MZ;TS;"
60 OUTPUT Instrument;"CF?;"
70
ENTER
80
PRINT
90
END
The
program
mode
.
Next,
program
CENTER FREQUENCY = 3.0E+8 Hz
Instrument;A
"CENTER
tells
the
then
queries
the
instrument
program
the
FREQUENCY
sets
the
=
to
perform
center
";A;"Hz";
an
instrument preset and enter single-sweep
frequency to 300 MHz and takes a sweep.The
center frequency value and tells the computer to display
.
If the computer does not display the center frequency, refer to \If There is a Problem" at the
end of this chapter.
1-8 Preparing for Use

RS-232
Equipment
HP
HP 8542E/HP 8546A EMI receiver
HP 24542G RS-232 cable
Connections
Vectra personal computer with RS-232 interface that has an 9-pin female port
for
the
HP
Vectra Personal Computer
Interconnection
1. Connect the instrument to the computer using the RS-232 cable as shown in Figure 1-4.
Instructions
Figure 1-4. Connecting the HP Vectra Personal Computer to the Instrument
2. Turn on the instrument and the computer.
Test Program
The program shown below works with the following computers:
HP Vectra PC using a version of BASIC (HP 45952A) for the Vectra PC. The MS BASIC
Interpreter (HP 35190A) is compatible with the version of BASIC for the Vectra PC.
IBM PC/AT and compatible computers using BASICA (version 2.0 or later) or GW BASIC.
To test the interconnection, rst load the BASIC language for your computer and specify a
communications buer of 4096 bytes. Use the following command:
BASICA/C:4096
Preparing for Use 1-9

Set the instrument baud rate to 1200, to match the baud rate set up for the computer port in
the test program. In line 20, the \1200" indicates 1200 baud for the computer port. Press the
following keys to set the baud rate:
Enter
the
instructions
following
to
,
and
test
read
program.
information
4
The
CONFIG
program
from,
N
N
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
More 1 of 3
5
,
shows
the
instrument.
that the computer is able to send
N
N
NNNNNNNNNNNNNNNNNNNNNNNNNNN
BAUD RATE
,
, 1200,
4Hz5
.
10 'File = TESTPGM
20
OPEN
30
40
50
60
"COM1:1200,N,8,1"
PRINT
PRINT
PRINT
PRINT
#1,"IP;"
#1,"SNGLS;"
#1,"CF
#1,"CF?;"
300MZ;TS;"
AS
#1
70 INPUT #1,CENTER
80 PRINT,"CENTER FREQUENCY = ";CENTER;"Hz"
90 END
When you have entered the program, type:
SAVE "TESTPGM"
When
The
mode
program
CENTER FREQUENCY = 3.0E+8 Hz
you are ready to run the program, turn on the instrument and run your program.
program
.
tells the instrument to perform an instrument preset and enter single sweep
Next, the program sets the center frequency to 300 MHz and takes a sweep.The
then queries the center frequency value and tells the computer to display
.
If the computer does not display the center frequency, refer to \If There is a Problem" at the
end of this chapter.
1-10 Preparing for Use

RS-232
Connections
for
the
IBM
PC/AT and Compatible
Computers
Equipment
IBM PC/AT or compatible with RS-232 interface
HP 8542E/HP 8546A EMI receiver
HP 13242G RS-232 cable (DCE-DCE), 7 pins used (refer to Appendix Bfor wiring of this cable)
Interconnection
Instructions
1. Connect the instrument to the computer with the RS-232 cable. (See Figure 1-5.) The
instrument uses a female RS-232 connector; the IBM PC/AT computer usually uses a male
RS-232 connector. Some compatibles use a female RS-232 connector.
Figure 1-5. Connecting an IBM PC/AT Compatible Computer to the Instrument
2. Turn on the instrument and the computer.
Test Program
The program shown below is written to work with BASICA (version 2.0 or later) or GW BASIC.
To test the interconnection, rst load the BASIC language for your computer and specify a
communications buer of 4096 bytes. Use the following command:
BASICA/C:4096
Set the instrument baud rate to 1200, to match the baud rate set up for the computer port in
the test program. In line 20, the \1200" indicates 1200 baud for the computer port. To set the
baud rate to 1200 press
4
CONFIG
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
5
,
More 1 of 3
NNNNNNNNNNNNNNNNNNNNNNNNNNNNN
,
BAUD RATE
, 1200
4Hz5
.
Preparing for Use 1-11

Enter the following test program.
The program shows that the computer is able to send instructions to, and read information
from, the instrument.
10 'File = TESTPGM
20 OPEN "COM1:1200,N,8,1" AS #1
30 PRINT #1,"IP;"
40 PRINT #1,"SNGLS;"
50 PRINT #1,"CF 300MZ;TS;"
60 PRINT #1,"CF?;"
70 INPUT #1,CENTER
80
PRINT,"CENTER
FREQUENCY=
";CENTER;"Hz"
90 END
When you have entered the program, type:
SAVE "TESTPGM"
When
you
are
ready
to
run the program, turn on the instrument and run your program.
The program tells the instrument to perform an instrument preset and enter single-sweep
mode. Next, the program sets the center frequency to 300 MHz and takes a sweep.The
program then queries the center frequency value and tells the computer to display
CENTER FREQUENCY = 3.0E+8 Hz
If
the
end
computer
of
this
does
chapter
not
display
.
.
the
center
frequency
,
refer
to
\If
There is a Problem" at the
1-12 Preparing for Use

Printing
Y
ou
may
wish
using
the
4
COPY
or
Plotting
to
obtain
5
key
of
a
the
permanent
instrument,
record of data displayed on the screen. This can be done
and
a
printer
or plotter.
Note
The HP 7470A plotter does not support 2 plots per page. If you use an
HP 7470A plotter with an HP 8542E/HP 8546A EMI receiver, you can select one
plot per page or four plots per page, but not 2 plots per page.
Printer
with
an
HP-IB
Interface
Equipment
HP 8542E/HP 8546A EMI receiver
HP 2225 ThinkJet printer or HP 3630A PaintJet color printer
HP 10833 (or equivalent) HP-IB cable
Interconnection
1.
Turn
o
the
and
Printing
Instructions
printer and the instrument.
2. Connect the printer to the instrument using the HP-IB cable.
Note
Because HP-IB cables can be connected together, more than one instrument can
communicate on the HP-IB. This means that both a printer and a plotter can be
connected to the instrument (using two HP-IB cables). Each device must have
its
own
HP-IB
address
.
Note
Because the instrument cannot print or plot with two controllers (the computer
and the instrument) connected, the computer must be disconnected from the
HP-IB.
3.
Turn on the instrument and printer.
4.
On
the
instrument,
5. The printer usually resides at the rst device address.To enter address 1 for the printer,
6. If the instrument is connected to an HP PaintJet printer and you want a color printout,
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
press
PRINTER ADDRESS
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
N
press,
PaintJet printer and you want a black and white printout press,
N
Printer Type
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
COLOR MONOCHRM
7. If you want the softkey labels to be printed with the display printout, press
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
PRT MENU ON OFF
8.
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Press
Previous Menu
underlined), then
press
4
CONFIG
,1,
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
N
More 1 of 3
,
until MONOCHRM is underlined.
so that ON is underlined.
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
,
Previous Menu
4
5
.
COPY
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
5
Print
,
4Hz5
.
Config
NNNNNNNNNNNNNNNNNNNNNNNNN
N
PAINTJET
,
.
. If the instrument is connected to an HP
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
,
COPY DEV PRNT PLT
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
N
Print Options
(PRNT should be
, then press
Preparing for Use 1-13

Plotter with an HP-IB Interface
Equipment
HP 8542E/HP 8546A EMI receiver
HP 7440A ColorPro plotter
HP 10833 (or equivalent) HP-IB cable
Interconnection
and
Plotting
Instructions
1. Turn o the plotter and the instrument.
2. Connect the plotter to the instrument using the HP-IB cable.
Note
Instrument can communicate on the HP-IB. This means that both a printer and
a plotter can be connected to the instrument (using two HP-IB cables). Each
device must have its own HP-IB address.
Note
Because the instrument cannot print or plot with two controllers (the computer
and
the
HP-IB
instrument)
.
connected,
the
computer
must be disconnected from the
3. Turn on the instrument and the plotter.
N
N
4.
On the instrument, press
5.
The
plotter usually resides at the fth device address.To set the plotter address, press
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
PLOTTER ADDRESS
N
N
N
N
6.
With
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
PLTS/PG 1 2 4
PLTS/PG 1 2 4
4
CONFIG
,5,
4Hz5
, to enter the address 5 for the plotter.
, you can choose a full-page, half-page, or quarter-page plot. Press
to underline the number of plots per page desired.
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Plot Config
5
,
.
7. If two or four plots per page are chosen, a function is displayed that allows you to select
the location on the paper of the plotter output. If two plots per page are selected, then
N
N
N
N
N
N
N
N
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
N
PLT
the
N
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
N
PLT [] _LOC _ _
[]LOC
_
_
function is displayed. If four plots per page are selected, then the
is displayed. Press the softkey until the rectangular marker is in the
desired section of the softkey label. The upper and lower sections of the softkey label
graphically represent where the plotter output will be located.
1-14 Preparing for Use