Keysight (Agilent) 8920B Programmer’s Guide

HP 8920B RF Communications Test Set

HP-IB Programmer’s Guide

SCREEN CONTROL
CONFIHELPMS SG HOLD PRINT DUPLETXRX PREV TESTS
DATA FUNCTIONS
USER
k1’
REF
METER
AVG
INCR
INCR
INCR
LO HI
CURSOR CON-
PUSH TO
CANCE
789 456
123 0
YES
ON/OFF
AUDIO SQUELCVOL-
POWE
OF O
!
MAX POWER
k1
k2’ k2 k3’ k3
ASSIG
k4
RELEA
k5
SHIFT
MIC/
!
ANT IN
MAX POWER 200
DUPLEX OUTRF IN/OUT
Firmware Versions: HP 8920B B.06.00 and above
INSTRUMENT STATE
ADRS
LOCAL
DATA
NO
MAX
!
SAVE
RECAL
MEAS
PRESE
ENTER
dB
GHz
%
MHz
s
kHz
_
+
Hzms% Ωppm
MEMO
AUDIO IN
LOHI
MAX
!
HP Part No. 08920-90222
Printed in U. S. A.
October 1999
Rev. C
1
Copyright © Hewlett-Packard Company 1995
Notice
Information contained in this document is subject to change without notice. All Rights Reserved. Reproduction, adaptation, or translation without prior
written permission is prohibited, except as allowed under the copyright laws. This material may be reproduced by or for the U.S. Government pursuant to
the Copyright License under the clause at DFARS 52.227-7013 (APR 1988).
Hewlett-Packard Company Learning Products Department 24001 E. Mission Liberty Lake, WA 99019-9599 U.S.A.
2
Manufacturer’s Declaration
This statement is provided 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 Pres sure Lp < 70 dB(A).
At Operator Position.
Normal Operation.
According to ISO 7779:1988/EN 27779:1991 (Type Test).
Herstellerbescheinigu ng
Diese Information steht im Zusammenhang 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 documentatio n must be reviewed for familiarization
with safety markings and instructions before operation. This product is a Safety Class I instrument (provided with a protective earth
terminal). SAFETY EARTH GROUND A uninterruptible saf et y ear th ground must be provided from th e 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 S YMBOLS
WARNING
CAUTION
!
Indicates instrument damage can occur if indicated operating limits are exceeded.
Indicates hazardous voltages. Indicates earth (ground) terminal
A WARNING note denotes a hazard. It calls attention to a procedure, 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 resu lt in damage t o or destructi on of part o r all of the product. Do not proceed beyond an CAUTION note until the indicated conditions are fully understood and met.
4
Safety Considerations for this Instrument
WARNING: This product is a Safety Class 1 instrument (provided with a protective earthing
ground incorporated 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 likely that the protection has been impaired, the instrument must be made inoperative and be secured against any unintended operation.
If this instrument is to be energized via an autotransformer (for voltage reduction), make sure the common terminal is connected to the earth terminal of the power source.
If this product is not used as specified, the protection provided by the equipment could be impaired. This produc t m ust be used in a normal condition (in which all means for protection are intact) only .
No operator serviceable parts in this product. Refer servicing to qualified personnel. To prevent electrical shock, do not remove covers.
Servicing instructions are for use by qualified personnel only. To avoid 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. Disconnect the product from all voltage sources while it is being opened.
Adjustments described in the manual are performed with power supplied to the instrument while protective covers are removed. Energy available at many points may, if contacted, result in personal injury.
The power cord is connected to internal capacitors that my remain live for 5 seconds after disconnecting the plug from its power supply.
For continued protection against fire hazard, replace the 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 repaired fuses or short circuited fuseholders.
5
WARNING: Always use the three-prong ac power cord supplied with this product. Failure to
ensure adequate earth grounding by not using this cord may cause product damage. This product is designed for use in Insta llation Category II and Pollution
Degree 2 per IEC 1010 and IEC 664 respectively. For indoor use only. This product has autoranging line voltage input, be sure the supply voltage
is within the specified range. To prevent electrical shock, disconnect instrument from mains (line) before
cleaning. Use a dry cloth or one slightly dampened with water to clean the external case parts. Do not attempt to clean internally.
Ventilation Requirements: When installing the pro duce in a cabinet, the convection into and out of the product must not be restricted. The ambient temperature (outside the cabinet) must be less than the maximum operating
temperature of the product by 4° C for every 100 watts dissipated in the cabinet. If the total power dissipated in the cabinet is greater than 800 watts, then forced convection must be used.
CERTIFICATION
Hewlett-Packard Company certifies that this product met its published specifications at the time of shipment from the factory. Hewlett-Packard further certifie s that its calibrat ion measure ments are traceabl e to the Unit ed States National Institute of Standards and Technology, to the extent allowed
by the Instit ute’s calibration facility , and to the cali bration facilities of other International Standards Organization members
6
Hewlett-Packard Warranty Statement for Commercial Products
HP 8920B RF Communications Test Set
Duration of Warranty: 1 year
1. HP warrants HP hardware, accessories and supplies against defects in materials
and workmanship for the period specified above. If HP receives notice of such defects during the warranty period, HP will, at its option, either repair or replace products which prove to be defective. Replacement pro ducts may be either n ew or like-new.
2 HP warrants that HP software will not fail to execute its programming instruc-
tions, for the period specified abo ve, due to defects in m ateri al and wo rkmanship when properly installed and used. If HP receives notice of such def ects during the warranty period, HP will replace software media which does not execute its pro­gramming instructions due to such defects.
3. HP does not warrant that the operation of HP products will be uninterrupted or
error free. If HP is unable, within a reasonable time, to repair or replace any product to a condition as warranted, customer will be entitled to a refund of the purchase price upon prompt return of the product.
4 HP products may contain remanufactured parts equivalent to new in performance
or may have been subject to incidental use.
5. The warranty period begins on the date of delivery or on the date of installation if
installed by HP. If customer schedules or delays HP installation more than 30 days after delivery, warranty begins on the 31st day from delivery.
6 Warranty does not apply to defects resulting from (a) improper or inadequate
maintenance or cali bration, (b) softwa re, interfacing, p arts or supplies not supplied by HP, (c) unauthorized modification or misuse, (d) operation outside of the pub­lished environmental specifications for the product, or (e) improper site prepara­tion or maintenance.
7 TO THE EXTENT ALLOWED BY LOCAL LAW, THE ABOVE WARRAN-
TIES ARE EXCLUSIVE AND NO OTHER WARRANTYOR CONDITION, WHETHER WRITTEN OR ORAL IS EXPRESSED OR IMPLIED AND HP SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OR CONDI­TIONS OR MERCHANTABILITY, SATISFACTORY QUALITY, AND FIT­NESS FOR A PARTICULAR PURPOSE.
8 HP will be liable for damage to tangible property per incident up to the greater of
$300,000 or the actual amount paid for the product that is the subject of the claim, and for damages for bodily injury or death, to the extent that all such damages are determined by a court of competent jurisdictio n to have been directly cau sed by a defective HP product.
7
9. TO THE EXTENT ALLOWED BY LOCAL LAW, THE REMEDIES IN THIS
WARRANTY STATEMENT ARE CUSTOMER’S SOLE AND EXCLUSIVE REMEDIES. EXCEPT AS INDICATED ABOVE, IN NO EVENT WILL HP OR ITS SUPPLIERS BE LIABLE FOR LOSS OF DATA OR FOR DIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL (INCLUDING LOST PROFIT OR DATA), OR OTHER DAMAGE, WHETHER BASED IN CONTRACT, TORT, OR OTHERWISE.
FOR CONSUMER TRANSACTIONS IN AUSTRALIA AND NEW ZEALAND: THE WARRANTY TERMS CONTAINED IN THIS STATE­MENT, EXCEPT TO THE EXTENT LAWFULLY PERMITTED, DO NOT EXCLUDE RESTRICT OR MODIFY AND ARE IN ADDITION TO THE MANDATORY STATUTORY RIGHTS APPLICABLE TO THE SALE OF THIS PRODUCT TO YOU.
Product Markings
ASSISTANCE
CE - the CE mark is a registered trademark of the European Community. A CE mark accompanied by a year indicated the year the design was proven.
CSA - the CSA mark is a registered trademark of the Canadian Standards Association.
Product maintenance agre ement s and ot her customer assistance agreeme nts are available for Hewlett- Packard products. For any assi stance, contact your nearest Hewlett-Packard Sales and Service Office.
8
DECLARATION OF CONFORMITY
Manufacturer’s Name: Hewlett-Packard Company 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): H P 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 50 082-1 (1992) /IEC 801-2 (1991): 4 kV CD, 8 kv A D
/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 requirements of the Low Voltage Directive
73/23/EEC and EMC Directi ve 89/336/EEC. Spokane,
Washington
Date Vince Roland, SKD Quality Manager
European Contact: Your local Hewlett-Packard Sales and Service Office or Hewlett­Packard GmbH. Dept. ZQ/Standards Europe, Herrenberger StarBe 130, D-7030 Boblingen (Fax: +49-7031- 14- 314 3).
9
In this Book
Chapter 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, contains information about sequential and overlapped commands, command syntax, units of measure, and measurement states. A short example program is also presented to familiarize the user with remote operation of the Test Set.
Chapter 3, HP-IB Commands, contains command syntax diagrams, equivalent front-panel key commands, IEEE 488.2 Common Commands and triggering commands.
Chapter 4, Advanced Operations, includes information about increasing measurement throughput, status reporting, error reporting, service requests, instrument initialization, and passing control.
Chapter 5, Memory Cards/Mass Storage, describes the types of mass storage (RAM disk, ROM disk, external disk drives, SRAM cards, and ROM cards) and the file system formats (DOS, LIF) available in the Test Set.
Chapter 6, IBASIC Controller, describes how to develop Instrume nt BASIC
(IBASIC) programs for use on the Test Set’s built-in IBASIC Controller . Topics discussed are: interfacing to the IBASIC Controller using the serial ports, overview of the three program development methods, entering and editing IBASIC programs, program control using the PROGram Subsystem, and an introduction to writing programs for the TESTS subsystem.
Chapter 7, Programming the Call Processing Subsystem, describes how to control the Test Set’s Call Processing Subsystem using the Call Processing Subsystem’s remote user interface. Topics discussed are: accessing the Call Processing Subsystem screens, handling error messages, contro lling program flow using the Call Processing Status Register Group, and how to query data messages received from the mobile station. Example programs are provided showing how to control the Call Processing Subsystem using service requests and register polling.
Error Messages describes the Text Only HP-IB Errors and the Numbered HP-IB Errors. This section also describes other types of error messages that the Test Set displays and where to find more information about those types of error messages.
10
Trademark Acknowledgments
Microsoft ®, Microsoft® Windows, and MS-DOS® are registered trademarks of Microsoft Corporation.
ProComm® is a registered trademark of DATASTORM TECHNOLOGIES, INC.
Conventions Used In This Manual
Definition of Test Set
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 IBASIC is used throughout this manual to refer to Instrument BASIC, a subset of the Hewlett-Packard Rocky Mountain BASIC programming languag e. The
term IBASIC Controller refers to the Test Set’s built-in IBASIC Co ntro ller .
A field on the Test Set’s display is represented 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] me ans to press and release 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 ].
The generic term "Test Set" is used interchangeably in the manual for the HP 8920B.
11
12

