NoticeInformation containe d in this document is subject to change without notic e .
All Rights Reserved. Reproduction, adaptation, or translation without prior
written permission is pr ohibited, except as allowed under the copyright laws.
This material may be reproduced by or for the U.S. Gover nment pursuant to
the Copyright License under the cla use at DFARS 52.227-7013 (APR 1988).
Hewlet t-Packard Company
Learning Products Department
24001 E. Mission
Liberty Lake, WA 99019-9599
U.S.A.
2
Manufacturer’s
Declaration
This statement is provide d to comply with the requirements of
the German Sound Emission Directive, from 18 January 1991.
This product has a sound pressure emission (at the operator
position) < 70 dB(A).
•Sound Pressure Lp < 70 dB(A).
•At Operator Position.
•Normal Operation.
•According to ISO 7779:1988/EN 27779:1991 (Type Test).
Herstellerbescheinigu
ng
Diese Information ste ht im Zusammenh ang mit den Anforderungen der
Maschinenlärminformationsverordnung vom 18 Januar 1991.
•Schalldruckpegel Lp < 70 dB(A).
•Am Arbeitsplatz.
•Normaler Betrieb.
•Nach ISO 7779:1988/EN 27779: 1991 (Typprüfung).
3
Safety Considerations GENERAL
This product and related document at ion must be reviewed for familiarizat ion
with safety markings and instr uctions before operation.
This product is a Safety Class I instrument (provided with a protective earth
terminal).
SAFETY EARTH GROUND
A uninterruptible safety earth ground must be provided from the main power
source to the product input wiring terminals, power cord, or supplied power
cord set.
CHASSIS GROUND TERMINAL
To prevent a potential shock hazard, always connect the rear-panel chassis
ground terminal to earth ground when operating this instrument from a dc
power source.
SAFETY SYMBOLS
WARNING
CAUTION
!
Indicates inst rument damage can occur if indicated operating limits are
exceeded.
Indicates hazar dous voltages.
Indicates earth (g rou nd) terminal
A WARNING note denotes a hazard. It calls atte ntion to a proc edure, practice, or
the like, which, if not correctly performed or adhered to, could result in personal
injury. Do not proceed beyond a WARNING sign until the indicated conditions
are fully understood and met.
A CAUTION note denotes a hazard. It calls attention to an operation
procedure, practice, or the like, which, if not correctly performed or
adhered to, could result in damage to or destruction of part or all of the
product. Do not proceed beyond an CAUTION note until the indicated
conditions are fully unde rstood and met.
4
Safety Considerations for this Instrument
WARNING:This product is a Safety Class 1 instrument (provided with a protective earthing ground
incorporate d in the power cord) The mains plug shall only be inserted in a socket outlet
provided with a protective earth contact. Any interruption of the protective conductor
inside or outside of the product is likely to make the product dangerous. Intentional
interruption is prohibited.
Whenever it is li kely that the protection has been impaired, the instrument must
be made inoperati ve and be secured against an y unintended operation.
If this instru ment is to be energized via an au totransformer (for voltage
reduction), make sure the common terminal is connected to the earth term inal of
the power source.
If this product is not used as specified, the protection provided by the equipm ent
could be impaired. This product must be used in a norm al condition (in which al l
means for proctection are intact) only.
No operator service able parts in this product. Refer servicing to qua lified
personnel. To pre vent electrical shock, do not remove covers.
Servicing instructions are for use by quali fied personnel only. To a void electrical
shock, do not perform any servicing unless you are qualified to do so.
The opening of covers or removal of parts is likely to expose dangerous
voltages. Dis connect the product from all voltage sources while it is being
opened.
Adjustments described in the manual are performed with power supplied to the
instrument whil e protec tive c overs ar e removed. Energy avai la ble at many points
may, if contacted, result in personal injury.
The power cord is connecte d to internal capac itors that my remain live for
5 seconds after disconnecting the plug from its power supply.
For continued protection against fire hazard, replace th e line fuse(s) only with
250 V fuse(s) or the same current rating and type (for example, normal blow or
time delay). Do not use repa ired fuses or short circuited fuseholders .
CAUTION:Always use the three-prong ac power cord supplied with this product. Failure to
ensure adequat e earth grounding by not using this cord may cause product
damage.
This product has autoranging line vol tage input, be sure th e s upply voltage is
within th e s p ec if ied rang e .
5
CERTIFICATIONHewlett-Packard Company certifies that this product met its published
specifications at the time of shipment from the factory. Hewlett-Packard
further certif ies that i ts c alibration measu rements are traceable to the Unite d
States National Institute of Standards and Technology, to the extent allowed
by the Institute’s ca libration facility, and to the calibration facilities of other
International Standards Organization members
WARRANTYThis Hewlett-Packar d instr ument product in warranted against defects in
material and workmanship for a period of one year from date of shipment.
During the warranty peri od, 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 desi gnated by HP. Buyer shal l prepay shippi ng charges to HP and HP
shall pay s hipping c harges, dut ies, and taxe s for pr oducts returne d t o HP fro m
another country.
HP warrants that it s software and firmware designa te d by HP for use with an
instrument will exec ute its progr amming instr uctio ns when properly inst all ed
on that instrument. HP does not warrant tha t the operation of the instrument,
or software, or fir mw ar e w ill be un int er ru pte d or erro r fre e.
LIMITATION OF
WARRANTY
EXCLUSIVE
REMEDIES
The foregoing warranty shall not apply to defects resulting from improper or
inadequate maintena nce by Buyer, Buyer-supplied software or inte rfacing,
unauthorized modification or misuse, operation outside of the environmental
specifications for the product, or improper site preparation or maintenance.
NO OTHER WARRANTY IS EXPRESSED OR IMPLIED. HP
SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTIDCULAR
PURPOSE.
THE REMEDIES PROVIDED HEREIN ARE BUYER’S SOLE AND
EXCLUSIVE REMEDIES. HP SHALL NOT BE LIABLE FOR ANY
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER BASE ON CONTRACT, TORT, OR ANY
OTHER LEGAL THEORY.
ASSISTANCEProduct maintenance agreements and other customer assistanc e agreements
are available for Hewle tt-Packard products. For any assistanc e, contact your
nearest Hewlett-Packard Sales and Service Office.
6
DECLARATION OF CO NF ORMITY
Manuf ac tu r er ’ s N a m e : Hewl ett-Pack ar d Co mpany
Manufacturer’s Address:Spokane Division
24001 E. Mission Ave.
Liberty Lake, WA 99019-9599
Declares that the product(s):
Product Name:RF Communications Test Set
Model Number(s):HP 8920A, 8920B
Product Options:All
Conforms to the following product specifications.
Safety: HD 401/IEC 348
EMC:EN 55011 (1991)/CISPR 11 (1990): ‘Group 1, Class A
EMC:EN 50082-1 (1992) /IEC 801-2 (1991):4 kV CD, 8 kv AD
/IEC 801-3 (1991):3 V/m
/IEC 801-4 (1991):1k V Power Lines
0.5 kV Signal Lines
Supplementary Information:
The product herewith complies with the re quirements of the Low Voltage Directive
73/23/EEC an d EMC Directive 89/336/EEC.
Spokane,
Washington
DateVince Roland, SKD Quality Manager
Europe an Co n t ac t: Yo u r local Hewlet t- P a ck a r d S al e s and S er v i ce Of fice or HewlettPackard GmbH. Dept. ZQ/S tandards Europe, Herrenberger StarBe 130, D- 7030
Boblingen (Fax: +49-7031-14-3143).
7
In this BookChapter 1, Using HP-IB, describes the general guidelines for using HP-IB and how
to prepare the Test Set for HP-IB usage. This chapter includes example programs for
controlling the basic functions of the Test Set.
Chapter 2, HP-IB Command Guidelines, conta ins information about se quential
and overlapped commands, command syntax, units of measure, and measurement
stat es. A shor t exampl e program is also presented to familiarize the user with remo te
operation of the Test Set.
Chapter 3, HP-IB Commands, contains command syntax diagrams, equivalent
front-pane l key commands, IEEE 488.2 Common Commands and triggering
commands.
Chapter 4, Advanced Operations, includes information abou t increasing
measurement throughput, status report ing, error reporting, servi ce requests,
instrument initializati on, and passing control .
Chapter 5, Memory Cards/Mass Storage, describes the types of mass storage
(RAM disk, ROM disk, ext ernal disk drives, SRAM cards, and ROM ca rds) and the
file system formats (DOS, LIF) available in the Test Set.
Chapter 6, IBASIC Controller, describes how to develop Instrument BASIC
(IBASIC) progr am s for use on the Test Set’s built -in IBAS IC Controller. Topics
discus sed are: interfacing to the IBASIC Con troller u sing the serial p o rts, over view
of the three program development methods, entering and editing IBASIC programs,
program control usi ng the PROGram Subsystem, and an introduction to writ ing
programs for the TESTS subsystem.
Chapter 7, Programming the Call Proce ssing Subsystem, describes how to
control the Te st Set’s Call Proces sing Subsystem usi ng the Call Processi ng
Subsys tem’s remo t e us er in te r f ac e . Top i cs d iscussed ar e : ac ce s si ng th e C all
Processing Subs yst em screens, handling error messa ges, controlling program flow
using the Call Pr oce ssing Status Register Group, and how to query data messages
received from the mobile station. Example programs are provide d sho wing how to
control the Cal l P rocessing Subsystem using service request s and register polling.
Error Messages describes the Text Only HP-IB Errors and the Numbered HP-IB
Errors. This section als o descr ibe s other type s of error messag es tha t the Test Set
displays and where to find more information about those types of error messages.
8
Trademark
Acknowledgements
Microsoft ®, Microsoft® Windows, and MS-DOS® are registered
trademarks of Microsoft Co rpo ration.
ProComm® is a registered tra demark of DATASTORM TECHNOLOGIES,
INC.
Conventions Used In
This Manual
The generic abbreviation "PC" is used to represent computers compatible with the
IBM personal computer (PC) running the MS-DOS operating system.
The term "workstation" is used to represent HP 9000 Series 200/300 System
Controllers.
The acronym IBASI C is u sed throug hout thi s manual t o re fer to Ins trument B ASIC, a
subset of the Hewlett-Pack ard Rocky Mounta in BASIC programming language. The
term IBASIC Controller refers to the Test Set’s built-in IBASIC Controlle r.
A field on the Test Set’s display is repre se nted in the following manner:
AF Anl In.
A front-panel keycap is represented in the following manner: [TESTS].
When keys are pressed one-at-a-time, they are separated by commas. For
example, [SHIFT], [TESTS] means to press and rele ase the [SHIFT] key, then
press and release the [TESTS] key.
When keys are pressed simultaneously, they are connected by a plus sign, +.
For example, [Alt]+[ P ] means to hold down the [Alt] key and press [ P ].
Definition of Test SetThe generic term "Test Set" is used inte rcha ngeably in the manual for the
HP 8920B.
9
10
Contents
1 Using HP-IB
Overview of the Test Set 18
Getting Started 26
Remote Operation 39
Addressing 41
IEEE 488.1 Remote Interface Messag e Capabilities 42
Remote/Local Modes 45
2 Methods For Reading Measurement Results
Background 50
HP BASIC ‘ON TIMEOUT’ Example Program 52
HP BASIC ‘MAV’ Example Program 56
3 HP-IB Command Guidelines
Sequential and Overlapped Commands 62
Guidelines for Operation 63
4 HP-IB Commands
HP-IB Syntax Diagrams 86
Adjacent Channel Power (ACP) 89
AF Analyzer 91
11
Contents
AF Generator 1 94
AF Generator 2 Pre-Modulation Filt ers 95
AF Generator 2/Encoder 96
Configure, I/O Configure 111
Call Processing 117
Decoder 157
Display 161
Measure 163
Oscilloscope 170
Program 175
Save/Rec al l Reg ist ers 176
RF Analyzer 177
RF Generator 179
Radio Interface 180
Spectrum Analyzer 181
HP-IB Only Co m ma n ds 183
Status 184
System 185
Tests 186
Trigger 189
12
Contents
Integer Number Setting Synt ax 190
Real Number Setting Syntax 191
Multiple Real Number Setting Syntax 192
Number Measurement Syntax 193
Multiple Number Measurement Synta x 195
Equivalent Front-Panel Key Commands 196
IEEE 488.2 Common Commands 224
Common Command Descriptions 225
Triggering Measuremen ts 243
5 Advanced Operation s
Increasing Measurement Throughput 252
Status Reporting 260
HP-IB Service Requests 311
Instrument Initialization 321
Passing Control 334
6 Memory Cards/Mass Storage
Default File System 346
Mass Storage Device Overview 348
13
Contents
Default Mass Storage Locations 355
Mass Storage Access 357
DOS and LIF File System Considerations 358
Using the ROM Disk 364
Using Memo ry Cards 365
Backing Up Procedure and Library Files 371
Copying Files Using IBASIC Commands 372
Using RAM Disk 374
Using External Disk Drives 376
7 IBASIC Controller
Introduction 378
The IBASIC Controller Screen 379
Important Notes for Program Development 381
Program Development 382
Interfacing to the IBASIC Controller using Serial Ports 384
Choosing Your Development Method 398
Method #1. Progr am Devel opment on a n External BASIC Language
Computer 400
Method #2. Developing Progr ams on th e Test Set Using the IBASIC
EDIT Mode 408
14
Contents
Method #3. Developing Programs Using Word Processor on a PC
(Least Preferred) 4 1 3
Uploading Programs from the Test Set to a PC 420
Serial I/O from IBASIC Programs 421
PROGram Subsystem 424
The TESTS Subsystem 452
8 Programming The Call Processing Subsystem
Description of the Call Proc ess ing Subsystem’s Remote User
Interface 460
Using the Call Processing Subsystem’s Remote User Interface 464
Programming The CALL CONTROL Screen 474
Programming The AUTHENTICATION Screen 510
Programming The CALL DATA Screen 519
CALL DATA Screen Message Field Descriptions 525
Programming The CALL BIT Screen 546
CALL BIT Screen Message Field Descriptions 561
Programming The ANALOG MEAS Screen 612
Programming The CALL CONFIGURE Screen 620
Example Programs 624
15
Contents
9 Error Messages
Index 673
16
1
Using HP-IB
17
Chapter 1, Using HP-IB
Overview of the Test Set
Overview of the Test Set
The Test Set combines up to 22 separate test instruments and an Instrument
BASIC (IBASIC) Controller into one pac kag e. All of the Test Set’s functions can
be automatically contr olled through application programs running on the built-in
IBASIC Controller or on an external controller connected through HP-IB.
Developing programs for the Test Set is simplified if the programmer has a basic
understanding of how the Test Set operates. An overview of the Test Set’s
operation is best presented in terms of how information flows through the unit.
The simplified block di agrams shown in
depict how instrument cont rol information and measurement result inf ormat ion
are routed among the Test Se t’s ins truments, ins trument contr ol hardware, built- in
IBASIC controller, and other components.
figure 1 on page 2 4 and figure 2 on page 25
The Test Set has two operating modes: Manual Control mode and Automatic
Control mode. In Manual Control mode the Test Set’ s operation is controlled
through the front panel keypa d/r otary knob. There are two Automatic Control
modes: Internal and External. In Internal Automatic Control mode the Test Set’s
operation is cont rolled by an application pro gram running on the built-in IBASIC
Controller. In External Automatic Control mode the Test Set’s operation is
controlled by an external controller connected to the Test Set through the HP-IB
interface.
18
Manual Control Mode
The Test Set’s primary instr uments a re shown on the left side of figure 1 . There
are two classes of instruments in the Test Set: signal analyzers (RF Analyzer , AF
Analyzer, Oscilloscope, Spectrum Analyzer, Signaling Decoder) and signal
sources (RF Generator, AF Generator #1, AF Genera tor #2/Signaling Encoder).
The Test Set’s measurement capability can be extended by adding application
specific “top boxes” such as the HP 83201A Dual Mode Cellular Adapter.
Since so many instruments are integrated into the Test Set, it is not feasible to
have an actual “front panel” for each instrument. Therefore, each instrument’s
front panel is maintained in firmware and is displayed on the CRT whenever the
instrument is select ed. Only one instrument front panel can be displaye d on the
CRT at any given time (up to four measurement results can be displa yed
simultaneously if desired). Just as with stand alone instruments, instrument front
panels in the Test Set can contain instrument setting information, measurement
result(s), or data input from the DUT.
Chapter 1, Using HP-IB
Overview of the Test Set
Using the Test Set in Manual Control mode is very analogous to using a set of
bench or rack-mounted test equipme nt. To obta in a measurement result with a
bench or racked system, the des ired measurement must be “active. ” For exa mple,
if an RF power meter is in the bench or racked system and the user wishes to
measure the power of an R F carrie r they m ust turn the po wer met er on, a nd l ook at
the front panel to see the measurement result. Other instruments in the system
may be turned off but this would not prevent the operator from measuring the RF
power.
Conceptually, the same is tr ue for the Test Set. In orde r to make a measur ement or
input data from a DUT, the desired measurement field or data field must be
“active.” This is done by using the front panel keypad/rotary knob to select the
instrument whose front panel contains the desired measurement or data field and
making sure that the desired measurement or data field is turned ON.
Figure 1 shows that instrument selection is handled by the To Screen control
hardware which routes the selected instrument’s front panel to the CRT for
display. Once an instrument’s front panel is displayed on the CRT, the user can
manipulate the in strument set tings, s uch as turning a specif ic measur ement or da ta
field on or off, using the keypad/rotary knob.
Figure 1 also shows that instrument
setup is handled by the Instrument Control hardware which routes setup
information from the front panel to the individual instruments .
An HP-IB/RS-232/Par allel Printer interface capability is available in the Test Set.
In Manual Control mode this provides the capability of connecting an external
HP-IB, serial, or parallel printer to the Test Set so that display screens can be
printed.
19
Chapter 1, Using HP-IB
Overview of the Test Set
Internal Automatic Control Mode
In Internal Automatic Control mode the Test Set’s operation is controlled by an
application program running on the built-in Instrument BASIC (IBASIC)
Controller. The built-in controller runs programs written in IBASIC, a subset of
the Hewlett-Packard BASI C programming la nguage used on the HP 9000 Series
200/300 System Controlle rs. IBASIC is the only programming language
supported on the built-in IBASIC Controller.
Similarities Between the Test Set’s IBASIC Controller and Other Single-Tasking
Controllers
The architect ure of the I BASIC Contr oller is s imila r to tha t of oth er sin gle-tas king
instrumentati on controllers. Only one program can be run on the IBASIC
Controller at any given time. The program is loaded into RAM memory from
some type of ma ss storage device. Fiv e types of mass sto rage d ev ices are
available to the Test Set: SRAM memory cards, ROM memory cards, exter nal
disk drives con nect e d to th e HP -IB int erfa ce, internal RAM disc, and internal
ROM disc. Three types of interfaces are available for connecting to external
instruments and equipment: HP-IB, RS-232, and 16-bit parallel (available as Opt
020 Radio Int erfa ce Card).
Figure 2 shows how infor mati on is routed in side the Test S et when i t is in Int ernal
Automatic Control mode. In Manual Control mode certain Test Set resources are
dedicated to manual operation. These resources are switched to the IBASIC
Controller when an IBASIC program i s running. These incl ude the serial i nterface
at select code 9, the HP-IB interfac e at select cod e 7, the p aral lel pr inter i n terface
at select code 15, and the CRT. In Manual Control mode, fron t panel inf ormation
(instrument settings, measurement results, data input from the DUT) is routed to
the CRT through the To Screen control hardware. In Internal Automatic Control
mode the measurement results and data input from the DUT are routed to the
IBASIC Co ntr oll er thr o ugh a de d icat ed HP-IB interface. Also, in Internal
Automatic Control mode, the CRT is dedicat ed to the IBASIC Controller for
program and graphics displ ay. This mean s instrument front panels cannot be
displayed on the CRT when an IBASIC program is running.
20
Chapter 1, Using HP-IB
Overview of the Test Set
Differences Between the Test Set’s IBASIC Controller and Other Single-Tasking
Controllers
The IBASIC Controller is unlike othe r single tasking instrumentation co ntrollers
in several ways. First, it does not have a keyboard. This imposes some limitati ons
on creating and editing IBASIC programs directly on the Test Set. In Internal
Automatic Control mode a “virtual” key board is available in firmware which
allows the operator to ente r alpha numeric data into a dedicated input fiel d using
the rotary knob. This is not the recommended pr ogramming mode for the IBASIC
Controller. This feature is provided to allow user access to IBASIC programs for
short edits or troubleshooting. Several programming modes for developing
IBASIC programs to run on the internal IBASIC Controller are discussed in this
manual.
Secondly, the I BASIC Contr oller ha s a dedic ate d HP-IB interface, select code 8 in
figure 2 , for communicating with the internal instrumen ts of the Tes t Set. This
HP-IB interface is only available to the IBASIC Controller. There is no external
connector for this HP-IB int erface. No external instruments may be added to this
HP-IB interface. The HP-IB interface, select code 7 in
figure 2 , is used to
interface the Test Set to external instruments or to an external controller. The
dedicated HP-IB interface at select code 8 conforms to the IEEE 488.2 Standard
in all respects bu t one. T he difference being that each instrumen t on the bus does
not have a unique address. The Instrument Co ntrol Hardware determines which
instrument is being addressed through the command syntax. Refer to
"HP-IB Commands"
for a listing of the HP-IB command syntax for the Test Set.
chapte r 4 ,
21
Chapter 1, Using HP-IB
Overview of the Test Set
External Automatic Control Mode
In External Automatic Control mode the Test Set’s oper ation is controlled by an
external contr oller c onnec ted t o the Te st Set thr ough the HP-IB interface. When in
External Automati c Control mode t he Tes t Set’s int ernal conf iguratio n is the sa me
as in Manual Control Mode with two exceptions:
1. Configura ti on and setup comm ands are rec eived th rough the ext ernal HP-IB int erfac e,
select code 7, rather than from the front-panel keypad/ro tary knob.
2. The MEASure command is used to obtain measurement results and DUT data t hrough
the external HP-IB interface.
Figure 1 on page 24
shows how information i s routed insi de t he Test Set in Manua l
Control mode. F igure 1 also shows t hat certain Te st Set re sources are dedicated to
the IBASIC Controller (Memory Card, ROM disk, Serial Interface #10) and are
not directly accessible to the user in Manual Control Mode. In addition, figure 1
shows that Serial Interface #9 and Parallel Printer Interfa ce #15 are accessible as
write-only inte rfaces for print ing in Manual Control mode. These sa me condit ions
are true when in External Automatic Control mode. If the user wished to access
these resources from an exter nal control ler, an IBASIC progra m would have to be
run on the Test Set from the external controller.
22
Writing programs for the Test Set
One of the design goals for automatic control of the Test Set was that it operate
the same way programmatically as it does manually. This is a key point to
remember when developing progr ams for the Test Set. The benefit of this
approach is that to automate a part ic ular task, one need only figure out how to do
the task manually and then duplic at e the same process in software. This has
several implications when designing and writing programs for the Test Set:
1. In Manu al Co ntrol mod e a me asurement must be “a cti ve ” in or d er to ob t ain a meas ur e-
ment result or input data from the DUT. From a programming perspective this means
that before attemptin g to read a m easurement res ult or to input data from the DUT, the
desired screen for the measurement result or data field mu st be s elected using the DISPlay command and the field must be in the ON state.
2. In Manual Con trol mode instrument configu ration informat ion is not routed throu gh the
To Screen control hardware block. From a programming perspective this mea ns that
configuration in form ation c an be sent to a ny desired i nstrum ent with out having to firs t
select th e in st r u ment’s fron t p an el wi t h th e DI SP l ay co m m an d .
Chapter 1, Using HP-IB
Overview of the Test Set
Keeping these points in mind durin g program development will minimize
program development time and reduc e proble ms encountered when running the
program.
23
Chapter 1, Using HP-IB
Overview of the Test Set
#9
CRT
FRONT PANEL
CONTROL
TO SCREEN
HARDWARE
KEYPAD/
ROTARY KNOB
FRONT
PANEL
INFORMATION
MEMORY CARD
IBASIC
INST RUMENT CON-
HP - IB
ROM DISK
CONTROLLER
#8
TROL HARDWARE
INSTRUMENT
#10
SERIAL I/F
SERIAL I/F
PARALLEL
SETUP
INFORMATION
#7
#15
HP - IB
PRINTER
RF GEN
AF GEN #1
MEASUREMENT RESULTS AND DUT DATA
GEN
AF GEN #2
FUNCTION
ENCODER
SIGNALING
AF ANALYZER
SPECTRUM
ANALYZER
OSCILLOSCOPE
RF ANALYZER
Figure 1 Manual Control Mode
24
TOP
BOXES
DECODER
SIGNALING
Chapter 1, Using HP-IB
Overview of the Test Set
#9
CRT
KEYPAD/
FRONT PANEL
CONTROL
TO SCREEN
HARDWARE
ROTARY KNOB
FRONT
PANEL
INFORMATION
MEMORY CARD
IBASIC
INSTRU M ENT CON-
CONTROLLER
HP - IB
TROL HARDWARE
ROM DISK
#8
INSTRUMENT
#10
SERIAL I/F
SETUP
INFORMATION
PARALLEL
SERIAL I/F
#7
#15
HP - IB
PRINTER
RF GEN
AF GEN #1
MEASUREMENT RESULTS AND DUT DATA
GEN
AF GEN #2
FUNCTION
ENCODER
SIGNALING
AF ANALYZER
Figure 2 Internal Automatic Cont rol Mode
TOP
BOXES
SPEC TRUM
ANALYZER
OSCILLOSCOPE
DECODER
SIGNALING
RF ANALYZER
25
Chapter 1, Using HP-IB
Getting Started
Getting Started
What is HP-IB?
The Hewlett-Packa rd Inte rface B us (HP-IB) i s Hewlet t-Pac kard’s i mplement ation
of the IEEE 488.1-1987 Standard Digital Interface for Programmable
Instrumentation. Incorporation of the HP-IB into the Test Set pr ovides several
valuable capabil ities:
•Programs running in the Test Set’s IBASIC Controller can control all the Test Set’s
functions using its internal HP-IB. This capability provides a single-instrument automated test system. (Th e HP 11807 Radio Test Software utilizes this capability.)
•Programs running in the Test Set’s IBASIC Controller can control other instruments
connected to the external HP- I B.
•An external controller, connected to the external HP-IB, can re motely cont r ol the Test
Set.
•An HP-IB prin te r, conn ec ted to the e xte rnal HP -IB , can be used to print t est resul ts and
full screen images.
26
HP-IB Information Provided in This Man ual
What Is Explained
How to configure the Test Set for HP-IB ope ration
•How to make an instrument sett ing over HP-IB
•How to read-back instrument settings over HP-IB
•How to make measurements over HP-IB
•How to co n nect exte r na l P C s , te r m i n als or contr o llers to the Test Set
•HP-IB command syntax for the Test Set
•IBASIC program development
•IBASIC program transfer over HP-IB
Chapter 1, Using HP-IB
Getting Started
•Various advance d f unction s s uch as, i ncreasi ng me asure ment throughpu t, sta tus reporting, error reporting, pass control, and so forth
What Is Not Explained
•HP-IB (IEEE 488.1, 488.2) theory of operation
•HP-IB electrical specifications
•HP-IB connector pin functions
1
1
1
•IBASIC programming (oth er than general guidel ines related to HP-IB)2
1.Refer to the Tutor i a l D e scripti on of the Hewlett- P ackard I n terfac e Bu s
(HP P/N 5952-0156) for detaile d information on HP-IB theory and operat ion.
2.Refer to the HP Instrument BASIC Users Handbook Version 2.0 (HP P/N E2083-
90005) for more information on the IBASIC Version 2.0 language.
27
Chapter 1, Using HP-IB
Getting Started
General HP-IB Programming Guidelines
The following guidelines should be consider ed when de veloping programs which
control the Test Set through HP-I B:
•Guideline #1. Avoid using the TX TEST and RX TEST screens.
The RX TEST and TX TEST screens are specifi cally designed for manual testing of
land mobile FM radios and , when displayed, automat ica lly configure six “priority”
fields in th e Test Set for this purpose. The pr iority fields and their preset values ar e
listed in table 1 on page 29. When the TX TEST screen or the RX TEST screen is dis-
played, certain priorit y fields are hidden and are not settable. The priority field s which
are hidden are listed in table 1 on page 29.
When the TX TEST screen or the RX TEST screen is displayed, any HP-IB commands
sent to the Test Set to change the value of a hidden pri ority field are ignored. Hidden priority fields on the TX TEST or RX TEST screens are not settable manually or programmatically.
Displaying eith er of the se scree ns aut omati call y re-conf igur es the 6 “prio rit y” fiel ds as
follows:
1. When ente rin g th e R X TEST screen,
a. the RF Generator’s Amplitude field, the AFGen1 To field and the AF An-
alyzer’s measurement fi eld (measurement displayed in upper, right portion of
CRT display) are
•set to their preset values upon entering the screen for the first time since
power-up, OR
•set to their preset values if the PRESET key is selected, OR
•set to th e la s t set t in g m ad e w h il e in the screen
b. the RF Generator Amplitude field and the AFGen1 To field are
•set to their preset values whenever entering the screen, OR
•set to th ei r pr ese t v al u es if th e PR ES ET key is sel ected
28
Chapter 1, Using HP-IB
Getting Started
2. When ente rin g th e TX TEST screen ,
a. The AF Anl In field, the De-Emphasis field, the Detector field a nd the
AF Analyzer Measuremen t field (measurement di splayed in upper, right portion
of CRT display) are,
•set to their preset values upon entering the screen for the first time since
power-up, OR
•set to their preset values if the PRESET key is selected, OR
•set to th e la s t set t in g m ad e w h il e in the screen
b. The AF Analyzer AF Anl In, De-Emphasis and Detector fields are,
•set to their preset values whenever entering the screen, OR
•set to th ei r pr ese t v al u es if th e PR ES ET key is sel ected
Table 1RX TEST Screen and TX TEST Screen Priority Field Preset Values
Priority
Field
RF Gen
RX TEST
Screen Preset
Value
−80 dBmNoOffYes
Field Hidden
On RX TEST
Screen
TX TEST
Screen Preset
Value
Amplitude
AFGen1 ToFMNoAudio OutYes
AF Anl InAudio InYesFM DemodNo
DetectorRMSYesPk ± MaxNo
De-emphasisOffYes750 µsNo
AF Analyzer
SINADNoAudio FreqNo
Measurement
Field
Hidden On
TX TEST
Screen
29
Chapter 1, Using HP-IB
Getting Started
•Guideline #2. When developing programs to make measurements always follow this
recommended sequence:
1. Bring t he Test Set to it s prese t stat e usi ng the front -pan el PRESET key. Th is ini tial
step allows you to s t art dev eloping the m easurem ent se quen ce wit h most fi elds in a
known state.
2. Make the measurement manually using the front-panel con trols of the Test Set.
Record, in sequential order, the screens select ed and the se ttings made wi thin each
scree n. The rec ord of the scr eens sele cted an d setting s made in eac h screen bec omes
the measurement procedure.
3. Record the measurement result(s).
In addition to the DISPlay com mand, the signa li ng ENCode r and DECod er requi re
further commands to display the correc t fields for ea ch signaling mode. For example, DISP ENC;:ENC:MODE 'DTMF'.
4. Develop the program using the measurement proced ure ge nerated in step 2. Be sure
to start the prog rammatic measurem ent sequenc e by bringing the Test Set to its pre set
state using the *RST Common Command. As the measurement procedure requires
changing screens, us e the DISPlay command to s elect t he des ired scr een fol lowed by
the cor re c t co mmands to set the de s ired field(s) .
When IBASIC programs are running the CRT is dedicated to the IBASIC Controller for
program and gr aphics di spla y. This means ins trume nt front p anels ar e not di spla yed on th e
CRT when an IBASIC program is running. However, the DISPlay <scre en> command
causes all setting and measurement fie lds in the <screen> to be access ible programmatically. Attempting to read from a screen that has not been made accessible by the DISPlay
comman d wil l cause
HP-IB Error:-420 Query UNTERMINATED, or
HP-IB Error: -113 Undefined header
Make sure the desired measurement is in the ON state. This is the preset state for most
measurements. However, if a previous program has set the state to OFF, the measurement
will not be available. Attempting to read from a measurement field that is not in the ON
state wil l ca us e HP-IB Error:-420 Query UNTERMINATED.
5. If the trigger mode has been changed, trigger a reading.
Triggering is se t to F ULL SETTling and REPetitive RETRiggering after receipt of the
*RST Common Command. These settings cause the Test Set to trigger itself and a sepa rate trigger command is not necessary.
30
Loading...
+ 652 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.