HP  8712ET User Manual Supplement
HP  8712ET User Manual Supplement

HP 8712ET User Manual Supplement

Automating measurements, rf network analyzers
Hide thumbs Also See for HP 8712ET:
Table of Contents

Advertisement

Quick Links

Automating Measurements
HP 8712ET/ES and HP 8714ET/ES
RF Network Analyzers
User's Guide Supplement
HP Part No. 08714-90014
Printed in USA
Print Date: October 1999
Supersedes: October 1998
© Copyright 1998, 1999 Hewlett-Packard Company

Advertisement

Table of Contents
loading

Summary of Contents for HP HP 8712ET

  • Page 1 Automating Measurements HP 8712ET/ES and HP 8714ET/ES RF Network Analyzers User’s Guide Supplement HP Part No. 08714-90014 Printed in USA Print Date: October 1999 Supersedes: October 1998 © Copyright 1998, 1999 Hewlett-Packard Company...
  • Page 2 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 fitness 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.
  • Page 3 Acknowledgments Excel™ is a product of Microsoft Corp. Lotus® 1-2-3®, and Lotus WordPro® are U.S. registered trademarks of Lotus Development Corporation. Microsoft is a U.S. registered trademark of Microsoft Corporation. QuickBasic™ is a product of Microsoft Corp. Portions of the software include source code from the Info–ZIP group. This code is freely available on the Internet by anonymous ftp asftp.uu.net:/pub/archiving/zip/unzip51/.tar.Z, and from CompuServe asunz51.zip in the IBMPRO forum, library 10, (data compression).
  • Page 4 Hewlett-Packard Sales & Service Offices UNITED STATES Instrument Support Center Hewlett-Packard Company (800) 403-0801 EUROPEAN FIELD OPERATIONS Headquarters France Germany Hewlett-Packard S.A. Hewlett-Packard France Hewlett-Packard GmbH 150, Route du Nant-d’Avril 1 Avenue Du Canada Hewlett-Packard Strasse 1217 Meyrin 2/ Geneva Zone D’Activite De Courtaboeuf 61352 Bad Homburg v.d.H Switzerland...
  • Page 5 HP 8712ET/ES and HP 8714ET/ES Network Analyzer Documentation Map The CDROM provides the contents of all of the documents listed below. The User’s Guide shows how to make measurements, explains commonly-used features, and tells you how to get the most performance from the analyzer.
  • Page 6 HP Instrument BASIC, and includes a language reference. The HP Instrument BASIC User’s Handbook Supplement shows how to use HP Instrument BASIC to program the analyzer. The Option 100 Fault Location and Structural Return Loss Measurements User’s Guide Supplement provides theory and measurement examples for making fault location and SRL measurements.
  • Page 7: Table Of Contents

    Stand-Alone Operation using IBASIC........2-9 Computer-Controlled HP-IB Operation ........2-9 Computer-Controlled LAN Operation .
  • Page 8 Contents Limit-Test Pass/Fail TTL Input/Output ........3-21 Analyzer Port Numbers .
  • Page 9 Contents To specify a custom suffix..........7-6 To turn the X-axis annotation on or off .
  • Page 10 Contents...
  • Page 11: Introduction

    Introduction...
  • Page 12: Automating Measurements

    • Web site http://www.hp.com or http://www.agilent.com. Use the search function to find Web pages related to 8712 example programs. • Example Programs Disk, HP 8712ET/ES and HP 8714ET/ES (DOS format): HP part number 08714-10003 • Example Programs Disk, HP 8712ET/ES and HP 8714ET/ES (LIF format): HP part number 08714-10004 •...
  • Page 13 Hewlett-Packard offers professional consulting services to help increase your manufacturing productivity. A complete test process analysis can be performed by HP system engineers, who will work with your factory management, engineering, and production groups to evaluate various automation solutions. For more information contact the nearest HP sales office.
  • Page 14 Introduction Automating Measurements Automating Measurements...
  • Page 15: Configuring Your Test System

    Configuring Your Test System...
  • Page 16: Measurement System Configurations And Considerations

    Configuring Your Test System Measurement System Configurations and Considerations Measurement System Configurations and Considerations When configuring your test system, there are many things to consider, such as: • how many test stations do you need now? • how many test stations will be needed in the future? •...
  • Page 17: Stand-Alone Network Analyzers

    Configuring Your Test System Measurement System Configurations and Considerations Stand-Alone Network Analyzers In the stand-alone configuration, you can either take advantage of the operator-initiated automation features, or you can use the internal CPU and IBASIC programs to further automate your measurements. Stand-Alone Analyzer under Operator Control In this configuration, the measurement is controlled directly by the operator, with very little automation.
  • Page 18 Configuring Your Test System Measurement System Configurations and Considerations Configure your system as a stand-alone instrument with IBASIC if you would like to • simplify test-system configuration • minimize the space required for a system • simplify programming with keystroke recording •...
  • Page 19: External Computer Control

    External Computer Control You can use an external computer to control your analyzer or test system by using the LAN or HP-IB interface on your analyzer. Additionally, you can use an external computer in conjunction with the analyzer’s internal CPU running IBASIC for optimum throughput. (For more information on using the LAN interface, refer to The LAN Interface User’s Guide...
  • Page 20 Configuring Your Test System Measurement System Configurations and Considerations External Computer in Conjunction with IBASIC In this configuration, the measurement is controlled by an IBASIC program running inside the analyzer. IBASIC can provide high-speed measurement control and data collection, and save the results in program memory or on a disk.
  • Page 21: Expandability And Large Systems

    SYSTEM OPTIONS With your analyzer’s LAN feature, you can overcome the physical limitations of HP-IB cabling and create large systems with hundreds of analyzers. 10-BaseT LAN provides a theoretical bandwidth of close to 1 MByte/second, although in practice, throughput will be slower. See The LAN Interface User’s Guide Supplement for more information.
  • Page 22: Throughput Considerations

    • device handling time • operator interaction time • measurement speed • data transfer speed • computation speed (when applicable) For more information, refer to Improving Throughput in Network Analyzer Applications, HP application note number AN 1287-5 (or literature number 5966-3317E). Automating Measurements...
  • Page 23: Selecting A Measurement Controller

    However, for most applications, it provides excellent performance and convenience. Refer to the HP Instrument BASIC User's Handbook and HP Instrument BASIC User’s Handbook Supplement for more information. Computer-Controlled HP-IB Operation An external computer can be used to control the analyzer.
  • Page 24: Computer-Controlled Lan Operation

    Supplement for additional information. 2. Both IBASIC (SelectCode 8) and the external computer (LAN or SelectCode 7) share the same HP-IB status model (the same analyzer status bits go to each). Be careful sending commands which affect status reporting, such as *CLS, STAT:PRES, *RST, etc.
  • Page 25: Selecting A Programming Language

    IBASIC is a version of BASIC that runs inside of the network analyzer. IBASIC is a sub-set of HP's BASIC. It has roughly the same keywords as HP BASIC 4.0. With very little effort, you can design your program so that it will run either inside the analyzer or on a computer with no modification.
  • Page 26: Hp Vee

    Microsoft® QuickBasic™ QuickBasic has been a popular programming language since it runs on PCs. It does not offer a rich keyword set as does HP BASIC, and is not optimized for instrument control. To control the analyzer via HP-IB, an HP-IB card and driver library must be installed in the computer.
  • Page 27: Vxi Plug&Play Driver

    The driver for the HP 8712ET/ES and HP 8714 ET/ES functions in Win95, Win98, and WinNT (3.51 or higher) and was designed for the following programming platforms: •...
  • Page 28 Configuring Your Test System Selecting a Programming Language 2-14 Automating Measurements...
  • Page 29: Operator Interaction

    Operator Interaction...
  • Page 30 Operator Interaction Many tests are performed by technicians, operators, or testers who interact with the measurement system. When designing the automation system, it is important that the system allow operators to perform the measurement tasks quickly and consistently. The system must also be easy to learn and easy to use, providing the user with instructions and feedback.
  • Page 31 Operator Interaction Figure 3-1 shows an example test system setup which utilizes the extensive connectivity capabilities of the analyzer. All of the interface ports shown are standard equipment on your analyzer. Figure 3-1 Example Test System Setup Automating Measurements...
  • Page 32: Prompting The Operator

    Operator Interaction Prompting the Operator Prompting the Operator You can display a customized message in the center of the analyzer's display by using the following SCPI command: DISPlay:ANNotation:MESSage For example, OUTPUT @Rfna;"DISP:ANN:MESS 'Connect device, then press button'" You can specify how long you want the message to remain on the screen by using one of the following timeout words: SHORt, MEDium, LONG, NONE.
  • Page 33: Using Graphics To Create On-Screen Diagrams

    To draw in the measurement window, your IBASIC program must use the standard SCPI commands. DISP:WIND1:GRAPHICS: command DISP:WIND2:GRAPHICS: command For more details on IBASIC graphics, refer to “Graphics and Display Techniques” in the HP Instrument BASIC User’s Handbook Supplement. Automating Measurements...
  • Page 34: User-Defined Begin Key Menu

    Operator Interaction User-Defined BEGIN Key Menu User-Defined BEGIN Key Menu User BEGIN feature adds the following capabilities: • Create softkeys to allow one-key-press operation of functions that usually take several key presses. • Reassign softkeys to implement your most-used functions/features. •...
  • Page 35 Operator Interaction User-Defined BEGIN Key Menu By selecting System Config SYSTEM OPTIONS User TTL Config Softkey Auto-Step , you can automatically step through the user-defined menu keys by use of a switch BEGIN connected to the USER TTL IN/OUT rear panel connector. See “Using a Switch with User BEGIN”...
  • Page 36 Operator Interaction User-Defined BEGIN Key Menu The labels required are: User_begin User_pause User_key1 User_key2 User_key3 User_key4 User_key5 User_key6 User_key7 NOTE Your User BEGIN program must contain all of these labels, even if you are not using all of the softkeys. A default User BEGIN program is created automatically when there...
  • Page 37 Operator Interaction User-Defined BEGIN Key Menu 24 User_pause: PAUSE GOTO User_pause 27 User_key1: ! Define softkey 1 here. GOSUB Message ! Remove this line. GOTO User_pause 31 User_key2: ! Define softkey 2 here. GOSUB Message ! Remove this line GOTO User_pause 35 User_key3: ! Example Marker Function OUTPUT @Hp8714;"CALC1:MARK1 ON"...
  • Page 38: Loading A User Begin Program

    User BEGIN program BEGIN does not have to be an “AUTOST” program; it can also be loaded as any other IBASIC program. (See the HP Instrument BASIC User’s Handbook Supplement for more information.) When the User BEGIN key is pressed, the program will remain idle until it is needed.
  • Page 39: Using A Switch With User Begin

    11. You may save this program as an AUTOST file or other file for later recall. Refer to the HP Instrument BASIC User’s Handbook Supplement. Using a Switch with User BEGIN When user-defined is used in conjunction with a switch...
  • Page 40 Operator Interaction User-Defined BEGIN Key Menu 2. Make sure the analyzer is configured to use the USER TTL IN/OUT connector for softkey sequencing: press SYSTEM OPTIONS System Config User TTL Config Softkey Auto-Step Config 3. Press the switch several times while observing the analyzer. 4.
  • Page 41: Using A Barcode Reader For Data Entry

    Connect a barcode reader, such as the HP KeyWand HBKW-1220, to the analyzer's DIN KEYBOARD connector (on the rear panel). Once connected, the barcode reader will send scanned barcode characters to the analyzer just as if they were typed on a keyboard.
  • Page 42: Using An External Keyboard For Data Entry

    If your keyboard has a standard (large) DIN connector, you will need to use a DIN to mini-DIN adapter to connect the keyboard to the analyzer. These adapters are available as HP part number 1252-4141. Contact the nearest HP sales or service office for more information.
  • Page 43: Using The Analyzer's Title Feature

    Operator Interaction Using the Analyzer's Title Feature Using the Analyzer's Title Feature The analyzer has two 30-character title lines which can be entered using the barcode reader. From the front panel, press DISPLAY More Display Title and Clock Title Line 1 , or on an external keyboard, press F9.
  • Page 44: Hot Keys On External Keyboard For Common Functions

    You can use a keyboard's keys instead of the analyzer's keys to control the analyzer. provides the same information that can be found on a template that is supplied with each analyzer (HP part number 08712-80028). Function keys F9, F10, and F11 are “hot keys” which perform common operations such as entering measurement titles and saving measurement results to disk.
  • Page 45 Operator Interaction Hot Keys on External Keyboard for Common Functions Table 3-1 Keyboard Template Definition Keyboard Keyboard Analyzer Function Analyzer Function Key Name Key Name Softkey 1 Shift-F1 MEAS 1 Softkey 2 Shift-F2 MEAS 2 Softkey 3 Shift-F3 FREQ Softkey 4 Shift-F4 POWER Softkey 5...
  • Page 46: User-Defined Ttl Input/Output

    Operator Interaction User-Defined TTL Input/Output User-Defined TTL Input/Output The USER TTL port can be used as a general-purpose input or output. Like the LIMIT TEST IN/OUT line, the USER TTL IN/OUT line is an open-collector drive. When used as an input, the state of the USER TTL IN/OUT line can be read with either the SCPI command "DIAG:PORT:READ? 15,1"...
  • Page 47: Using A Foot Or Hand Switch

    ! This program reads the USER TTL IO ! port, and counts how many times a ! switch connected to the port is pressed. DIM Msg$[200] INTEGER X IF POS(SYSTEM$("SYSTEM ID"),"HP 871") THEN ASSIGN @Hp8711 TO 800 Automating Measurements 3-19...
  • Page 48 Operator Interaction Using a Foot or Hand Switch ELSE ASSIGN @Hp8711 TO 716 ABORT 7 CLEAR 716 END IF Pass_count=0 Start: ! LOOP ! Display message Msg$="'DUTs passed: "&VAL$(Pass_count)&CHR$(10) Msg$=Msg$&"Press button to measure next DUT.'" OUTPUT @Hp8711;"DISP:ANN:MESS ";Msg$ ! Wait for button to be pressed REPEAT OUTPUT @Hp8711;"DIAG:PORT:READ? 15,1"...
  • Page 49: Limit-Test Pass/Fail Ttl Input/Output

    Operator Interaction Limit-Test Pass/Fail TTL Input/Output Limit-Test Pass/Fail TTL Input/Output When limit testing is turned on, the LIMIT TEST IN/OUT rear-panel BNC connector indicates the status of the limit test. If the limit test passes, this TTL output goes high. If the limit test fails, this TTL output goes low.
  • Page 50: Analyzer Port Numbers

    Operator Interaction Analyzer Port Numbers Analyzer Port Numbers Table 3-2 Writeable Ports Port Register Description Number Outputs 8-bit data to the Cent_D0 thru D7 lines of the Centronics port. Cent_D0 is the least significant bit, Cent_D7 is the most significant bit. Checks Centronics status lines for: Out of Paper Printer Not on Line...
  • Page 51 Operator Interaction Analyzer Port Numbers Table 3-3 Readable Ports Port Register Description Number Reads the serial port. Reads the 8-bit data port Cent_D0 thru D7. Reads the user bit. Reads the limit test pass/fail bit. Reads the 8-bit status port. D0 —...
  • Page 52: Output For External Vga-Compatible Monitor

    Operator Interaction Output for External VGA-Compatible Monitor Output for External VGA-Compatible Monitor You can connect a VGA-compatible external monitor to the VIDEO OUT COLOR VGA connector for a large-screen color view of your measurement if you wish. See “Using an External VGA Monitor” in Chapter 4 of your analyzer’s User’s Guide for information on using an external monitor with your system.
  • Page 53: Measurement Setup And Control With Fast Recall

    Measurement Setup and Control with Fast Recall...
  • Page 54 Measurement Setup and Control with Fast Recall The production and testing of RF components often involves several steps, with each step requiring a unique set of instrument settings. Likewise, the different test configurations at each step may require associated calibrations. Manually entering these sets of parameters (or “states”) or calibrating at each step in the manufacturing process is slow, prone to operator error, and costly.
  • Page 55: Using Fast Recall With The Front Panel Or A Keyboard

    Measurement Setup and Control with Fast Recall Using Fast Recall with the Front Panel or a Keyboard Using Fast Recall with the Front Panel or a Keyboard The following explanation assumes that you are familiar with the NOTE information presented in “Saving and Recalling Measurement Results” in Chapter 4 of your analyzer’s User’s Guide.
  • Page 56 • Web site http://www.hp.com or http://www.agilent.com. Use the search function to find Web pages related to 8712 example programs. • Example Programs Disk, HP 8712ET/ES and HP 8714ET/ES (DOS format): HP part number 08714-10003 • Example Programs Disk, HP 8712ET/ES and HP 8714ET/ES (LIF format): HP part number 08714-10004 •...
  • Page 57: Using Fast Recall With A Switch

    Measurement Setup and Control with Fast Recall Using Fast Recall with a Switch Using Fast Recall with a Switch When fast recall is used in conjunction with a switch connected to the USER TTL IN/OUT rear panel connector, you can cycle through up to seven instrument states in sequence by activating the switch.
  • Page 58 Measurement Setup and Control with Fast Recall Using Fast Recall with a Switch Automating Measurements...
  • Page 59: Automated Measurement Setup And Control

    Automated Measurement Setup and Control...
  • Page 60 IBASIC program running inside the analyzer, or a program in another language running on an external computer. The control program sends SCPI and IEEE-488 commands to the analyzer's HP-IB or LAN interface. The HP-IB commands rapidly change the instrument settings or calibration. Figure 5-1...
  • Page 61 Automated Measurement Setup and Control The HP-IB or LAN interfaces can also be used to trigger sweeps, read measurement values, or signal events within the analyzer. Most operations that can be done from the front panel can also be done over the HP-IB or LAN interface.
  • Page 62: Setting The Instrument State

    • Recall of instrument states from disk • The learn string HP-IB command (*LRN) • SCPI commands that change specific parameters Recalling Instrument States from Disk The analyzer has two internal memory (RAM) disks: “Non-Vol RAM Disk”...
  • Page 63 Automated Measurement Setup and Control Setting the Instrument State For example, suppose the instrument settings are entered for the third test of a sequence of tests. The instrument settings can be saved in a file with the name “TEST3.STA” on the non-volatile RAM disk. When the third test must be performed, the control program can recall the instrument state from the non-volatile RAM disk with the following SCPI command:...
  • Page 64: Using Learn Strings To Save And Recall Instrument States

    Automated Measurement Setup and Control Setting the Instrument State Using Learn Strings to Save and Recall Instrument States The IEEE 488 *LRN (“learn”) command can also be used to set or query a complete set of instrument parameters. This can be used as a programming convenience, eliminating the need for using disk files when saving and recalling instrument states.
  • Page 65: Scpi Commands That Modify A Single Parameter

    Automated Measurement Setup and Control SCPI Commands that Modify a Single Parameter SCPI Commands that Modify a Single Parameter If several measurement setups are similar — differing only by a few instrument parameters — the fastest way to switch between the states is for the control program to send the SCPI commands that modify only those parameters.
  • Page 66: Fast Iterative Control

    Using this approach, you can typically achieve 3 to 5 sweeps per second. Following is a listing of an example program named “FAST_CW” that can be found on your Example Programs Disk. DIM Freq_str$[20] DIM Msg$[100] IF POS(SYSTEM$("SYSTEM ID"),"HP 871") THEN ASSIGN @Hp8711 TO 800 ELSE ASSIGN @Hp8711 TO 716 ABORT 7...
  • Page 67 Automated Measurement Setup and Control Fast Iterative Control OUTPUT @Hp8711;"ABOR;:INIT1:CONT OFF;*WAI" ! Turn on Marker 1 OUTPUT @Hp8711;"CALC:MARK1 ON" Count=0 T0=TIMEDATE ! Step from 175 MHz 463 MHz by 6 MHz FOR Freq=175 TO 463 STEP 6 ! Take a sweep Freq_str$=VAL$(Freq)&"...
  • Page 68: Responsive Communication Using Srqs

    Service requests (SRQs) are a method by which you can instruct the analyzer to tell your computer program when a condition changes or when an event of interest occurs. This communication is done via HP-IB signals. Analyzer SRQ events include: •...
  • Page 69: Using Both Of The Analyzer's Measurement Channels

    Automated Measurement Setup and Control Using Both of the Analyzer's Measurement Channels Using Both of the Analyzer's Measurement Channels The analyzer is capable of making different measurements on each of its two measurement channels. For example, you can set measurement channel 1 to measure transmission over one set of sweep frequencies, while measurement channel 2 is set to measure reflection over another set of sweep frequencies.
  • Page 70: Using Single Sweep To Measure And View All Four S-Parameters

    View All Four S-Parameters You can save sweep time when measuring S-parameters on an HP 8712ES or HP 8714ES by using the single sweep feature. As long as a full two-port calibration has been performed, you can measure all four...
  • Page 71 Automated Measurement Setup and Control Using Single Sweep to Measure and View All Four S-Parameters 1230 ! 1240 DIM A$[10],Data1(1:201) 1250 INTEGER Digits,Bytes 1260 COM /Sys_state/ @Hp87xx,Scode 1270 ! 1280 CALL Iden_port ! Identify I/O Port 1290 ! 1300 OUTPUT @Hp87xx;”SYST:PRES” ! System Preset 1310 OUTPUT @Hp87xx;”*OPC?”...
  • Page 72 1880 ! Iden_port: Identify io port to use 1890 ! Description: This routines sets up the I/O port address for 1900 ! the SCPI interface. For “HP 87xx” instruments, 1910 ! the address assigned to @Hp87xx = 800 otherwise, 1920 ! 716.
  • Page 73: Autost Files

    Automated Measurement Setup and Control AUTOST files AUTOST files When IBASIC is used, the measurement control program can be saved as an AUTOST file on the analyzer's non-volatile RAM disk. When the analyzer's power is turned on, it will first check for this file on the non-volatile RAM disk and then on the 3.5 inch disk, and if found, load it and run it.
  • Page 74 Automated Measurement Setup and Control AUTOST files 5-16 Automating Measurements...
  • Page 75: Controlling Peripherals

    Controlling Peripherals...
  • Page 76 Controlling Peripherals You can access the analyzer’s rear panel interface ports from your measurement control program. Using this capability, you can communicate with peripherals such as material handlers, custom DUT interface circuits, external switch boxes, and printers. This chapter will focus on use of the Centronics parallel port and the RS-232 serial port.
  • Page 77: Using The Parallel Port

    Controlling Peripherals Using the Parallel Port Using the Parallel Port The analyzer's parallel (Centronics) port can be used as an 8-bit TTL output port and as a 5-bit TTL input port. The eight TTL outputs are for output only, and cannot be read or used as bi-directional I/O lines. The parallel port does not support the IEEE-1284-defined Extended Capabilities Port (ECP) mode or Enhanced Parallel Port (EPP) mode.
  • Page 78 Controlling Peripherals Using the Parallel Port Table 6-1 Writeable Ports Port Register Description Number Outputs 8-bit data to the Cent_D0 thru D7 lines of the Centronics port. Cent_D0 is the least significant bit, Cent_D7 is the most significant bit. Checks Centronics status lines for: Out of Paper Printer Not on Line BUSY...
  • Page 79 Controlling Peripherals Using the Parallel Port Table 6-2 Readable Ports Port Register Description Number Reads the serial port. Reads the 8-bit data port Cent_D0 thru D7. Reads the user bit. Reads the limit test pass/fail bit. Reads the 8-bit status port. D0 —...
  • Page 80: Writing To The Parallel Port

    Controlling Peripherals Using the Parallel Port Writing to the Parallel Port To write the value 52 decimal (34 hex, 0011 0100 binary) to the parallel port's output pins, use one of the following commands: OUTPUT @Rfna;"DIAG:PORT:WRITE 15,3,52" WRITEIO 15,3;52 When the write command is executed, the parallel port's data lines (pins 2-9) will be set to the specified value, and then a pulse of at least 1 µs duration will occur on the strobe line (pin 1).
  • Page 81 Controlling Peripherals Using the Parallel Port Table 6-3 shows the pin numbers, data bus bit numbers, and signal names: Table 6-3 Parallel Port Pins Name Strobe Data 1 Data 2 Data 3 Data 4 Data 5 Data 6 Data 7 Data 8 The data will typically remain valid until the next write to the parallel port, but you should always latch the data using the strobe.
  • Page 82 Controlling Peripherals Using the Parallel Port Figure 6-2 Digital Latch Circuit Automating Measurements...
  • Page 83: Reading From The Parallel Port

    Controlling Peripherals Using the Parallel Port Reading from the Parallel Port The parallel port has five TTL input signals, normally used for determining the printer's status, which can be read. The signals and the corresponding data bits and pins are shown in the following table: Table 6-4 Parallel Port Inputs Name...
  • Page 84: Hardcopy Considerations

    Controlling Peripherals Hardcopy Considerations Hardcopy Considerations The analyzer's feature can send output to printers HARDCOPY connected to the parallel port. If you have a custom interface circuit attached to the parallel port, you don't want the hardcopy output to interfere with it. To address this issue, the analyzer uses the parallel port's printer-select signal (pin 17) to differentiate between hardcopy dumps and user-issued WRITEIO and DIAG:PORT:WRITe commands.
  • Page 85: Using The Serial Port

    Controlling Peripherals Using the Serial Port Using the Serial Port Like the parallel port, the RS-232 serial port can also be accessed using SCPI and IBASIC commands. To write a byte with a value of 52 decimal (34 hex, 0011 0100 binary) to the serial port, use one of the following commands: OUTPUT @Rfna;"DIAG:PORT:WRITE 9,0,52"...
  • Page 86 Controlling Peripherals Using the Serial Port 6-12 Automating Measurements...
  • Page 87: Displaying Measurement Results

    Displaying Measurement Results...
  • Page 88 Displaying Measurement Results It is often helpful to eliminate unnecessary and potentially distracting information and annotation from the display, and only show the information necessary to perform a particular task. The analyzer provides several features to let you customize the information shown on the display as shown in Figure 7-1.
  • Page 89: Graticule On/Off

    Displaying Measurement Results Graticule On/Off Graticule On/Off The graticule is the set of grid lines that designate increments of value on the X-axis and Y-axis of the measurement. If you are comparing the trace against limit lines or marker values, turning off the graticule makes it easier to view the measurement trace, limit lines, and markers.
  • Page 90: Limit Testing

    Displaying Measurement Results Limit Testing Limit Testing The measurement trace can be automatically compared to limits which you define. The limits, entered as lines and points, can be displayed on the screen or can be hidden. Whether or not the limits are displayed, the analyzer will display “PASS”...
  • Page 91: To Move The Position Of The Pass/Fail Indicator

    Displaying Measurement Results Limit Testing To move the position of the pass/fail indicator To move the position of the pass/fail indicator, press DISPLAY Limit Menu Limit Options , and use the Limit Icon X Position Limit Icon Y Position keys to reposition the indicator. Or use the following SCPI commands: DISP:ANN:LIM:ICON[1|2]:POS:X <num>...
  • Page 92: Customized X-Axis Annotation

    Displaying Measurement Results Customized X-axis Annotation Customized X-axis Annotation X-axis annotation consists of one or two lines of information that appear below the graticule. You can replace this annotation with your own text (see Figure 7-1) or eliminate the X-axis annotation completely. By default, the X-axis annotation displays the stimulus frequencies (default resolution is kHz), or powers if in power sweep.
  • Page 93: To Turn The X-Axis Annotation On Or Off

    Displaying Measurement Results Customized X-axis Annotation To turn the X-axis annotation on or off To turn the X-axis (frequency) annotation on or off, press DISPLAY More Display Annotation Options Freq Annot ON off or use the following SCPI commands: DISP:ANN:FREQ[1|2] ON DISP:ANN:FREQ[1|2] OFF NOTE When using custom X-axis annotation, the SCPI command...
  • Page 94: Customized Measurement-Channel Annotation

    Displaying Measurement Results Customized Measurement-Channel Annotation Customized Measurement-Channel Annotation The analyzer displays measurement-channel annotation above the graticule. This annotation shows the measurement type, format, scale/division, and reference level. You may replace this annotation with your own text (see Figure 7-1) or eliminate the measurement-channel annotation completely.
  • Page 95: To Turn Measurement-Channel Annotation On Or Off

    Displaying Measurement Results Customized Measurement-Channel Annotation To turn measurement-channel annotation on or off To turn the measurement-channel annotation on or off, press DISPLAY More Display Annotation Options Meas Annot ON off , or use the following SCPI commands: DISP:ANN:CHAN[1|2] ON DISP:ANN:CHAN[1|2] OFF Automating Measurements...
  • Page 96: Markers

    Displaying Measurement Results Markers Markers Well-designed use of the analyzer’s marker features in an automated system can enhance the data gathering process, as well as provide important visual feedback to the operator. The active marker's value is displayed in the upper right area of the graticule.
  • Page 97 Displaying Measurement Results Markers Other marker functions that can be useful are the marker math functions: • statistics • flatness • RF filter stats These functions perform certain mathematical calculations on the amplitude, phase, delay or SWR data of user-defined trace segments. See “To Use Marker Math Functions”...
  • Page 98: Title And Clock

    Displaying Measurement Results Title and Clock Title and Clock The analyzer has two 30-character title lines. One of these lines can be replaced with a real-time clock readout. Timestamps on measurement data can be important when monitoring throughput, quality, and processes.
  • Page 99: Saving Measurement Results

    Saving Measurement Results...
  • Page 100 Saving Measurement Results After measuring a device, you will probably want to save the measurement results so that you can perform statistical analyses on them. Statistical quality control (SQC) can be a powerful tool to indicate process drift or variation. You may also want to produce a print or plot of the DUT's response, and ship this to your customer along with the DUT.
  • Page 101: Querying Measurement Data

    Refer to the chapter titled “Trace Data Transfers” in the Programmer's Guide for more details. From IBASIC, you can also use the subprogram “Read_fdata( )”, which is faster. Refer to the chapter titled “Using Subprograms” in the HP Instrument BASIC User’s Handbook Supplement. Automating Measurements...
  • Page 102: Saving The Measurement To Disk - Save Ascii

    Saving Measurement Results Saving the Measurement to Disk — Save ASCII Saving the Measurement to Disk — Save ASCII Save ASCII The analyzer has a feature which saves the measurement trace in a format compatible with many popular spreadsheet programs such as Lotus®...
  • Page 103: Saving The Measurement To Disk - Save Data

    Saving Measurement Results Saving the Measurement to Disk — Save Data Saving the Measurement to Disk — Save Data Save ASCII Similar to , the analyzer can also save the measurement data onto disk as an instrument state file. Use Define Save , and turn Data ON and turn Inst State and Cal OFF.
  • Page 104: Querying Marker Searches

    Saving Measurement Results Querying Marker Searches Querying Marker Searches The analyzer can measure a filter and compute its center frequency, bandwidth, Q, and loss. You can query this information using the SCPI command CALC:MARK:FUNC:RES? For example: 10 OUTPUT @Rfna;"CALC:MARK:BWID -3" ! -3 dB bandwidth 20 OUTPUT @Rfna;"CALC:MARK:FUNC:RES?"...
  • Page 105: Saving Measurement Results To Disk

    Mass Storage Specifiers Disk SCPI name Non-Volatile RAM Disk MEM:file Volatile RAM Disk RAM:file Internal 3.5 in Disk INT:file The files can also be transferred over HP-IB using the SCPI command MMEM:TRANsfer. Refer to the Example Programs Guide for details. Automating Measurements...
  • Page 106: Using Hardcopy Features To Print Or Plot Results

    HARDCOPY floppy disk in HP-GL, PCX, or PCL5 format. These files can be imported into various computer applications, such as Microsoft Word® or Lotus WordPro®, and integrated with other text and graphics. You can use the SCPI MMEM:TRANsfer command to copy files from the analyzer's floppy...
  • Page 107: Faster Hardcopies Using A Pcl5 Printer

    These steps are discussed in detail below. Put the Printer into HP-GL Mode In order to send HP-GL hardcopy output to your PCL-5 printer, you must first instruct the printer to accept HP-GL commands. On some printers, this can be done using the printer's built-in menu. You can also send the printer a PCL-5 escape sequence to instruct it to accept HP-GL.
  • Page 108 Saving Measurement Results Using Hardcopy Features to Print or Plot Results Send the Printer an HP-IB Command You will need to send the printer an IP command to specify a specific rectangular region on the paper. This is done by sending the printer the IP HP-GL command.
  • Page 109 The numbers shown in these examples were developed using an HP LaserJet 4. Other printer’s margins may vary slightly. Perform a hardcopy dump HP-GL format Once your printer is set to accept HP-GL commands, you can perform a hardcopy using the SCPI HCOP;*WAI command. Automating Measurements...
  • Page 110: Custom Data Sheets

    The example program uses hardcopy output to generate a report with custom text. Five different text fonts are used. The fonts are available for HP LaserJet printers. Refer to your printer manual to modify the example fonts for your printer.
  • Page 111 Saving Measurement Results Custom Data Sheets Figure 8-2 Example of Customized Data Sheet Automating Measurements 8-13...
  • Page 112: Statistical Process Control

    “unnatural” patterns. You can purchase computer programs such as SAS and SPlus to perform statistical analyses. HP VEE, which you can use to control your analyzer, also offers some statistical capability. You can also use add-in macros for popular spreadsheet programs.
  • Page 113: Transferring Files

    Transferring Files Transferring Files Files can be transferred to and from the analyzer via the HP-IB or LAN ports. Using the LAN port may be the most convenient if you are transferring files using a UNIX workstation or a PC equipped with Windows95 (or later) and ftp networking software.
  • Page 114 Saving Measurement Results Transferring Files 8-16 Automating Measurements...
  • Page 115 3-10 faster monitor hot keys external 3-24 programming language 2-12 external keyboard 3-16 MOVE computer HP BASIC graphics keyword selecting for automation programming language 2-11 computer connections HP VEE configurations programming language 2-12 networking of system for automation non-volatile RAM disk...
  • Page 116 Index RAM disks User BEGIN readable ports 3-23 default program recall from a disk or memory User BEGIN program recall, fast to load 3-10 recalling states User BEGIN program structure recording keystroke 3-10 USER TTL IN/OUT port 3-18 serial port 6-11 SICL 2-12...

This manual is also suitable for:

Hp 8712esHp 8714etHp 8714es

Table of Contents