Contents

1 Using HP-IB
Overview of the Test Set 20
Getting Started 28
Remote Operation 41
Addressing 43
IEEE 488.1 Remote Interface Message Capabilities 44
Remote/Local Modes 47
2 Methods For Reading Measurement Results
Background 52
HP BASIC ‘ON TIMEOUT’ Example Program 54
HP BASIC ‘MAV’ Example Program 58
3 HP-IB Command Guidelines
Sequential and Overlapped Commands 64
Guidelines for Operation 65
4 HP-IB Commands
HP-IB Syntax Diagrams 88
Adjacent Ch annel Power (ACP) 91
AF Analyzer 93
13
Contents
AF Generator 1 96
AF Generator 2 Pre-Modulation Filters 97
AF Generator 2/Encoder 98
Configure, I/O Configure 113
Call Processing 119
Decoder 159
Display 163
Measure 165
Oscilloscope 172
Program 177
Save/Recall Registers 178
RF Analyzer 179
RF Generator 181
Radio Interface 182
Spectrum Analyzer 183
HP-IB Only Commands 185
Status 186
System 187
Tests 188
Trigger 191
14
Contents
Integer Number Setting Syntax 192
Real Number Setting Syntax 193
Multiple Real Number Setti ng Syntax 194
Number Me asurement Syntax 195
Multiple Number Measurement Syntax 197
Equivalent Front-Panel Key Commands 198
IEEE 488.2 Common Commands 226
Common Command Descriptions 227
Triggering Measurements 244
5 Advanced Operations
Increasing Measurement Throughput 254
Status Reporting 262
HP-IB Service Requests 313
Instrument Initializatio n 323
Passing Control 336
6 Memory C ards/Mass Storage
Default File System 348
Mass Storage Device Overview 350
15
Contents
Default Mass Storage Locations 357
Mass Storage Access 359
DOS and LIF File System Considerations 360
Using the ROM Disk 367
Using Memory Cards 368
Backing Up Procedure and Library Files 374
Copying Files Using IBASIC Commands 375
Using RAM Disk 377
Using External Disk Drives 379
7 IBASIC Controller
Introduction 382
The IBASIC Controller Screen 383
Important Notes for Program Development 385
Program Development 386
Interfacing to the IBASIC Controller using Serial Ports 388
Choosing Your Development Method 402
Method #1. Program Development o n an External BASI C Language Computer 404
Method #2. Developin g Programs on the Test Set Using t he IBASIC EDIT Mode 412
16
Contents
Method #3. Developing Programs Using Word Processor on a PC (Least Preferred) 417
Uploading Programs from the Test Set to a PC 424
Serial I/O from IBASIC Programs 425
PROGram Subsystem 428
The TESTS Subsystem 456
8 Programming The Call Processing Subsystem
Description of the Call Processing Subsystem’s Remote User Interface 464
Using the Call Processing Subsystem’s Remote User Interface 468
Programming The CALL CONTROL Screen 478
Programming The AUTHENTICATION Screen 513
Programming The CALL DATA Screen 522
CALL DATA Screen Message Field Descriptions 527
Programming The CALL BIT Screen 546
CALL BIT Screen Message Field Descriptions 560
Programming The ANALOG MEAS Screen 605
Programming The CALL CONFIGURE Screen 613
Example Programs 617
17
Contents
9 Error Messages
Index 667
18
1

