logo资料库

HP8921A综测仪控制指令说明书.pdf

第1页 / 共605页
第2页 / 共605页
第3页 / 共605页
第4页 / 共605页
第5页 / 共605页
第6页 / 共605页
第7页 / 共605页
第8页 / 共605页
资料共605页,剩余部分请下载后查看
Contents
1 Using HP-IB
Overview of the Test Set
Manual Control Mode
Internal Automatic Control Mode
External Automatic Control Mode
Writing programs for the Test Set
Getting Started
What is HP-IB?
HP-IB Information Provided in This Manual
General HP-IB Programming Guidelines
Control Annunciators
Preparing the Test Set For HP-IB Use
Using the HP-IB with the Test Set’s built-in IBASI...
Basic Programming Examples
Remote Operation
Remote Capabilities
Addressing
Factory Set Address
Extended Addressing
Multiple Addressing
Setting the Test Set’s Bus Address
Displaying the Bus Address
IEEE 488.1 Remote Interface Message Capabilities
Remote/Local Modes
Remote Mode
Local Mode
Remote or Local Mode
Local To Remote Transitions
Remote To Local Transitions
Local Lockout
Clear Lockout/Set Local
2 Methods For Reading Measurement Results
Background
HP BASIC ‘ON TIMEOUT’ Example Program
Comments for Recommended Routine
HP BASIC ‘MAV’ Example Program
Comments for Recommended Routine
3 HP-IB Command Guidelines
Sequential and Overlapped Commands
Guidelines for Operation
Command Names
Command Punctuation
Specifying Units-of-Measure for Settings and Measu...
Using the STATe Command
Sample HP-IB Program
4 HP-IB Commands
HP-IB Syntax Diagrams
HP-IB Command Syntax Diagram Listing
Diagram Conventions
Adjacent Channel Power (ACP)
AF Analyzer
AF Generator 1
AF Generator 2 Pre-Modulation Filters
AF Generator 2/Encoder
:AMPS or :TACS
:NAMPs or :NTACs
:CDCSs and :DTMF
:DPAGing
:FGENerator and :TSEQuential
:NMT
:LTR
:EDACs
:MPT1327
Configure, I/O Configure
Call Processing
Decoder
:NAMPs or :NTACs and :EDACs
:AMPs or :TACs and :CDCSs, :DTMF, :FGEN, and :DPAG
:TSEQuential, :MPT1327, and :LTR
Display
Measure
Oscilloscope
Program
Save/Recall Registers
RF Analyzer
RF Generator
Radio Interface
Spectrum Analyzer
HP-IB Only Commands
Status
System
Tests
Trigger
Integer Number Setting Syntax
Real Number Setting Syntax
Multiple Real Number Setting Syntax
Number Measurement Syntax
Multiple Number Measurement Syntax
Equivalent Front-Panel Key Commands
SHIFT key, CANCEL key, CURSOR CONTROL knob
DATA Keys
DATA FUNCTIONS Keys
INSTRUMENT STATE Keys
SCREEN CONTROL Keys and To Screen Field
USER Keys
IEEE 488.2 Common Commands
Common Command Descriptions
*IDN? (Identification Query)
*OPT? (Option Identification Query)
*RST (Reset)
*TST? (Self-Test Query)
*OPC (Operation Complete)
*OPC? (Operation Complete Query)
*WAI (Wait To Complete)
*CLS (Clear Status)
*ESE (Standard Event Status Enable)
*ESE? (Standard Event Status Enable Query)
*ESR? (Standard Event Status Register Query)
*SRE (Service Request Enable)
*SRE? (Service Request Enable Query)
*STB? (Status Byte Query)
*TRG (Trigger)
*PCB (Pass Control Back)
*RCL (Recall Instrument State)
*SAV (Save Instrument State)
Triggering Measurements
Trigger Event
Trigger Modes
Default Trigger Mode
Local/Remote Triggering Changes
Trigger Commands
Trigger Mode and Measurement Speed
Measurement Pacing
Arming Hardware-Triggered Measurements
5 Advanced Operations
Increasing Measurement Throughput
Optimizing Measurement Speed
Optimizing Measurement Setup Time
Optimizing the Execution Speed of the Control Prog...
Status Reporting
Status Reporting Structure Overview
Status Byte Register
Status Register Structure Overview
Status Register Group Contents
Operation Status Register Group
Standard Event Status Register Group
Output Queue Group
Error Message Queue Group
Questionable Data/Signal Register Group
Call Processing Status Register Group
Calibration Status Register Group
Hardware Status Register #2 Group
Hardware Status Register #1 Group
Communicate Status Register Group
HP-IB Service Requests
Setting Up and Enabling SRQ Interrupts
Service Request Enable Register
Procedure for Generating a Service Request
Example BASIC Program to Set Up and Service an SRQ...
Instrument Initialization
Methods of Initialization
Power-On Reset
Front-panel PRESET Key
*RST IEEE 488.2 Common Command
Device Clear (DCL) HP-IB Bus Command
Selected Device Clear (SDC) HP-IB Bus Command
Interface Clear (IFC) HP-IB Bus Command
Passing Control
Configuring the Test Set as the System Controller
When Active Controller Capability is Required
Passing Control to the Test Set
Passing Control Back to Another Controller
Requesting Control using IBASIC
Pass Control Examples
6 Memory Cards/Mass Storage
Default File System
Default File System
Mass Storage Device Overview
Default Mass Storage Locations
Built-in IBASIC Controller
Save/Recall Registers
External Disk Drive
TESTS Subsystem
Selecting the Mass Storage Location
Mass Storage Access
DOS and LIF File System Considerations
File Naming Conventions
Test Set File Naming Conventions
Test Set File Entry Field Width
Potential File Name Conflicts
File Naming Recommendations
Initializing Media for DOS or LIF File System
Test Set File Types
Storing Code Files
TESTS Subsystem DOS File Restrictions
Using the ROM Disk
Using Memory Cards
Inserting and Removing Memory Cards
Setting the Write-Protect Switch
The Memory Card Battery
Memory Card Mass Storage Volume Specifier
Memory Card Initialization
Backing Up Procedure and Library Files
Using the COPY_PL ROM Program
Copying Files Using IBASIC Commands
Copying an Entire Volume
Using RAM Disk
Initializing RAM Disks
Using External Disk Drives
Initializing External Disks
7 IBASIC Controller
Introduction
The IBASIC Controller Screen
Important Notes for Program Development
Program Development
Interfacing to the IBASIC Controller using Serial ...
Test Set Serial Port Configuration
Receive and Transmit Pacing
PC Configuration
Terminal Configuration
Choosing Your Development Method
Method 1
Method 2
Method 3
Method #1. Program Development on an External BASI...
Configuring the Test Set’s HP-IB Interface
Compatible BASIC Language Computers
HP BASIC for Windows PC Configuration for Windows ...
Program Development Procedure
Downloading Programs to the Test Set through HP-IB
Uploading Programs from the Test Set to an Externa...
Method #2. Developing Programs on the Test Set Usi...
Selecting the IBASIC Command Line Field
Entering and Exiting the IBASIC EDIT Mode
Setting Up Function Keys In Microsoft Windows Term...
Setting Up Function Keys in HP AdvanceLink
Setting Up Function Keys in ProComm
Method #3. Developing Programs Using Word Processo...
Configuring a Word Processor
Writing Lines of IBASIC Code on a Word Processor
Transferring Programs from the Word Processor to t...
Sending ASCII Text Files Over RS-232 With Windows ...
Sending ASCII Text Files over RS-232 with ProComm ...
Uploading Programs from the Test Set to a PC
Serial I/O from IBASIC Programs
Serial Ports 9 and 10
Example IBASIC Program Using Serial Port 10
Serial Port 10 Information
PROGram Subsystem
Introduction
SCPI PROGram Subsystem
Test Set PROGram Subsystem
PROGram Subsystem Commands
Using the EXECute Command
The TESTS Subsystem
Writing Programs For the TESTS Subsystem
TESTS Subsystem File Descriptions
TESTS Subsystem Screens
8 Programming The Call Processing Subsystem
Description of the Call Processing Subsystem’s Rem...
Operational Overview
Using the Call Processing Subsystem’s Remote User ...
Connecting a Mobile Station
Accessing the Call Processing Subsystem Screens
Command Syntax
Conditioning the Test Set for Call Processing
Call Processing Subsystem HP-IB Error Messages
Reading A Call Processing Subsystem HP-IB Error Me...
Call Processing Status Register Group
Using the Call Processing Status Register Group To...
When To Query Data Messages Received From The Mobi...
Programming The CALL CONTROL Screen
[] Access
Active
[] Active
AF Freq
Amplitude
Called Number:
Chan:
Cntl Channel
[] Connect
Display
ESN (dec):
ESN (hex):
FM Deviation
Handoff
MS Id
Order
Page
[] Page
Phone Num:
Pwr Lvl:
Register
[] Register
Release
SAT:
SCM:
SID
System Type
TX Freq Error
TX Power
Programming The CALL DATA Screen
[] Access
Active
[] Active
[] Connect
Display Word
Handoff
Order
Page
[] Page
[] Register
Release
Reading the CALL DATA Screen Message Fields
CALL DATA Screen Message Field Descriptions
RECCW A Message Fields
F
NAWC
T
S
E
RSVD
SCM
MIN1
Parity
RECCW B Message Fields
F
NAWC
LOCAL
ORDQ
ORDER
LT
RSVD
MIN2
Parity
RECCW C Message Fields
F
NAWC
Serial
Parity
RECCW D Message Fields
F
NAWC
Dig 1 through Dig 8
Parity
RECCW E Message Fields
F
NAWC
Dig 9 through  Dig 16
Parity
RVCOrdCon Message Fields
F
NAWC
T
Local
ORDQ
Order
RSVD
Parity
Querying a Single Field
Querying Multiple Fields With Single OUTPUT/ENTER
Programming The CALL BIT Screen
[] Access
Active
[] Active
[] Connect
Data Spec
Handoff
Order
Page
[] Page
Register
[] Register
Release
Set Message
Reading the CALL BIT Screen Message Fields
Modifying the CALL BIT Screen Message Fields
CALL BIT Screen Message Field Descriptions
SPC WORD1 Message Fields
T1T2
DCC
SID1
RSVD
NAWC
OHD
Parity
SPC WORD2 Message Fields
T1T2
DCC
S
E
REGH
REGR
DTX
N-1
RCF
CPA
CMAX-1
END
OHD
Parity
ACCESS Message Fields
T1T2
DCC
ACT
BIS
RSVD
END
OHD
Parity
REG INC Message Fields
T1T2
DCC
ACT
REGINCR
RSVD
END
OHD
Parity
REG ID Message Fields
T1T2
DCC
REGID
END
OHD
Parity
C-FILMESS Message Fields
T1T2
DCC
CMAC
RSVD1
F2
RSVD2
F3
WFOM
F4
OHD
Parity
MS WORD1 Message Fields
T1T2
DCC
MIN1
Parity
MSMessOrd Message Fields
T1T2
SCC
MIN2
RSVD
LOCAL
ORDQ
ORDER
Parity
MS IntVCh Message Fields
T1T2
SCC
MIN2
VMAC
CHAN
Parity
FVC O Mes Message Fields
T1T2
SCC
PSCC
RSVD
LOCAL
ORDQ
ORDER
Parity
FVC V Mes Message Fields
T1T2
SCC
PSCC
RSVD
VMAC
CHAN
Parity
Programming The ANALOG MEAS Screen
Requirements for Using The ANALOG MEAS Screen
How To Program The ANALOG MEAS Screen
AF Anl In
AF Freq
AFGen1 Freq
AFGen1 To
Amplitude
De-Emphasis
Detector
Filter 1
Filter 2
FM Deviation
TX Freq Error
TX Power
Example Measurement Routines
Programming The CALL CONFIGURE Screen
CMAX
Detector
TX Pwr Zero
Example Programs
SRQ Example Program
Comments for SRQ Example Program
Polling Example Program
Comments for Polling Example Program
9 Error Messages
Index
HP 8921A Cell Site Test Set HP-IB Programmer’s Guide Firmware Versions: HP 8921A: A.15.00 and above SCREEN CONTROL INSTRUMENT STATE MSSG HELP CONFI HOLD PRINT ADRS SAVE RX TX DUPLE PREV TESTS LOCAL RECAL MEAS PRESE USER k1’ k1 k2’ k2 k3’ k3 ASSIG k4 RELEA k5 DATA FUNCTIONS AVG REF INCR INCR METER INCR LO HI CURSOR CON- PUSH TO 8 5 2 7 4 1 0 SHIFT CANCE YES ON/OFF NO ppm DATA 9 6 3 + _ % ENTER dB GHz % MHz s kHz ms Hz MEMO RF IN/OUT DUPLEX OUT ANT IN MIC/ VOL- SQUELC AUDIO HI AUDIO IN LO POWE OF O ! MAX POWER ! MAX POWER 200 ! MAX ! MAX HP Part No. 08921-90031 Printed in U. S. A. December 1998 Rev. A 1 W
Copyright © Hewlett-Packard Company 1997 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
Manufacture’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 Pressure 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 documentation 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 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 ! 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 per- sonal injury. Do not proceed beyond a WARNING sign until the indicated con- ditions are fully understood and met. A CAUTION note denotes a hazard. It calls attention to an operation proce- dure, 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 un- derstood and met. WARNING CAUTION 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 product must 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 Installation 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 product in a cabinet, the convection into and out of the product must not be restricted. The ambient temperature (outside of 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. Product Markings 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. 6
CERTIFICATION Hewlett-Packard Company certifies that this product met its published specifications at the time of shipment from the factory. Hewlett-Packard further certifies that its calibration measurements are traceable to the United States National Institute of Standards and Technology, to the extent allowed by the Institute’s calibration facility, and to the calibration facilities of other International Standards Organization members Hewett-Packard Warranty Statement for Commercial Products HP Product: HP 8921A 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 products may be either new or like-new. 2 HP warrants that HP software will not fail to execute its programming instruc- tions, for the period specified above, due to defects in material and workmanship when properly installed and used. If HP receives notice of such defects 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 calibration, (b) software, interfacing, parts 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
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 jurisdiction to have been directly caused by a defective HP product. 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. 8
分享到:
收藏