Using HP-IB

19
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 package. All of t he Test Set’s functi ons ca n be automatically controlled 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 sho wn in depict how instrument control information and measurement result information are routed among th e Test Set ’s instr uments, ins trument control ha rdware, built-in IBASIC controller, and other components.
figure 1 on page 26 and figure 2 on page 27
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 keypad/rotary knob. There are two Automatic Control modes: Internal and External. In Internal Automatic Control mode the Test Set’s operation is controll ed by an application program running on the built-in IBASIC Controller. In External Au tomatic Control mode the Test Set’s operat ion is controlled by an external controller connected to the Test Set through the HP-IB interface.
20
S:\hp892xx\prgguide\manual\usehpib.fb

Manual Control Mode

The Test Set’s primary instruments are 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 Generator #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 selected. Only one instrument front panel can be displayed on the CRT at any given time (up to four measurement results can be displayed 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 equipment. To obtain a measurement result with a bench or racked system, the desired measurement must be “active.” For example, if an RF power meter is in the bench or racked system and the user wishes to measure the power of an RF c arrier th ey must turn th e power met er on, an d look 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 i s true for the Tes t Set. In order to make a measuremen t 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 th e instru ment sett ings, s uch as t urning a specif ic measur ement o r data field on or off, using the keypad/rotary knob.
Figure 1 also shows that inst rumen t
setup is handled by the Instrument Control hardware which routes setup information from the front panel to the indi vidual instruments.
An HP-IB/RS-232/Parallel Printer interface capability is available in the Test Set. In Manual Control mode this provides the capability of connecting an external HP-IB, seri al, or parallel printer to the Test Set so that display scre ens can be printed.
21
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 BASIC programming language used on the HP 9000 Series 200/300 System Controllers. 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 architecture of the IBASI C Controll er is si milar to t hat of ot her singl e-taski ng instrumentation 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 mass storage device. Five types of mass storage devices are available to the Test Set: SRAM memory cards, ROM memory cards, external disk drives connected to the HP-IB interface, 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 Interface Card).
Figure 2 shows how information is routed inside the Test Set when it is in Internal
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 pro gram is r unning. These include th e serial interface at select code 9, the HP-IB interface at select code 7, the parallel printer interface at select code 15, and the CRT. In Manual Control mode, front panel information (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 Controller through a dedicated HP-IB interface. Also, in Internal Automatic Control mode, the CRT is dedicated to the IB ASIC Controller for program and graphics display. This means instrument front panels cannot be displayed on the CRT when an IBASIC program is running.
22
S:\hp892xx\prgguide\manual\usehpib.fb
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 other single tasking instrumentation controllers in several ways. First, it does not have a keyboard. This imposes some limitations on creating and editing IBASIC programs directly on the Test Set. In Internal
Automatic Control mode a “virtual” keyboard is available in firmware which allows the operator to enter alphanumeric data int o a dedicated input field using the rotary knob. This i s not the re commend ed programmin g mode for th e IBASIC Controlle r. This feature is provided to allow user access to IBASIC programs fo r 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 IBASI C Controll er has a dedicat ed HP-IB i nterfac e, selec t code 8 in
figure 2 , for communicating with the internal instruments of the Test Set. This
HP-IB interface is only av ailable to the IB ASIC Controller. There is no external connector for this HP-IB interface. 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 but one. The difference being that each instrument on the bus does not have a u nique address. The Instrument Control Hardware det ermines 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.
chapter 4,
23
Chapter 1, Using HP-IB
Overview of the Test Set

External Automatic Control Mode

In External Automatic Control mode the Test Set’s op eration is controlled by a n external control ler connected to the Test Set thro ugh the HP-IB interf ace. When in External Automati c Control mode the Test Set’s internal configu ration is the same as in Manual Control Mode with two exceptions:
1. Configuration and setup commands are received through the external HP-IB inter face,
select code 7, rather than from the front-panel keypad/rotary knob.
2. The MEASure command is used to obtain measurement results and DUT data th rough
the external HP-IB interface.
Figure 1 on page 26
Control mode.
shows how information is r outed inside t he Test S et in Manual
Figure 1 also shows that cert ain Test Set resources are dedica ted 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 Interface #15 are accessible as write-only interfa ces fo r printi ng in Manual Control m ode. These sa me conditio ns are true when in External Automatic Control mode. If the user wished to access these resources from an e xtern al cont roll er, an I BASIC p rogram wou ld have to be run on the Test Set from the external controller.
24
S:\hp892xx\prgguide\manual\usehpib.fb

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 programs for the Test Set. The benefit of this approach is that to automate a particular task, one need only figure out how to do the task manually and then duplicate the same process in software. This has several implications when designing and writing programs for the Test Set:
1. In Manual Control mode a measurement must be “active” in order to obtain a
measurement result or input data from the DUT. From a programming perspective this means that before attempting to read a measurement result or to input data from the DUT, the desired screen for the measu rement result or data field must be selected using the DISPlay command and the field must be in the ON state.
2. In Manual Control mode instrument configuration information is not routed through the
To Screen control hardware block. From a programming perspective this means that configuration information can be sent to any desired instrument without having to first select the instrument’s front panel with the DISPlay command.
Chapter 1, Using HP-IB
Overview of the Test Set
Keeping these points in mind during program development will minimize program development time and reduce problems encountered when running the program.
25
Chapter 1, Using HP-IB
Overview of the Test Set
FRONT PANEL
TO SCREEN
#9
SETUP
#10
SERIAL I/F
SERIAL I/F
PARALLEL
INFORMATION
CRT
KEYPAD/
ROTARY KNOB
CONTROL
HARDWARE
FRONT
PANEL
INFORMATION
ROM DISK
MEMORY CARD
IBASIC
CONTROLLER
#8
HP - IB
TROL HARDWARE
INSTRUMENT CON-
INSTRUMENT
#7
#15
HP - IB
PRINTER
RF GEN
AF GEN #1
MEASUREMENT RESULTS AND DUT DATA
AF GEN #2
GEN
SIGNALING
ENCODER
AF ANALYZER
SPECTRUM
ANALYZER
OSCILLOSCOPE
RF ANALYZER
FUNCTION
Figure 1 Manual Control Mode
26
S:\hp892xx\prgguide\manual\usehpib.fb
SIGNALING
TOP
BOXES
DECODER
Chapter 1, Using HP-IB
Overview of the Test Set
FRONT PANEL
TO SCREEN
#9
SETUP
#10
SERIAL I/F
SERIAL I/F
PARALLEL
INFORMATION
CRT
KEYPAD/
ROTARY KNOB
CONTROL
HARDWARE
FRONT
PANEL
INFORMATION
ROM DISK
MEMORY CARD
IBASIC
CONTROLLER
#8
HP - IB
TROL HARDWARE
INSTRUMENT CON-
INSTRUMENT
#7
#15
HP - IB
PRINTER
RF GEN
AF GEN #1
MEASUREMENT RESULTS AND DUT DATA
GEN
AF GEN #2
FUNCTION
SIGNALING
ENCODER
AF ANALYZER
Figure 2 Internal Automatic Control Mode
TOP
BOXES
SPECTRUM
ANALYZER
OSCILLOSCOPE
DECODER
SIGNALING
RF ANALYZER
27
Chapter 1, Using HP-IB

Getting Started

Getting Started

What is HP-IB?

The Hewlett-Packard I nterfac e Bus (HP-I B) is Hewle tt-Packa rd’s implement ation of the IEEE 488.1-1987 Standard Digital Interface for Programmable Instrumentation. Incorporation of the HP-IB into the Test Set provides several valuable ca pabilities:
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. (The 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-IB.
An external controller, connected to the extern al HP-IB, can remotely control the Test Set.
An HP-IB printer, connected to the external HP-IB, can be used to print test results and full screen images.
28
S:\hp892xx\prgguide\manual\usehpib.fb

HP-IB Information Provided in This Manual

What Is Explained
How to configure the Test Set for HP-IB operation
How to make an instrument setting over HP-IB
How to read-back instrument settings over HP-IB
How to make measurements over HP-IB
How to connect external PCs, terminals or controllers 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 advanced functions such as, increasing measurement throughput, status 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 (other than general guidelines related to HP-IB)2
1. Refer to the Tutorial Description of the Hewlett-Packard Interface Bus
(HP P/N 5952-0156) for detailed information on HP-IB theory and operation.
2. Refer to the HP Instrume nt BASIC Users Handbook Version 2.0 (HP P/N E2083-
90005) for more information on the IBASIC Version 2.0 language.
29
Chapter 1, Using HP-IB
Getting Started

General HP-IB Programming Guidelines

The following guidelines should be considered when developing programs which control the Test Set through HP-IB:
Guideline #1. Avoid using the TX TEST and RX TEST screens.
The RX TEST and TX TEST screens are specifically designed for manual testing of land mobile FM radios and, when displayed, automatically configure six “priority” fields in the Test Set for this purpose. The priority fields and their preset values are listed in table 1 on page 31. When the TX TEST screen or the RX TEST screen is displayed, certain priority fields are hidden and are not settable. The priority fields which are hidden are listed in table 1 on page 31.
NOTE: 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 priority field are ignored. Hidden priority fields on the TX TEST or RX TEST screens are not settable manually or programmatically.
Displaying either of these screens automatically re-configures th e 6 “priority” fields as follows:
1. When entering the RX TEST screen, a. the RF Generator’s Amplitude field, the AFGen1 To field and the AF
Analyzer’s measurement field (measurement displayed in upper, right portion of CRT displa y) 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 the last setting made while 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 their preset values if the PRESET key is selected
30
S:\hp892xx\prgguide\manual\usehpib.fb
Loading...
+ 646 hidden pages