Programmer’s Guide Agilent Technologies 8719ET/ES Network Analyzer 8720ET/ES Network Analyzer 8722ET/ES Network Analyzer 8753ET/ES Network Analyzer Part Number 08753-90475 Printed in USA June 2002 Supersedes February 2001 © Copyright 1999–2002 Agilent Technologies, Inc.
How to Use This Guide This guide uses the following conventions: Front Panel Key This represents a key physically located on the instrument. SOFTKEY This represents a “softkey”, a key whose label is determined by the instrument firmware. Computer Font This represents text displayed on the instrument’s screen, text on a computer display, or a programming command. NOTE ii All model numbers and part numbers published in this document are HP/Agilent numbers, unless otherwise specified.
Documentation Map The Installation and Quick Start Guide provides procedures for installing, configuring, and verifying the operation of the analyzer. It also will help you familiarize yourself with the basic operation of the analyzer. The User’s Guide shows how to make measurements, explains commonly-used features, and tells you how to get the most performance from your analyzer. The Reference Guide provides reference information, such as specifications, menu maps, and key definitions.
Agilent Technologies Sales and Service Offices • UNITED STATES — Instrument Support Center Agilent Technologies Company (800) 403-0801 • EUROPEAN FIELD OPERATIONS — Headquarters Agilent Technologies S.A. 150, Route du Nant-d’Avril 1217 Meyrin 2/ Geneva Switzerland (41 22) 780.8111 — France Agilent Technologies France 1 Avenue Du Canada Zone D’Activite De Courtaboeuf F-91947 Les Ulis Cedex France (33 1) 69 82 60 60 — Germany Agilent Technologies GmbH Agilent Technologies Strasse 61352 Bad Homburg v.d.
Contents 1. Alphabetical Command Reference Symbol Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2 AB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3 ADAP1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3 ADDR . . . . . . . . . . . . . . .
Contents CLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-39 CLER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-39 COAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-40 COAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents ECALMANTHRU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-73 ECALMODID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-74 ECALMODINF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-75 ECALMODSELA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents KEY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-113 KITD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-114 KOR? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-114 LAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents PARAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-164 PAUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-165 PCB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-165 PCOL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents RESPDONE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-203 REST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-203 RETP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-204 REV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents SPLD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-243 SPLID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-244 SRE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-245 SSTAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents 2. Introduction to Instrument Control Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 Instrument Control using the VXIplug&play Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 Installing the VXIplug&play Driver . . . . . . . . . . . . . . . . . .
Contents 5. Data Processing Chain Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-2 Data Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-3 Common Output Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-4 Fast Data Transfer Commands . . . . . . . . . . . . . . . . . . . .
Contents Example 3B: Data Transfer Using FORM 4 (ASCII Transfer) . . . . . . . . . . . . . . . . . . . . . 7-59 Example 3C: Data Transfer Using Floating-Point Numbers . . . . . . . . . . . . . . . . . . . . . . 7-62 Example 3D: Data Transfer Using Frequency-Array Information . . . . . . . . . . . . . . . . . . 7-64 Example 3E: Data Transfer Using FORM 1 (Internal-Binary Format) . . . . . . . . . . . . . . 7-67 Measurement Process Synchronization Examples . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Alphabetical Command Reference 1-1
Alphabetical Command Reference Symbol Conventions Symbol Conventions Required numerical data. An appendage that is part of the command. For example, FORMAT indicates that the actual commands are FORMATDOS and FORMATLIF. <$> Indicates a character string operand which must be enclosed by double quotes. | An either/or choice in appendages or optional data. [] Optional data.
Alphabetical Command Reference AB AB Syntax AB; or AB?; Description Command AB Description Range Measures and displays A/B on the active channel. N/A Query Response <0|1> Front Panel Equivalents Command Hardkey AB Softkey A/B Meas ADAP1 Syntax ADAP1[S]; or ADAP1?; NOTE This command only applies to ES model analyzers. Description Command ADAP1 Description Sets adapter electrical delay.
Alphabetical Command Reference ADDR ADDR Syntax ADDR; or ADDR?; Description Sets the GPIB address for the following peripherals. Command Description Range Query Response ADDRCONT Controller GPIB address. The address where control is returned after a pass control. integers 0–30 ADDRDISC External disk drive GPIB address. integers 0–30 ADDRLSRC1 LO source GPIB address.
Alphabetical Command Reference ADPT ADPT Syntax ADPT; or ADPT?; Description Command Description Range Query Response ADPTCOAX Sets adapter to coaxial. N/A <0|1> ADPTWAVE Sets adapter to waveguide. N/A <0|1> Front Panel Equivalents Command Hardkey Softkey ADPTCOAX Cal ADAPTER COAX ADPTWAVE Cal ADAPTER WAVEGUIDE ALC Syntax ALC; or ALC?; Description Command ALC Description Range ALC control. For service use only.
Alphabetical Command Reference ALTAB ALTAB Syntax ALTAB; or ALTAB?; Description Command ALTAB Description Range Places the analyzer in the alternate inputs measurement mode, where A and B measurements are made on alternate sweeps. See also “CHOPAB.” N/A Query Response <0|1> Front Panel Equivalents Command Hardkey Softkey ALTAB Cal ALTERNATE A and B 1 ALTAB Cal ALTERNATE RFL/TRAN 2 1. ES models only. 2. ET models only.
Alphabetical Command Reference ANAB ANAB Syntax ANAB; or ANAB?; Description Command ANAB Description Range Enables and disables the analog bus for service use.
Alphabetical Command Reference ANAI ANAI Syntax ANAI; or ANAI?; ANAI; or ANAI?; Description Command Description Range Query Response ANAI1 Measures and displays the data at the auxiliary input (ANALOG IN). integers 1–31 <0|1> ANAI2 Measures and displays the data at the auxiliary input (ANALOG IN). N/A <0|1> 1. When the analog bus is enabled (ANABON), this command requires that the complementary information () be sent. 2.
Alphabetical Command Reference AR AR Syntax AR; or AR?; Description Command AR Description Range Measures and displays A/R on the active channel. N/A Query Response <0|1> Front Panel Equivalents Command Hardkey AR Softkey A/R Meas ASEG Syntax ASEG; or ASEG?; Description Command ASEG Description Range Uses all segments for list frequency sweep. See also “SSEG.
Alphabetical Command Reference ASSS ASSS Syntax ASSS; Description Command ASSS Description Range Asserts the sequence status bit to in-turn generate SRQ.
Alphabetical Command Reference ATT ATT Syntax ATT[DB]; or ATT?; Description Command Description Range Query Response ATTA 1 Selects the amount of attenuation at attenuator A. 0–55 dB ATTB1 Selects the amount of attenuation at attenuator B. 0–55 dB ATTP12 Selects the amount of attenuation at PORT 1. 0–70 dB ATTP22 Selects the amount of attenuation at PORT 2. 0–70 dB 1.
Alphabetical Command Reference AUTO AUTO Syntax AUTO; Description Command AUTO Description Range Auto scale the active channel.
Alphabetical Command Reference AUXC AUXC Syntax AUXC; or AUXC?; Description Command AUXC Description Range Enables and disables auxiliary channels 3 and 4. OPC-compatible.
Alphabetical Command Reference AVER AVER Syntax AVERFACT; or AVERFACT?; AVERO; or AVERO?; AVERREST; Description Command Description Range Query Response integers 0–999 AVERFACT Sets the averaging factor on the active channel. AVERO Turns averaging on and off on the active channel. N/A <0|1> AVERREST Restarts the averaging on the active channel.
Alphabetical Command Reference BACI BACI Syntax BACI; or BACI?; Description Command BACI Description Range Sets the background intensity of the display. integers 0–100 Query Response Front Panel Equivalents Command Hardkey BACI Softkey BACKGROUND INTENSITY Display BANDPASS Syntax BANDPASS; or BANDPASS?; Description Command BANDPASS Description Range Selects the time domain bandpass mode.
Alphabetical Command Reference BEEP BEEP Syntax BEEP; or BEEP?; Description Command Description Range Query Response BEEPDONE Causes the analyzer’s warning beeper to sound at the completion of functions such as save, done with calibration standard, and data trace saved. N/A <0|1> BEEPFAIL Causes the analyzer’s warning beeper to sound in the event of a limit test failure.
Alphabetical Command Reference BLAD BLAD Syntax BLAD; or BLAD?; Description Command BLAD Description Range Blanks the display. N/A Query Response <0|1>> Front Panel Equivalents Command Hardkey BLAD Softkey BLANK DISPLAY Display BR Syntax BR; or BR?; Description Command BR Description Range Measures and displays B/R on the active channel.
Alphabetical Command Reference BWLIMDB BWLIMDB Syntax BWLIMDB; or BWLIMDB?; Description Command BWLIMDB Description Range Enters the N dB Point, the amplitude below the peak that is used to measure the filter’s bandwidth. 0.
Alphabetical Command Reference BWLIMMAX BWLIMMAX Syntax BWLIMMAX[HZ|KHZ|MHZ|GHZ]; or BWLIMMAX?; Description Command Description Range BWLIMMAX Enters the maximum bandwidth value. If the measured bandwidth is greater than this value, the filter fails the bandwidth test. stimulus range1 Query Response 1. Refer to “Preset State and Memory Allocation” in your analyzer’s reference guide.
Alphabetical Command Reference BWLIMSTAT BWLIMSTAT Syntax BWLIMSTAT; Description Command Description Range BWLIMSTAT Returns the results of the bandwidth test. A returned value of 0 indicates that the filter passed the bandwidth test. A returned value of −1 indicates that the filter failed the bandwidth test because it is narrower than the bandwidth limit. A returned value of 1 indicates that the filter failed the bandwidth test because it is wider than the bandwidth limit.
Alphabetical Command Reference BWLIMVAL BWLIMVAL Syntax BWLIMVAL; Description Command BWLIMVAL Description Returns the measured bandwidth value. Range N/A Response Front Panel Equivalents GPIB only: no front panel equivalent.
Alphabetical Command Reference C C Syntax C<0|1|2|3>; Description Command Description Range These commands set the open capacitance values of an open circuit while it is being defined as a calibration standard.
Alphabetical Command Reference CAL1 CAL1 Syntax CAL1; Description Command CAL1 Description Range Accepted for compatibility with the 8510, where its function is to begin a calibration sequence. (Selects 1-port calibration.
Alphabetical Command Reference CALF CALF Syntax CALF; or CALF?; CALF; Description Command Description Range Query Response CALFCALF Sets the power meter sensor calibration factor. 0–200% CALFFREQ Selects the frequency for the power meter sensor calibration factor correction. stimulus range1 CALFSENA Edits the power sensor A calibration factor table.
Alphabetical Command Reference CALI CALI Syntax CALI; or CALI?; Description Command Description Range Query Response CALIERC Begins the sequence for a forward enhanced response calibration. N/A <0|1> CALIEREFL Turns the enhanced reflection response on or off. N/A <0|1> CALIRERC 1 Begins the sequence for a reverse enhanced response calibration.
Alphabetical Command Reference CALI Front Panel Equivalents Command CALIERC Hardkey Cal Softkey ES models: S11/S21 ENH. RESP. ET models: TRAN/REFL ENH. RESP. CALIRERC Cal S22/S12 ENH. RESP. 1 CALIEREFL Cal ENH. REFL. on OFF CALIFUL2 Cal FULL 2-PORT 1 CALIRAI Cal RESPONSE & ISOL’N CALIRESP Cal RESPONSE CALIS111 Cal ES models: S11 1-PORT ET models: REFLECTION 1-PORT 1 CALIS221 Cal S22 1-PORT CALITRL2 Cal TRL/LRM 2-PORT 1 1. ES models only.
Alphabetical Command Reference CALK CALK Syntax CALK<24MM|292MM|292S|32F|35MC|35MD|35ME|716|7MM|N50|N75|TRLK|USED>; or CALK<24MM|292MM|292S|32F|35MC|35MD|35ME|716|7MM|N50|N75|TRLK|USED>?; Description Command Description Range Query Response CALK24MM Selects a 2.4-mm calibration kit (85056A/D) as the default cal kit. N/A <0|1> CALK292MM Selects a 2.92-mm calibration kit as the default cal kit. N/A <0|1> CALK292S Selects a 2.92* calibration kit (85056K) as the default cal kit.
Alphabetical Command Reference CALK Front Panel Equivalents Command Hardkey Softkey CALK24MM Cal 2.4mm 85056 CALK292MM Cal 2.92mm other kits CALK292S Cal 2.92* 85056K CALK32F Cal N 50Ω 85032F CALK35MC Cal 3.5mmC 85033C CALK35MD Cal 3.5mmD 85052 1 3.5mmD 85033D/E 2 CALK35ME Cal 3.5mmD 85033D/E CALK716 Cal 7-16 85038 CALK7MM Cal 7mm 85050 7mm 85031 1 2 CALKN50 Cal N 50Ω 85054 1 N 50Ω 85032B/E 2 CALKN75 Cal N 75Ω 85036 CALKTRLK Cal TRL 3.
Alphabetical Command Reference CALN CALN Syntax CALN; or CALN?; Description Command Description CALN Range Turns calibration type to “off.” See also “CORR.” A response of “O” indicates that the correction is “ON”. N/A Query Response <0|1> Front Panel Equivalents GPIB only: no front panel equivalent. CALPOW Syntax CALPOW; NOTE This command only applies to 8720E series analyzers. Description Command CALPOW Description Range Provides access to the power meter calibration functions.
Alphabetical Command Reference CALSPORT CALSPORT Syntax CALSPORT<1|2>; NOTE These commands only apply to ES models. Description Command Description Range Query Response CALSPORT1 Recalls cal set associated with PORT 1 for adapter removal. N/A N/A CALSPORT2 Recalls cal set associated with PORT 2 for adapter removal.
Alphabetical Command Reference CALZ CALZ Syntax CALZ; or CALZ?; NOTE These commands only apply to ES models. Description Command Description Range Query Response CALZLINE Establishes the line or match standard(s) as the characteristic impedance for a TRL/LRM calibration. N/A <0|1> CALZSYST Establishes the system Z0 (see “SETZ”) as the characteristic impedance for a TRL/LRM calibration.
Alphabetical Command Reference CBRI CBRI Syntax CBRI; or CBRI?; Description Command CBRI Description Range Adjusts the color brightness of the selected display feature. integers 0–100 Query Response Front Panel Equivalents Command Hardkey CBRI Softkey BRIGHTNESS Display CENT Syntax CENT[HZ|DB]; or CENT?; Description Command CENT Description Range Sets the center stimulus value. If a list frequency segment is being edited, sets the center of the list segment.
Alphabetical Command Reference CHAN CHAN Syntax CHAN<1|2|3|4>; Description Command Description Range Query Response CHAN1 Makes channel 1 the active channel. OPC-compatible. N/A N/A CHAN2 Makes channel 2 the active channel. OPC-compatible. N/A N/A CHAN3 Makes channel 3 the active channel. OPC-compatible. N/A N/A CHAN4 Makes channel 4 the active channel. OPC-compatible. N/A N/A NOTE These commands should use OPC? to prevent timing errors with subsequent commands.
Alphabetical Command Reference CHOPAB CHOPAB Syntax CHOPAB; or CHOPAB?; Description Command CHOPAB Description Range Places the analyzer in the chop measurement mode. See also “ALTAB.” N/A Query Response <0|1> Front Panel Equivalents Command Hardkey Softkey CHOPAB Cal CHOP A and B 1 CHOPAB Cal CHOP RFL/TRAN 2 1. ES models only. 2. ET models only. CLAD Syntax CLAD; Description Command CLAD Description Range Class done (modify cal kit, specify class).
Alphabetical Command Reference CLASS CLASS Syntax CLASS<11A|11B|11C|22A|22B|22C>; Description These commands call reflection standard classes during a calibration sequence. If only one standard is in the class, it is measured. If there is more than one, the standard being used must be selected with STAN. If there is only one standard in the class, these commands are OPC-compatible.
Alphabetical Command Reference CLEA CLEA Syntax CLEA; CLEAREG; CLEARALL; Description Command Description Range Query Response CLEA Clears the indicated save/recall registers. OPC-compatible. integers 1–5 N/A CLEAREG Clears save/recall registers 01 through 31. CLEAREG01 through CLEAREG05 are the same as CLEA1 through CLEA5. OPC-compatible. two-digit integers 01–31 N/A CLEARALL Clears all the save/recall registers. OPC-compatible.
Alphabetical Command Reference CLEAL CLEAL Syntax CLEAL; Description Command CLEAL Description Range Clears the limit line list. Should be preceded by EDITLIML. N/A Query Response N/A Front Panel Equivalents Command Hardkey CLEAL Softkey CLEAR LIST YES System CLEABIT Syntax CLEABIT; or CLEABIT?; Description Command CLEABIT Description Range Clears the specified bit on the GPIO.
Alphabetical Command Reference CLEASEQ CLEASEQ Syntax CLEASEQ; Description Command CLEASEQ Description Range Clears the indicated sequence from the internal registers. integers 1–6 Query Response N/A Front Panel Equivalents Command Hardkey CLEASEQ Softkey CLEAR SEQUENCE Seq CLEL Syntax CLEL; Description Command CLEL Description Range Clears the currently selected list. This could be a frequency list, power loss list, or limit test list. Must be preceded by an “EDIT” command.
Alphabetical Command Reference CLES CLES Syntax CL[E]S; Description Command Description Range Query Response CLES Clears the status byte register, the event-status registers, and the enable registers. N/A N/A CLS Same as CLES. N/A N/A Front Panel Equivalents GPIB only: no front panel equivalent. CLER Syntax CLER; Description Command CLER Description Range Query Response Clears (or deletes) the all of existing ripple test limits.
Alphabetical Command Reference COAD COAD Syntax COAD; or COAD?; Description Command COAD Description Range Selects coaxial electrical delay. See also “WAVD.” N/A Query Response <0|1> Front Panel Equivalents Command Hardkey COAD Softkey COAXIAL DELAY Scale Ref COAX Syntax COAX; or COAX?; Description Command COAX Description Range Selects coaxial offsets instead of waveguide while defining a standard during a cal kit modification.
Alphabetical Command Reference COLO COLO Syntax COLO; Description These commands select the indicated display feature for color modification: Command Description Range Query Response COLOCH1D Channel 1 data and limit line. N/A N/A COLOCH2D Channel 2 data and limit line. N/A N/A COLOCH3D Channel 3 data and limit line. N/A N/A COLOCH4D Channel 4 data and limit line. N/A N/A COLOCH1M Channel 1 memory.
Alphabetical Command Reference COLOR Front Panel Equivalents Command Hardkey Softkey COLOCH1D Display CH1 DATA LIMIT LN COLOCH2D Display CH2 DATA LIMIT LN COLOCH3D Display CH3 DATA LIMIT LN COLOCH4D Display CH4 DATA LIMIT LN COLOCH1M Display CH1 MEM COLOCH2M Display CH2 MEM COLOCH3M Display CH3 MEM COLOCH4M Display CH4 MEM COLOGRAT Display GRATICULE COLOTEXT Display TEXT COLOLREF Display REF LINE COLOWARN Display WARNING COLOR Syntax COLOR; or COLOR?; Descriptio
Alphabetical Command Reference CONS CONS Syntax CONS; Description Command CONS Description Range Continues the paused sequence. N/A Query Response N/A Front Panel Equivalents Command Hardkey CONS Softkey CONTINUE SEQUENCE Seq CONT Syntax CONT; or CONT?; Description Command CONT Description Range Places the analyzer in continuous sweep trigger mode.
Alphabetical Command Reference CONV CONV Syntax CONV<1DS|OFF|YREF|YTRA|ZREF|ZTRA>; or CONV<1DS|OFF|YREF|YTRA|ZREF|ZTRA>?; Description These 6 commands convert the S-parameter data to: Command Description Range Query Response CONV1DS Inverted S-parameters. N/A <0|1> CONVOFF Turns S-parameter conversion off. N/A <0|1> CONVYREF Y:reflection (admittance). N/A <0|1> CONVYTRA Y:transmission (admittance). N/A <0|1> CONVZREF Z:reflection (impedance).
Alphabetical Command Reference COPY COPY Syntax COPY; Description Command Description Range Query Response COPYFRFT Copies labels from file titles. N/A N/A COPYFRRT Copies labels from register titles. N/A N/A Front Panel Equivalents Command Hardkey Softkey COPYFRFT Save/Recall COPY FROM FILE TITLE COPYFRRT Save/Recall COPY FROM REG TITLES CORI Syntax CORI; or CORI?; Description Command CORI Description Range Turns interpolative error correction on and off.
Alphabetical Command Reference CORR CORR Syntax CORR; or CORR?; Description Command CORR Description Range Turns error correction on and off. N/A Query Response <0|1> Front Panel Equivalents Command Hardkey CORR Softkey CORRECTION ON OFF CAL COU Syntax COU; or COU?; Description Command Description Range Query Response COUC Couples and uncouples the stimulus between the channels.
Alphabetical Command Reference CSWI CSWI Syntax CSWI; or CSWI?; NOTE These commands only apply to ES models. Description See also “TSSWI” on page 1-267. Command Description Range Query Response CSWION Selects test set continuous switching. When continuous switching is on, the analyzer measures all four S-parameters each time before displaying the data for a full 2-port cal measurement. N/A N/A CSWIOFF Selects test set hold mode.
Alphabetical Command Reference CWFREQ CWFREQ Syntax CWFREQ[HZ|DB]; or CWFREQ?; Description Command CWFREQ Description Range Sets the CW frequency for power sweep and CW frequency modes. While the list frequency table segment is being edited, it sets the center frequency of the current segment. See also “MARKCENT.” stimulus range1 Query Response 1. For frequency or power sweeps, refer to “Preset State and Memory Allocation,” in the analyzer’s reference guide.
Alphabetical Command Reference D1DIVD2 D1DIVD2 Syntax D1DIVD2; or D1DIVD2?; Description Command D1DIVD2 Description Range This command divides the data in channel 2 by the data in channel 1, and then displays the result on channel 2. Dual display must be turned on first with the DUACON command.
Alphabetical Command Reference D2XUPCH D2XUPCH Syntax D2XUPCH<2|3>; or D2XUPCH<2|3>?; Description Command Description Range Query Response D2XUPCH2 Sets up a two-graticule display with channel 2 on top. N/A <0|1> D2XUPCH3 Sets up a two-graticule display with channel 3 on top.
Alphabetical Command Reference D4XUPCH D4XUPCH Syntax D4XUPCH<2|3>; or D4XUPCH<2|3>?; Description Command Description Range Query Response D4XUPCH2 Sets up a four-graticule display with channel 2 in the upper right quadrant of the display. N/A <0|1> D4XUPCH3 Sets up a four-graticule display with channel 3 in the upper right quadrant of the display.
Alphabetical Command Reference DATI DATI Syntax DATI; Description Command DATI Description Range Stores the data trace in channel memory. OPC-compatible. N/A Query Response N/A Front Panel Equivalents Command Hardkey DATI Softkey DATA → MEMORY Display DCONV Syntax DCONV; NOTE This command applies to all 8753ET/ES analyzers, and to 8720E series analyzers with Option 089. Description Command DCONV Description Range Selects down converter for mixer measurements.
Alphabetical Command Reference DEBU DEBU Syntax DEBU; or DEBU?; Description Command DEBU Description Range N/A Turns the GPIB debug mode on and off. When on, the analyzer scrolls incoming GPIB commands across the display. Query Response <0|1> Front Panel Equivalents Command Hardkey DEBU Softkey GPIB DIAG Local DECRLOOC Syntax DECRLOOC; Description Command DECRLOOC Description Range Decrements the sequencing loop counter by 1.
Alphabetical Command Reference DEFC DEFC Syntax DEFC; Description Command DEFC Description Range Sets the default colors for all display features.
Alphabetical Command Reference DEFLPRINT DEFLPRINT Syntax DEFLPRINT; Description Command Description Range DEFLPRINT Sets the printer to the conditions listed in Table 1-1.
Alphabetical Command Reference DEFLTCPIO DEFLTCPIO Syntax DEFLTCPIO; Description Command DEFLTCPIO Description Range Sets up the copy default state as listed in Table 1-2.
Alphabetical Command Reference DEFS DEFS Syntax DEFS; Description Command DEFS Description Range Begins standard definition during cal kit modification. “” is the standard number.
Alphabetical Command Reference DEL DEL Syntax DEL; or DEL?; DELR; or DELR?; Description Command Description Range Query Response DELO Turns delta marker mode off. N/A <0|1> DELR Makes the indicated marker the delta reference. integers 1–5 <0|1> DELRFIXM Makes the fixed marker the delta reference.
Alphabetical Command Reference DELA DELA Syntax DELA; or DELA?; Description Command DELA Description Range Displays the data formatted as group delay.
Alphabetical Command Reference DEMO DEMO Syntax DEMO; or DEMO?; Description Command Description Range Query Response DEMOAMPL Turns on transform demodulation and sets the transform demodulation to amplitude demodulation. Only has a meaningful effect with a CW time transform. N/A <0|1> DEMOOFF Turns the transform demodulation function off. N/A <0|1> DEMOPHAS Sets the transform demodulation to phase demodulation.
Alphabetical Command Reference DFLT DFLT Syntax DFLT; Description Command DFLT Description Range Sets the plotter to the default conditions listed in Table 1-3.
Alphabetical Command Reference DIRS DIRS Syntax DIRS; or DIRS?; Description Command DIRS Description Range Sets the number of files in the directory at disk initialization. LIF only.
Alphabetical Command Reference DISC DISC Syntax DISC; or DISC?; Description Command Description Range Query Response DISCUNIT Specifies which disk in an external multiple-disk drive to be used for save/recall. integers 0–30 DISCVOLU Specifies which volume of an external multiple-volume disk drive to be used for save/recall.
Alphabetical Command Reference DISM DISM Syntax DISM; or DISM?; Description Command DISM Description Range When on, displays the response and stimulus values for all markers that are turned on; when off, only the active marker’s value is displayed.
Alphabetical Command Reference DISP DISP Syntax DISP; or DISP?; Description These commands display the indicated combinations of data and trace memory on the active channel. Command Description Range Query Response DISPDATA Data only. N/A <0|1> DISPDATM Data and memory. N/A <0|1> DISPDDM Data divided by memory (linear division, log subtraction). See also “DIVI.” N/A <0|1> DISPDMM Data minus memory (linear subtraction).
Alphabetical Command Reference DIVI DIVI Syntax DIVI; or DIVI?; Description Command DIVI Description Range Data divided by memory (linear division, log subtraction). See also “DISPDDM.” N/A Query Response <0|1> Front Panel Equivalents Command Hardkey DIVI Softkey DATA/MEM Display DONE Syntax DONE; Description Command DONE Description Range Done with a class of standards, during a calibration. Only needed when multiple standards are measured to complete the class. OPC-compatible.
Alphabetical Command Reference DONM DONM Syntax DONM; Description Command DONM Description Range Done modifying a test sequence. N/A Query Response N/A Front Panel Equivalents Command Hardkey DONM Softkey DONE SEQ MODIFY Seq DOSEQ Syntax DOSEQ; Description Command DOSEQ Description Range Begins execution of the selected sequence.
Alphabetical Command Reference DOWN DOWN Syntax DOWN; Description Command DOWN Description Range Decrements the value displayed in the active entry area (emulates pressing the down-arrow key). N/A Query Response N/A Front Panel Equivalents Command Hardkey DOWN Softkey N/A DUAC Syntax DUAC; or DUAC?; Description Command DUAC Description Range Turns dual channel display on and off.
Alphabetical Command Reference DUPLSEQ DUPLSEQ Syntax DUPLSEQSEQ; Description Command DUPLSEQ Description Range Duplicates SEQ to SEQ. integers 1–6 Query Response N/A Front Panel Equivalents Command Hardkey DUPLSEQ Seq Softkey DUPLICATE SEQUENCE ECALAB? Syntax ECALAB?; Description Command Description Range Query Response ECALAB? Queries the analyzer for the currently selected module.
Alphabetical Command Reference ECALCONT ECALCONT Syntax ECALCONT; Description Command Description Range Query Response ECALCONT Continues a paused ECal during a manual thru operation or a dual module operation. This command is used with the polling command “ECALPAUSED” on page 1-78 which returns the integer “1” when paused or the integer “0” when not paused.
Alphabetical Command Reference ECALDONE ECALDONE Syntax ECALDONE; Description Command Description Range Query Response ECALDONE This command is designed to be used in a polling loop to determine if the ECal operation is finished. The command returns information immediately. The integer “1” is returned if the ECal has completed the calibration or returns the integer “0” if the ECal is not finished.
Alphabetical Command Reference ECALFREQS ECALFREQS Syntax ECALFREQS; Description Command Description Range Response ECALFREQS Extracts an array of the factory calibration frequency values that are stored in the ECal module. Before using this command, use “ECALNFREQS” on page 1-77 to determine the number of frequency points stored in the module. Use this number to dimension the array for data from the ECALFREQS command. This is an ASCII transfer.
Alphabetical Command Reference ECALISOAVG ECALISOAVG Syntax ECALISOAVG; or ECALISOAVG?; Description Command Description Range Query Response ECALISOAVG Sets the number of averages in the ECal isolation averages function. 1-999 Front Panel Equivalents Command ECALISOAVG Hardkey Softkey ISOLATION AVERAGES Cal ECALMANTHRU Syntax ECALMANTHRU; or ECALMANTHRU?; Description Command Description Range Query Response ECALMANTHRUON Sets manual thru to “on.
Alphabetical Command Reference ECALMODID ECALMODID Syntax ECALMODID; Description Command Description Range Response ECALMODID This command returns the selected ECal module model number and serial number in string form.
Alphabetical Command Reference ECALMODINF ECALMODINF Syntax ECALMODINF; Description Command Description Range Response ECALMODINF This command returns string variables on the following information on the selected ECal module.
Alphabetical Command Reference ECALMODSELA ECALMODSELA Syntax ECALMODSELA; Description Command Description Range Query Response ECALMODSELA Sets the active module to “A”. If no module is connected to “A”, error message 222 “ECal MODULE NOT RESPONDING” will be set in the error buffer.
Alphabetical Command Reference ECALNFREQS ECALNFREQS Syntax ECALNFREQS; Description Command Description Range Response ECALNFREQS Extracts the number of the factory calibration frequency points that are stored in the ECal module. Use this command to determine the size of the array to put the frequency values returned from the command “ECALFREQS” on page 1-72.
Alphabetical Command Reference ECALPAUSED ECALPAUSED Syntax ECALPAUSED; Description Command Description Range Query Response ECALPAUSED This command is designed to be used in a polling loop to determine if the ECal operation is in the pause stage of a manual thru and a dual module calibration. Used with the command “ECALCONT” on page 1-70. Returns the integer “1” if the ECal is paused or returns the integer “0” if the ECal is not paused.
Alphabetical Command Reference ECALS11 ECALS11 Syntax ECALS11; Description Command Description Range Query Response ECALS111 Performs an ECal S11 one- port reflection calibration. N/A N/A 1. For ES analyzers, an S11 one port calibration is performed. For ET analyzers, a reflection one-port calibration is performed.
Alphabetical Command Reference EDIT EDIT Syntax EDIT; Description Command Description Range Query Response EDITDONE Done editing list frequency, limit table, cal sensor table, or power loss list. OPC-compatible. N/A N/A EDITLIML Begins editing limit table. N/A N/A EDITLIST Begins editing list frequency table.
Alphabetical Command Reference EDITRLIM EDITRLIM Syntax EDITRLIM; Description Command EDITRLIM Description Range Query Response N/A N/A Begins the editing of the ripple limit list.
Alphabetical Command Reference ELED ELED Syntax ELED[S]; or ELED?; Description Command Description Range Query Response ELED Sets the electrical delay offset. ±10 seconds Front Panel Equivalents Command Hardkey ELED Softkey ELECTRICAL DELAY Scale Ref EMIB Syntax EMIB; Description Command EMIB Description Range Sends out a beep during a sequence.
Alphabetical Command Reference ENTO ENTO Syntax ENTO; Description Command ENTO Description Range Removes displayed information from the active entry area on the screen. N/A Query Response N/A Front Panel Equivalents Command Hardkey ENTO Softkey N/A Entry Off ERCDONE Syntax ERCDONE; Description See also “RERCDONE” on page 1-201 for reverse enhanced response calibration on ES model analyzers. Command ERCDONE Description Range Completes the forward enhanced response calibration sequence.
Alphabetical Command Reference ESB? ESB? Syntax ESB?; Description Command ESB? Description Query only. Outputs event-status register B. Range N/A Query Response Front Panel Equivalents GPIB only: no front panel equivalent. ESE Syntax ESE; or ESE?; Description Command ESE Description Enables the selected event-status register bits to be summarized by bit 5 in the status byte. An event-status register bit is enabled when the corresponding bit in the operand is set.
Alphabetical Command Reference ESNB ESNB Syntax ESNB; or ESNB?; Description Command ESNB Description Range Enables the selected event-status register B bits to be summarized by bit 2 in the status byte. An event-status register bit is enabled when the corresponding bit in the operand is set. integers 0–4095 Query Response Front Panel Equivalents GPIB only: no front panel equivalent. ESR? Syntax ESR?; Description Command ESR? Description Query only.
Alphabetical Command Reference EXTD EXTD Syntax EXTD; Description Command EXTD Description Range Selects the external disk as the active storage device.
Alphabetical Command Reference EXTM EXTM Syntax EXTM; or EXTM?; Description These commands include the indicated information when an instrument state is stored to the internal floppy disk drive or an external disk. Command Description Range Query Response EXTMDATA Adds error corrected data (real and imaginary pairs) along with the other files.
Alphabetical Command Reference EXTRCHAN EXTRCHAN Syntax EXTRCHAN; or EXTRCHAN?; NOTE This command only applies to 8720E series analyzers. Description Command EXTRCHAN Description Range Sets the internal phase lock reference selection switch on or off. This allows the analyzer to receive its R channel input through the R CHANNEL IN port (EXTRCHANON) or from its own internal source (EXTRCHANOFF).
Alphabetical Command Reference EXTT EXTT Syntax EXTT; or EXTT?; EXTT; Description Command Description Range Query Response EXTT Activates or deactivates the external trigger mode. OPC-compatible. N/A <0|1> EXTTHIGH Sets the external trigger line high. N/A N/A EXTTLOW Sets the external trigger line low. N/A N/A EXTTPOIN Sets the external trigger to auto-trigger on point. OPC-compatible.
Alphabetical Command Reference FIXE FIXE Syntax FIXE; Description Command FIXE Description Range Specifies a fixed load, as opposed to a sliding load or offset load, when defining a standard during a cal kit modification.
Alphabetical Command Reference FORM FORM Syntax FORM<1|2|3|4|5>; Description These 5 commands set the data format for array transfers in and out of the instrument: Command Description Range Query Response FORM1 The analyzer’s internal binary format, 6 bytes-per-data point. The array is preceded by a four-byte header. The first two bytes represent the string “#A”, the standard block header. The second two bytes are an integer representing the number of bytes in the block to follow.
Alphabetical Command Reference FORMAT FORMAT Syntax FORMAT; Description These commands define the format to use on disk initializations: Command Description Range Query Response FORMATDOS Selects DOS as the disk format. N/A N/A FORMATLIF Selects LIF as the disk format.
Alphabetical Command Reference FREO FREO Syntax FREO; Description Command FREO Description Range Frequency blank. Turns frequency notation off. Once the frequency notation has been turned off (blanked), it cannot be turned back on until a preset or recall is initiated.
Alphabetical Command Reference FREQOFFS FREQOFFS Syntax FREQOFFS; or FREQOFFS?; NOTE This command only applies to 8753ET/ES analyzers, and to 8720E series analyzers with Option 089. Description Command FREQOFFS Description Range Activates the frequency offset instrument mode. OPC-compatible.
Alphabetical Command Reference FRER FRER Syntax FRER; or FRER?; Description Command FRER Description Range N/A Places the analyzer in GPIB free run mode. (Same as continuous sweep trigger mode.) See “CONT.” Query Response <0|1> Front Panel Equivalents Command Hardkey FRER Sweep Setup Softkey CONTINUOUS FULP Syntax FULP; or FULP?; Description Command FULP Description Range Selects full page plotting, as opposed to plotting in one of the four quadrants.
Alphabetical Command Reference FWD FWD Syntax FWD; Description These commands are OPC-compatible if there is only one standard in the class. If there is just one standard, that standard is measured automatically. If there is more than one standard in the class, the standard being used must be selected with the STAN command. Command Description Range Query Response FWDI Selects the forward isolation calibration class during a 2-port calibration sequence.
Alphabetical Command Reference GATE GATE Syntax GATEO; or GATEO?; GATE[HZ|DB]; or GATE?; Description Command Description Range Query Response GATEO 1 Turns the time domain gate on or off. N/A <0|1> GATECENT Sets the center time for the time domain gate. stimulus range2 GATESPAN Sets the time span for the time domain gate. stimulus range2 GATESTAR Sets the start time for the time domain gate.
Alphabetical Command Reference GATS GATS Syntax GATS; or GATS?; Description These commands set the time domain gate shape: Command Description Range Query Response GATSMAXI Maximum N/A <0|1> GATSMINI Minimum N/A <0|1> GATSNORM Normal N/A <0|1> GATSWIDE Wide N/A <0|1> Front Panel Equivalents Command Hardkey Softkey GATSMAXI System GATE SHAPE MAXIMUM GATSMINI System GATE SHAPE MINIMUM GATSNORM System GATE SHAPE NORMAL
Alphabetical Command Reference GOSUB GOSUB Syntax GOSUB; Description Command GOSUB Description Range Invokes a sequence as a subroutine.
Alphabetical Command Reference HARM HARM Syntax HARM; or HARM?; NOTE This command only applies to 8753ES/ET analyzers with Option 002. Description These commands activate the harmonic measurement mode, Option 002. They are all OPC-compatible: Command Description Range Query Response HARMOFF Turns off harmonic mode. N/A <0|1> HARMSEC Measures the second harmonic. N/A <0|1> HARMTHIR Measures the third harmonic.
Alphabetical Command Reference HOLD HOLD Syntax HOLD; or HOLD?; Description Command HOLD Description Range Puts the sweep trigger into hold mode. N/A Query Response <0|1> Front Panel Equivalents Command Hardkey HOLD Sweep Setup Softkey HOLD IDN? Syntax IDN?; Description Command IDN? Description Query only. Outputs the identification string: HEWLETT PACKARD,87NNEX,xxxxxxxxxx,X.XX where 87NNEX is the model number of the instrument, xxxxxxxxxx is the serial number of the instrument, and X.
Alphabetical Command Reference IF IF Syntax IF; Description These 6 commands branch an executing sequence to a new sequence if the following condition is satisfied. Command Description Range Query Response IFBIHIGH Tests the specified input GPIO bit (see “PARAIN”). If high, invokes the sequence which follows. N/A N/A IFBILOW Tests the specified input GPIO bit (see “PARAIN”). If low, invokes the sequence which follows.
Alphabetical Command Reference IFBW Front Panel Equivalents Command Hardkey Softkey IFBIHIGH Seq IF BIT H IFBILOW Seq IF BIT L IFLCEQZE Seq IF LOOP COUNTER=0 IFLCNEZE Seq IF LOOP COUNTER<>0 IFLTFAIL Seq IF LIMIT TEST FAIL IFLTPASS Seq IF LIMIT TEST PASS IFBW Syntax IFBW[HZ]; or IFBW?; Description Command IFBW Description Range Sets the IF bandwidth.
Alphabetical Command Reference IMAG IMAG Syntax IMAG; or IMAG?; Description Command IMAG Description Range Selects the imaginary display format. N/A Query Response <0|1> Front Panel Equivalents Command Hardkey IMAG Softkey IMAGINARY Format INCRLOOC Syntax INCRLOOC; Description Command INCRLOOC Description Range Increments the sequencing loop counter by 1.
Alphabetical Command Reference INI INI Syntax INI; Description Command Description Range Query Response INID Initializes the internal disk. All previous information on the disk will be destroyed. N/A N/A INIE Initializes the external disk. All previous information on the disk will be destroyed. Requires pass control when using the GPIB port.
Alphabetical Command Reference INPU INPU Syntax INPUCALC; INPU; INPULEAS; or INPULEAS?; INPUPMCAL<1|2>; INPURAW<1|2|3|4>; Description All of these commands (with a few noted exceptions) input an array and require that you set the format for data transfers with the FORM command. All of these commands have an associated OUTPut command that is used to transfer data from the analyzer. See “OUTP,” later in this chapter.
Alphabetical Command Reference INPU Command Description Range Query Response INPURAW3 Inputs raw data array 3 (S12 data). After the data is received, the analyzer stops sweeping, error-corrects the data, then formats and displays the data. N/A N/A INPURAW4 Inputs raw data array 4 (S22 data). After the data is received, the analyzer stops sweeping, error-corrects the data, then formats and displays the data. N/A N/A 1. These commands input an individual error coefficient array.
Alphabetical Command Reference INPU Table 1-4 Error Coefficient Arrays Array Response Response and Isolation Enhanced Response 2-port 1 TRL/LRM EX (ED)2 ED ED EDF EDF ET (ER) ES ES ESF ESF ER ER ERF ERF 04 EX E XF EXF 05 EL3 ELF ELF 06 ET ETF ETF 07 EDR EDR 08 ESR ESR 09 ERR ERR 10 EXR EXR 11 ELR ELR 12 ETR ETR 01 ER or ET 1-port 02 03 1. One path, 2-port cal duplicates arrays 1 to 6 in arrays 7 to 12. 2.
Alphabetical Command Reference INSM INSM Syntax INSM; or INSM?; Description These commands select the instrument mode. Command Description Range Query Response INSMEXSA 1 External source, auto. OPC-compatible. N/A <0|1> INSMEXSM1 External source, manual. OPC-compatible. N/A <0|1> INSMNETA Standard network analyzer. OPC-compatible. N/A <0|1> INSMTUNR Tuned receiver. OPC-compatible. N/A <0|1> 1.
Alphabetical Command Reference INT INT Syntax INT; Description These commands select the active storage device. Command Description Range Query Response INTD Selects the internal disk as the active storage device. N/A N/A INTM Selects the internal memory as the active storage device.
Alphabetical Command Reference INTE INTE Syntax INTE; or INTE?; Description Command INTE Description Range Sets the display intensity, 50 to 100 percent.
Alphabetical Command Reference ISO ISO Syntax ISO; Description Command Description Range Query Response ISOD Done with isolation subsequence in a 2-port or enhance response calibration. OPC-compatible. N/A N/A ISOL Begins the isolation subsequence step in a 2-port calibration. N/A N/A ISOOP Selects isolation for one path, two port calibration.
Alphabetical Command Reference KEY KEY Syntax KEY; or KEY?; Description Command KEY Description Emulates pressing a front panel key. It does not matter if the front-panel is in remote mode. See Figure 1-1 for key codes. Range integers 1–69 Query Response Figure 1-1 Key Codes Front Panel Equivalents GPIB only: no front panel equivalent.
Alphabetical Command Reference KITD KITD Syntax KITD; Description Command KITD Description Range Calibration kit done. This is the last step in modifying a cal kit. N/A Query Response N/A Front Panel Equivalents Command Hardkey KITD Softkey KIT DONE (MODIFIED) Cal KOR? Syntax KOR?; Description Command KOR? Description Queries and outputs the last key code1 or front panel knob count: • If the reply is positive, it is a key code.
Alphabetical Command Reference LAB LAB Syntax LAB<$>; Description These commands enter a string <$> as either a cal kit label, or a cal standard label. Command Description Range for<$> Query Response LABK Enters a cal kit label during a cal kit modification. ≤ 10 characters N/A LABS Enters a cal standard’s label during standard definition.
Alphabetical Command Reference LABE LABE Syntax LABE<$>; LABE<$>; LABE<$>; Description These commands enter a string (<$>) as the label for a standard class during a cal kit modification. The string length must not exceed 10 characters.
Alphabetical Command Reference LABE Command Description Range for<$> LABETTFT TRL, Thru, Forward, Trans ≤ 10 characters N/A LABETTRM TRL, Thru, Reverse, Match ≤ 10 characters N/A LABETTRT TRL, Thru, Reverse, Trans ≤ 10 characters N/A Chapter 1 Query Response 1-117
Alphabetical Command Reference LABE Front Panel Equivalents Command Hardkey Softkey LABEFWDM Cal FWD MATCH LABEFWDT Cal FWD TRANS LABERESI Cal RESPONSE & ISOL’N LABERESP Cal RESPONSE LABEREVM Cal REV MATCH LABEREVT Cal REV TRANS LABES11A Cal S11A LABES11B Cal S11B LABES11C Cal S11C LABES22A Cal S22A LABES22B Cal S22B LABES22C Cal S22C LABETRLL Cal S11C LABETRLT Cal FWD TRANS LABETRLR Cal S11A LABETLFM Cal S11B LABETLFT Cal FWD TRANS LABETLRM Cal S22B
Alphabetical Command Reference LEF LEF Syntax LEF; or LEF?; Description Command Description Range Query Response LEFL Selects a plot in the left lower quadrant. N/A <0|1> LEFU Selects a plot in the left upper quadrant.
Alphabetical Command Reference LIM LIM Syntax LIM[DB|HZ]; Description These commands edit a limit test segment. The limit table editing is begun with EDITLIML;, and a segment is brought up for editing with SEDI; or added using SADD;. The segment is closed with SDON;, the table is closed with EDITDONE;. Command Description Range Query Response LIMD Sets the limit delta value while editing a limit line segment. amplitude range1 see “Note” below LIML Sets the lower limit value.
Alphabetical Command Reference LIM Front Panel Equivalents Command Hardkey Softkey LIMD System DELTA LIMITS LIML System LOWER LIMIT LIMM System MIDDLE VALUE LIMS System STIMULUS VALUE LIMU System UPPER LIMIT Chapter 1 1-121
Alphabetical Command Reference LIMI LIMI Syntax LIMI[HZ|DB]; or LIMI?; LIMI; or LIMI?; LIMIMAOF; Description These commands are used to define and display limit testing. Command Description Range Query Response LIMIAMPO Enters the limit line amplitude offset. amplitude range1 LIMILINE Turns the display of the limit lines on and off. N/A <0|1> LIMIMAOF Marker to limit offset.
Alphabetical Command Reference LIMT LIMT Syntax LIMT; or LIMT?; Description These commands edit a limit test segment. The limit table editing is begun with EDITLIML;, and a segment is brought up for editing with SEDI N; or added using SADD;. The segment is closed with SDON;, the table is closed with EDITDONE;. Command Description Range Query Response LIMTFL Makes the segment a flat line. N/A <0|1> LIMTSL Makes the segment a sloping line.
Alphabetical Command Reference LINFREQ LINFREQ Syntax LINFREQ; or LINFREQ?; Description Command LINFREQ Description Range Selects a linear frequency sweep. N/A Query Response <0|1> Front Panel Equivalents Command Hardkey LINFREQ Sweep Setup Softkey LIN FREQ LINM Syntax LINM; or LINM?; Description Command LINM Description Range Selects the linear magnitude display format.
Alphabetical Command Reference LINT LINT Syntax LINT; Description Command Description Range Query Response LINTDATA Enters the line type for plotting data. integers 0–10 N/A LINTMEMO Enters the line type for plotting memory.
Alphabetical Command Reference LIS LIS Syntax LISFREQ; or LISFREQ?; LIS; or LIS?; Description List frequency functions. Command Description Range Query Response LISFREQ Selects the list frequency sweep mode. N/A <0|1> LISIFBWM Enables/disables the IFBW setting for a list-frequency table in swept list mode. N/A <0|1> LISPWRM Enables/disables the power setting for a list-frequency table in swept list mode.
Alphabetical Command Reference LISTTYPE LISTTYPE Syntax LISTTYPE; or LISTTYPE?; Description Range Query Response1 Command Description LISTTYPELSTP Selects the stepped list mode for use with a list-frequency table. N/A <0|1> LISTTYPELSWP Selects the swept list mode for use with a list-frequency table. N/A <0|1> 1.
Alphabetical Command Reference LISV LISV Syntax LISV; Description Command LISV Description Range Activates the list values function. Requesting a plot (or print) copies only the current page. See also “NEXP,” “PREP,” “PLOT,” “PRINALL,” and “PRINTALL.
Alphabetical Command Reference LO LO Syntax LOCONT; or LOCONT?; LO[HZ|DB]; or LO?; LO; Description These commands setup and control the LO. Command Description Range Query Response LOCONT 1 Turns external LO control on/off. N/A <0|1> LOFREQ2 Sets the LO frequency value in the analyzer. frequency range of instrument LOFSTAR1 Sets the LO start frequency.
Alphabetical Command Reference LO Front Panel Equivalents Command Hardkey Softkey LOCONT System LO CONTROL ON OFF LOFREQ System LO FREQUENCY 1 FREQUENCY: CW 2 LOFSTAR System FREQUENCY: START LOFSTOP System FREQUENCY: STOP LOFSWE System FREQUENCY: SWEEP LOPOWER System POWER: FIXED LOPSTAR System POWER: START LOPSTOP System POWER: STOP LOPSWE System POWER: SWEEP 1. 8753ET/ES 2.
Alphabetical Command Reference LOA LOA Syntax LOA; Description Command Description Range Query Response LOAN Measures the load as not being offset when a standard has been defined as an offset load (see “OFLS”). N/A N/A LOAO Measures the load as being offset when a standard has been defined as an offset load (see “OFLS”).
Alphabetical Command Reference LOAD LOAD Syntax LOAD; Description Command LOAD Description Range Loads the file from disk using the file name provided by the preceding TITF; command. The actual file loaded depends on the file title in the file position specified by the TITF command. Requires pass control mode when using the GPIB port.
Alphabetical Command Reference LOADSEQ LOADSEQ Syntax LOADSEQ; Description Command LOADSEQ Description Range integers 1 to 6 Loads the file from disk with the name indicated by the previous TITSEQ command. The actual file loaded depends on the file title in the file position specified in the TITSEQ command. Requires pass control mode when using the GPIB port.
Alphabetical Command Reference LOGM LOGM Syntax LOGM; or LOGM?; Description Command LOGM Description Range Selects the log magnitude display format. N/A Query Response <0|1> Front Panel Equivalents Command Hardkey LOGM Softkey LOG MAG Format LOOC Syntax LOOC; Description Command LOOC Description Range Sets the value of the sequencing loop counter.
Alphabetical Command Reference LOWP LOWP Syntax LOWP; or LOWP?; Description Command Description Range Query Response LOWPIMPU Turns on the low pass impulse transform. N/A <0|1> LOWPSTEP Turns on the low pass step transform.
Alphabetical Command Reference MANTRIG MANTRIG Syntax MANTRIG; or MANTRIG?; Description Command MANTRIG Description Range Sets the trigger mode to manual trigger on point. OPC-compatible.
Alphabetical Command Reference MARK MARK Syntax MARK<1|2|3|4|5>; or MARK<1|2|3|4|5>?; MARK; or MARK?; MARK; or MARK?; MARK; Description Command Description Range Query Response MARK1 Makes marker 1 active and sets its stimulus value. stimulus range1 MARK2 Makes marker 2 active and sets its stimulus value.
Alphabetical Command Reference MARK Command Description Range Query Response MARKFAUV Sets the auxiliary value of the fixed marker position. Works in coordination with MARKFVAL and MARKFSTI. amplitude range3 MARKFSTI Sets the stimulus position of the fixed marker. stimulus range1 MARKFVAL Sets the value of the fixed marker position. amplitude range3 MARKMAXI Same as SEAMAX (search for maximum on current channel’s trace).
Alphabetical Command Reference MARK Front Panel Equivalents Command MARKn MARKBUCK Hardkey Marker Softkey MARKER n GPIB only: no front panel equivalent.
Alphabetical Command Reference MAXF MAXF Syntax MAXF[GHZ]; Description Command MAXF Description Range Sets the maximum valid frequency of a standard being defined during a cal kit modification.
Alphabetical Command Reference MEAS MEAS Syntax MEAS; or MEAS?; Description Command Description Range Query Response MEASA Measures and displays input A on the active channel. N/A <0|1> MEASB Measures and displays input B on the active channel. N/A <0|1> MEASR Measures and displays input R on the active channel.
Alphabetical Command Reference MEASTAT MEASTAT Syntax MEASTAT; or MEASTAT?; Description Command MEASTAT Description Range Turns trace statistics on and off.
Alphabetical Command Reference MENU MENU Syntax MENU; Description Command Description Range Query Response MENUON Turns the softkey menu on. N/A N/A MENUOFF Blanks the softkey menu. Use with caution, as this may give unusual results when setting up an instrument state. Recommend setting up states using MENUON (default) and, when setup is complete, using MENUOFF.
Alphabetical Command Reference MINF Command MENUSAVE Description Range Brings up the menu associated with the Query Response N/A N/A N/A N/A Save/Recall front panel key MENUSCAL Brings up the menu associated with the Scale Ref front panel key. MENUSEQU Brings up the menu associated with the Seq front panel key. N/A N/A MENUSTIM Brings up the menu associated with the N/A N/A N/A N/A N/A N/A Sweep Setup front panel key.
Alphabetical Command Reference MINMAX MINMAX Syntax MINMAX; or MINMAX?; Description Command MINMAX Description Range N/A Enables/disables min/max recording per segment. Min and max values are recorded per limit segment. Limit testing need not be active. Query Response <0|1> For more information refer to “Limit Line and Data Point Special Functions” on page 7-126. Front Panel Equivalents GPIB only: no front panel equivalent.
Alphabetical Command Reference MODI1 MODI1 Syntax MODI1; Description Command MODI1 Description Range Begins the modify cal kit sequence. Query Response N/A N/A Front Panel Equivalents Command Hardkey MODI1 Softkey MODIFY [ ] Cal MODS Syntax MODS; NOTE This command only applies to ES model analyzers. Description Command MODS Description Range Computes new cal set using adapter removal.
Alphabetical Command Reference NEWSEQ NEWSEQ Syntax NEWSEQ; Description Command NEWSEQ Description Range Begins a new sequence, or modifies an existing sequence. integers 1–6 Query Response N/A Front Panel Equivalents Command Hardkey NEWSEQ Softkey NEW SEQ / MODIFY SEQ Seq NEXP Syntax NEXP; Description Command NEXP Description Range N/A Displays the next page of the operating parameters list. (Use OPEP to display the operating parameters list.
Alphabetical Command Reference NOOP NOOP Syntax NOOP; Description Command NOOP Description Range Creates a cycle that has no operation. OPC-compatible. N/A Query Response N/A Front Panel Equivalents GPIB only: no front panel equivalent. NUMG Syntax NUMG; Description Command NUMG Description Range Activates the indicated number of groups of sweeps. A group is whatever is needed to update the current parameter once. This function restarts averaging if it is enabled. OPC-compatible.
Alphabetical Command Reference NUMR NUMR Syntax NUMR; or NUMR?; Description Command NUMR Description Range Sets the number of power meter readings per point used during a power meter calibration.
Alphabetical Command Reference OFL OFL Syntax OFL; Description Command Description Range Query Response OFLD Offset loads done. N/A N/A OFLS Selects the calibration standard load as being an offset load (as opposed to a sliding or fixed load) during a cal kit modification.
Alphabetical Command Reference OFS OFS Syntax OFS; Description These commands specify the offset value for the indicated parameter for a standard being defined during a cal kit modification. Command Description Range Query Response OFSD Delay offset. ±1 second N/A OFSL Loss offset. 0–1000 TΩ/s N/A OFSZ Impedance offset. 0.
Alphabetical Command Reference OMII OMII Syntax OMII; Description Command OMII Description Range Omits the isolation step of a calibration sequence. N/A Query Response N/A Front Panel Equivalents Command Hardkey OMII Softkey OMIT ISOLATION Cal OPC Syntax OPC; or OPC?; Description Command OPC Description Operation complete. Reports the completion of the next command received by setting bit 0 in the event-status register, or by replying to an interrogation if OPC? is issued.
Alphabetical Command Reference OPEP OPEP Syntax OPEP; Description Command OPEP Description Range Presents a list of key operating parameters. Requesting a plot (or print) copies only the current page. See also “NEXP,” “PREP,” “PLOT,” “PRINALL,” and “PRINTALL.
Alphabetical Command Reference OUTP OUTP NOTE Because this chapter is an “Alphabetical Command Reference,” the output commands have been listed alphabetically, rather than by function, in both the “Syntax” section and the “Description” section. Therefore, commands grouped together in the “Syntax” section are grouped alphabetically and/or due to common syntax form, not necessarily due to common functionality.
Alphabetical Command Reference OUTP Command Description Range Response OUTPACTI Outputs the value of the active function, or the last active function if the active entry area is off. The value is returned in ASCII format. N/A <$> OUTPAMAX1 Outputs the max values for all limit line segments. This is an ASCII transfer (FORM4). N/A OUTPAMIN1 Outputs the min values for all limit line segments. This is an ASCII transfer (FORM4).
Alphabetical Command Reference OUTP Command OUTPFAIP Description Range This command is similar to OUTPLIMF except that it reports the number of failures first, followed by the stimulus and trace values for each failed point in the Response N/A N/A test. ASCII format.1 OUTPFORF Fast data transfer command for OUTPFORM.
Alphabetical Command Reference OUTP Command OUTPLIML Description Outputs the limit test results for each point in the sweep. This is an ASCII Range Response N/A N/A transfer.1,4,5 OUTPLIMM Outputs the limit test results at the active marker.1,4,5 OUTPMARK Outputs the active marker values. The first two numbers are the marker response values, and the last is the stimulus value.
Alphabetical Command Reference OUTP Command OUTPPRE Description Outputs pre-raw data array . Pre-raw data is raw data but without sampler correction or attenuator offsets applied. These offsets are not necessary for data that will be fully error corrected. Use in conjunction with Take4 mode only.6 Range Response integers 1–4: 1=S11 data 2=S21 data 3=S12 data 4=S22 data OUTPPRIN Outputs a PCL raster dump of the display, intended for a graphics printer.
Alphabetical Command Reference OUTP Command OUTPSEGAM Description Range Outputs the limit test min/max for all segments. Outputs the segment number, max stimulus, max value, min stimulus, min value for all active segments. This is Response N/A N/A <0|1|−1> N/A an ASCII transfer.1,4 OUTPSEGF Outputs the limit test status for a specified segment. See also “SELSEG.” OUTPSEGM 1,4 Outputs limit test min/max for a specified segment. See also “SELSEG.
Alphabetical Command Reference OUTP Front Panel Equivalents GPIB only: no front panel equivalent. OUTP Reference Tables Table 1-5 Error Coefficient Arrays Array Response 1-port Enhanced Response 2-port 1 TRL/LRM EX (ED)2 ED ED EDF EDF ET (ER) ES ES ESF ESF ER ER ERF ERF 04 EX EXF EXF 05 EL3 ELF ELF 06 ET ETF ETF 07 EDR EDR 08 ESR ESR 09 ERR ERR 10 EXR E XR 11 ELR ELR 12 ETR ETR 01 ER or ET Response and Isolation 02 03 1.
Alphabetical Command Reference OUTP Table 1-6 Units as a Function of Display Format Display Format Marker Mode OUTPMARK value 1 OUTPFORM value 2 value 1 MARKER READOUT* value 2 value aux value LOG MAG dB † dB † dB † PHASE degrees † degrees † degrees † DELAY seconds † seconds † seconds † SMITH CHART POLAR LIN MKR lin mag degrees real imag lin mag degrees LOG MKR dB degrees real imag dB degrees Re/Im real imag real imag real imag R + jX real ohms imag o
Alphabetical Command Reference P P Syntax P; or P?; Description When plotting data you can choose whether or not the following parts are plotted or not. Command Description Range Query Response PDATA Selects whether trace data is plotted. N/A <0|1> PGRAT Selects whether the graticule is plotted. N/A <0|1> PMEM Selects whether the memory trace is plotted. N/A <0|1> PMKR Selects whether markers are plotted.
Alphabetical Command Reference PARA PARA Syntax PARA; or PARA?; Description Command Description Range Query Response PARAIN Specifies the input GPIO bit to be used by IFBIHIGH and IFBILOW tests. integers 0–4 PARAOUT Programs all GPIO output bits at once.
Alphabetical Command Reference PARAL PARAL Syntax PARAL; or PARAL?; Description Range Query Response1 Command Description PARALGPIO Selects use of the parallel port for general purpose I/O (GPIO). N/A <0|1> PARALCPY Selects use of the parallel port for the copy function. N/A <0|1> 1.
Alphabetical Command Reference PAUS PAUS Syntax PAUS; Description Command PAUS Description Range Inserts a pause into a sequence. N/A Query Response N/A Front Panel Equivalents Command Hardkey PAUS Softkey PAUSE Seq PCB Syntax PCB; or PCB?; Description Command PCB Description Range Controller GPIB address. The address where control is returned after a pass control. (Same as ADDRCONT.
Alphabetical Command Reference PCOL PCOL Syntax PCOL; PCOL; Description These commands select the color for printing the indicated display feature where is one of the following: . Command Description Range Query Response PCOLDATA Channel data. integers 1–4 N/A PCOLMEMO Channel memory. integers 1–4 N/A PCOLGRAT Graticule. N/A N/A PCOLREFL Reference line.
Alphabetical Command Reference PENN PENN Syntax PENN; Description These commands select the pen number, , for plotting the indicated display feature for the active channel. Command Description Range Query Response PENNDATA Data trace. integers 0–10 N/A PENNGRAT Graticule. integers 0–10 N/A PENNMARK Markers and marker text. integers 0–10 N/A PENNMEMO Memory trace. integers 0–10 N/A PENNTEXT Text and user graphics.
Alphabetical Command Reference PHAO PHAO Syntax PHAO; or PHAO?; Description Command PHAO Description Range Sets the phase offset. 0–360 degrees Query Response Front Panel Equivalents Command Hardkey PHAO Softkey PHASE OFFSET Scale Ref PHAS Syntax PHAS; or PHAS?; Description Command PHAS Description Range Selects the phase display format.
Alphabetical Command Reference PLOS PLOS Syntax PLOS; Description Command Description Range Query Response PLOSSLOW Selects the slow pen-speed for plotting. (Slow is useful for transparency plotting.) N/A N/A PLOSFAST Selects the fast pen-speed for plotting. N/A N/A Front Panel Equivalents Command Hardkey Softkey PLOSSLOW Copy PLOT SPEED SLOW PLOSFAST Copy PLOT SPEED FAST PLOT Syntax PLOT; Description Command PLOT Description Range Initiates a plot.
Alphabetical Command Reference PLT PLT Syntax PLTHNDSHK; or PLTHNNDSHK?; PLTPRT; or PLTPRT?; PLTTRAUTF; or PLTTRAUTF?; PLTTRBAUD; or PLTTRBAUD?; PLTTRFORF; PLTTYP; Description Command Description Range Query Response PLTHNDSHK Selects the plotter handshake mode as either Xon-Xoff or DTR-DSR. N/A <0|1>1 PLTPRTDISK Sets the plotter port to disk (either internal disk or external disk).
Alphabetical Command Reference PMTRTTIT Front Panel Equivalents Command Hardkey Softkey PLTHNDSHK Local XMIT CNTRL PLTPRTDISK Local PLTR PORT DISK PLTPRTHPIB Local PLTR PORT GPIB PLTPRTPARA Local PLTR PORT PARALLEL PLTPRTSERI Local PLTR PORT SERIAL PLTTRAUTF Copy AUTO-FEED ON OFF PLTTRBAUD Local PLOTTER BAUD RATE PLTTRFORF Copy PLOTTER FORM FEED PLTTYPHPGL Local PLTR TYPE HPGL PRT PLTTYPPLTR Local PLTR TYPE PLOTTER PMTRTTIT Syntax PMTRTTIT; Description Command PMTRTTIT De
Alphabetical Command Reference POIN POIN Syntax POIN; or POIN?; Description Command POIN NOTE Description Range Sets the number of points in the sweep, or in a sweep segment. Choose from: 3, 11, 21, 26, 51, 101, 201, 401, 801, 1601 Query Response This command should be followed by a wait equal to 2 sweeps.
Alphabetical Command Reference POL POL Syntax POL; or POL?; Description Command Description Range Query Response POLA Selects the polar display format. N/A <0|1> POLMLIN Selects linear as the marker readout format for polar display. N/A <0|1> POLMLOG Selects log as the marker readout format for polar display. N/A <0|1> POLMRI Selects real/imaginary as the marker readout format for polar display.
Alphabetical Command Reference PORE PORE Syntax PORE; or PORE?; Description Command PORE Description Range Turns port extensions on and off.
Alphabetical Command Reference PORT PORT Syntax PORT<1|2|A|B|R|T>[S]; or PORT<1|2|A|B|R|T>?; Description These commands set the port extension length for the indicated port or input. Ports 1 and 2 refer to the test set ports.
Alphabetical Command Reference PORTP PORTP Syntax PORTP; or PORTP?; Description Command PORTP Description Range Selects either coupled or uncoupled for the port powers of a given channel. N/A Query Response1 <0|1> 1.
Alphabetical Command Reference POWE POWE Syntax POWE[DB]; or POWE?; Description Command POWE Description Range Sets the output power level. output power range of your Query Response analyzer1 1. The output power range of your analyzer depends upon the model and installed options. Refer to your analyzer’s reference guide to determine the power range of your analyzer.
Alphabetical Command Reference POWL POWL Syntax POWL; or POWL?; POWLLIST; Description Command Description Range Query Response POWLFREQ Selects the frequency for which a power loss correction is entered. This must be followed by a POWLLOSS; command, which sets the value. stimulus range1 POWLLIST Begins editing a power loss list for a power meter calibration.
Alphabetical Command Reference POWM POWM Syntax POWM; or POWM?; Description Command POWM Description Range Designates whether the 436A (ON) or the 437B/438A (OFF) is to be used as the power meter. N/A Query Response <0|1>1 1. A one is returned for 436A, and a zero is returned for 437B/438A.
Alphabetical Command Reference POWR POWR Syntax POWR; NOTE No spaces are permitted between “POWR” and the numeric entry. Description Command POWR Description Range Sets the source power range. See also “PRAN.” integers1 00–11 Query Response N/A 1. Use two-digit integers 00 through 07 for 8753ET/ES analyzers. Use two-digit integers 00 through 11 for 8720E series analyzers.
Alphabetical Command Reference POWS POWS Syntax POWS; or POWS?; Description Command POWS Description Range Selects power sweep, from the sweep type menu. N/A Query Response <0|1> Front Panel Equivalents Command Hardkey POWS Sweep Setup Softkey POWER SWEEP POWT Syntax POWT; or POWT?; Description Command POWT Description Range Sets source power on or off. Works the opposite of the SOUP command. Sending POWTON turns source power off. Sending POWTOFF turns source power on.
Alphabetical Command Reference PRAN PRAN Syntax PRAN; Description Command PRAN Description Range Sets the source power range. See also “POWR.” integers1 0–7 Query Response N/A 2 integers 01–12 1. Use single-digit integers 0 through 7 for 8753ET/ES analyzers. PRAN0 through PRAN7 are used for ranges 0 through 7. 2. Use two-digit integers 01 through 12 for 8720E series analyzers. PRAN01 through PRAN12 are used for ranges 0 through 11.
Alphabetical Command Reference PRES PRES Syntax PRES; Description Command PRES Description Range Presets the analyzer to the factory preset state. OPC-compatible. See also Appendix A , “Preset Conditions.” N/A Query Response N/A Front Panel Equivalents Command PRES Hardkey Preset Softkey N/A NOTE Pressing the Preset key on the analyzer will either invoke the factory preset state, or a user-selected state (if one has been set up).
Alphabetical Command Reference PRI PRI Syntax PRI; or PRI?; Description Command Description Range Query Response PRIC Selects color print (as opposed to monochrome). N/A <0|1> PRIS Selects standard (monochrome) print.
Alphabetical Command Reference PRIN PRIN Syntax PRINALL; PRINSEQ; Description Command Description Range Query Response PRINALL Copies the display, in raster graphics mode, to a printer. Requires pass control when using the GPIB port. (Use PRINTALL to send ASCII data to the printer.) N/A N/A PRINSEQ Begins printing the sequence selected.
Alphabetical Command Reference PRINTALL PRINTALL Syntax PRINTALL; Description Command PRINTALL Description Range N/A Prints all list values or operating and marker parameters in ASCII text mode. Requires pass control mode when using the GPIB port.
Alphabetical Command Reference PRN PRN Syntax PRNHNDSHK; or PRNHNNDSHK?; PRNPRT; or PRNPRT?; PRNTRAUTF; or PRNTRAUTF?; PRNTRBAUD; or PRNTRBAUD?; PRNTRFORF; PRNTYP<540|DJ|EP|LJ|PJ|TJ>; Description Command Description Range Query Response PRNHNDSHK Selects the printer handshake mode as either Xon-Xoff or DTR-DSR. N/A <0|1>1 PRNPRTHPIB Sets the printer port to GPIB. N/A <0|1> PRNPRTPARA Sets the printer port to parallel.
Alphabetical Command Reference PRN Front Panel Equivalents Command Hardkey Softkey PRNHNDSHK Local XMIT CNTRL PRNPRTHPIB Local PRNTR PORT GPIB PRNPRTPARA Local PRNTR PORT PARALLEL PRNPRTSERI Local PRNTR PORT SERIAL PRNTRAUTF Copy AUTO-FEED ON OFF PRNTRBAUD Local PRINTER BAUD RATE PRNTRFORF Copy PRINTER FORM FEED PRNTYP540 Local PRNTR TYPE DJ 540 PRNTYPDJ Local PRNTR TYPE DESKJET PRNTYPEP Local PRNTR TYPE EPSON-P2 PRNTYPLJ Local PRNTR TYPE LASERJET PRNTYPPJ Local PRNTR
Alphabetical Command Reference PTOS PTOS Syntax PTOS; Description Command PTOS Description Range Pauses the sequence; to be followed by selection one of the 6 sequences (SEQ). N/A Query Response N/A Front Panel Equivalents Command Hardkey PTOS Softkey PAUSE TO SELECT Seq PURG Syntax PURG; Description Command PURG Description Range Purges the file from disk using the file name provided by the preceding TITF; command.
Alphabetical Command Reference PWMC PWMC Syntax PWMC; or PWMC?; Description These commands select the type of power meter calibration desired, and set the drive port cal power. Command Description Range Query Response PWMCEACS Power meter calibration done with each sweep. −100 to 100 dB <0|1> PWMCOFF Turns off power meter calibration. −100 to 100 dB <0|1> PWMCONES Power meter cal done on one sweep.
Alphabetical Command Reference PWRLOSS PWRLOSS Syntax PWRLOSS; or PWRLOSS?; Description Command PWRLOSS Description Range Selects whether or not to use the power loss table for a power meter calibration. N/A Query Response <0|1> Front Panel Equivalents Command Hardkey PWRLOSS Softkey PWR LOSS ON OFF Cal PWRMCAL Syntax PWRMCAL[DB]; or PWRMCAL?; Description Command PWRMCAL Description Range Displays the power meter cal menu and sets the drive port cal power.
Alphabetical Command Reference PWRR PWRR Syntax PWRR; or PWRR?; Description Command PWRR Description Range Selects whether the power range is in auto or manual mode. N/A Query Response <0|1>1 1. 0 = manual mode 1 = auto mode Front Panel Equivalents Command Hardkey PWRR Softkey PWR RANGE AUTO MAN Power Q Syntax Q; or Q?; Description Command Q Description Range Selects a sequence. See also “SEQ.
Alphabetical Command Reference RAI RAI Syntax RAI; Description Command Description Range Query Response RAID Completes the response and isolation cal sequence. OPC-compatible. N/A N/A RAIISOL Calls the isolation class for the response and isolation calibration. N/A N/A RAIRESP Calls the response class for the response and isolation calibration.
Alphabetical Command Reference RAWOFFS RAWOFFS Syntax RAWOFFS; or RAWOFFS?; Description Command RAWOFFS Description Range Selects whether sampler and attenuator offsets are on or off. N/A Query Response <0|1> By turning raw offsets off (RAWOFFSOFF), a full two-port error correction can be performed without including the effects of the offsets. It also saves substantial time at recalls and during frequency changes (see SM8). Raw offsets follow the channel coupling.
Alphabetical Command Reference READ READ Syntax READ; Description Command Description Range Query Response READDATE Outputs the date in the following string format: DD MMM YYYY. N/A N/A READTIME Outputs the time in the following string format: HH:MM:SS. N/A N/A Front Panel Equivalents GPIB only: no front panel equivalent. REAL Syntax REAL; or REAL?; Description Command REAL Description Range Sets the display format to real.
Alphabetical Command Reference RECA RECA Syntax RECA; RECAREG; Description Command Description Range Query Response RECA Recalls the indicated internal register. OPC-compatible. integers 1–5 N/A RECAREG Recalls save/recall registers 01 through 31. RECAREG01 through RECAREG05 are the same as RECA1 through RECA5. OPC-compatible. two-digit integers 01–31 N/A NOTE These commands should use OPC? to prevent timing errors with subsequent commands.
Alphabetical Command Reference RECO RECO Syntax RECO; Description Command RECO Description Range Recalls previously saved display colors.
Alphabetical Command Reference REF REF Syntax REF; Description Command Description Range Query Response REFD Completes the reflection calibration subsequence of a 2-port calibration. OPC-compatible. N/A N/A REFL Begins the reflection calibration subsequence of a 2-port calibration. N/A N/A REFOP Begins the reflection calibration subsequence for one-path, 2-port calibration.
Alphabetical Command Reference REF REF Syntax REF
; or REF?; Description Command Description Range Query Response REFP Enters the reference position. 0 is the bottom, 10 is the top of the graticule. integers 0–10 REFV Enters the reference line value. amplitude range1 1. For log mag: ± 500 dB. For phase: ± 500 degrees. For Smith chart and Polar: ± 500 units. For linear magnitude: ± 500 units. For SWR: ± 500 units.
Alphabetical Command Reference REFT REFT Syntax REFT; Description Command REFT Description Range Recalls file titles from disk. Requires pass control if using an external disk drive on GPIB. N/A Query Response N/A Front Panel Equivalents Command Hardkey REFT Softkey READ FILE TITLES Save/Recall REIC Syntax REIC[DB]; Description Command REIC Description Range Sets the power level reference value for a receiver calibration. amplitude range1 Query Response N/A 1. For log mag: ± 500 dB.
Alphabetical Command Reference RERCDONE RERCDONE Syntax RERCDONE; NOTE This command applies to ES model analyzers only. Description Command Description Range RERCDONE Completes the reverse enhanced response calibration sequence. OPC-compatible. N/A Query Response N/A Front Panel Equivalents Command Hardkey RERCDONE Softkey DONE REV ENH RESP Cal RESC Syntax RESC; Description Command RESC Description Range Resume a previously started cal sequence.
Alphabetical Command Reference RESD RESD Syntax RESD; Description Command RESD Description Range Restores the measurement display after viewing the operating parameters or list values.
Alphabetical Command Reference RESPDONE RESPDONE Syntax RESPDONE; Description Command RESPDONE Description Range Completes the response calibration sequence. OPC-compatible. N/A Query Response N/A Front Panel Equivalents Command Hardkey RESPDONE Softkey DONE: Cal REST Syntax REST; Description Command REST Description Measurement restart.
Alphabetical Command Reference RETP RETP Syntax RETP; or RETP?; NOTE This command only applies to 8720E series analyzers. Description Command RETP Description Range Turns retrace power on and off.
Alphabetical Command Reference REV REV Syntax REV; NOTE These commands only apply to ES models. Description These commands are OPC-compatible if there is only one standard in the class. If there is just one standard, that standard is measured automatically. If there is more than one standard in the class, the class command only calls another menu. Command Description Range Query Response REVI Calls the reverse isolation calibration class during a full 2-port calibration.
Alphabetical Command Reference RF RF Syntax RF; Description These 2 commands are used in frequency offset mode measurements. Command Description Range Query Response RFGTLO Sets RF greater than LO. N/A N/A RFLTLO Sets RF less than LO.
Alphabetical Command Reference RFLP RFLP Syntax RFLP; or RFLP?; NOTE This command only applies to ET models. Description Command RFLP1 Description Range Sets the measurement mode to “Reflection.” (See also “S11.”) N/A Query Response <0|1> 1. This command can also be used on ES models to set the measurement mode to “Refl:FWD S11.
Alphabetical Command Reference RIG RIG Syntax RIG; or RIG?; Description Command Description Range Query Response RIGL Selects a plot in the lower right quadrant. N/A <0|1> RIGU Selects a plot in the upper right quadrant.
Alphabetical Command Reference RLIMM RLIMM Syntax RLIMM[DB]; or RLIMM?; Description Command RLIMM Description Range Sets the value of the maximum allowable ripple limit for current frequency band. 0.01 to 100 dB Query Response Front Panel Equivalents Command Hardkey RLIMM Softkey MAXIMUM RIPPLE System RLIMSTP Syntax RLIMSTP[HZ|KHZ|MHZ|GHZ]; or RLIMSTP?; Description Command RLIMSTP Description Range Sets the stop frequency of the current frequency band.
Alphabetical Command Reference RLIMSTR RLIMSTR Syntax RLIMSTR[HZ|KHZ|MHZ|GHZ]; or RLIMSTR?; Description Command RLIMSTR Description Range Sets the start frequency of the current ripple limit. stimulus range1 Query Response 1. Refer to “Preset State and Memory Allocation” in your analyzer’s reference guide.
Alphabetical Command Reference RLIMVAL RLIMVAL Syntax RLIMVAL; Description Command RLIMVAL Description Range Query Response Displays the ripple limit value of the selected band (see “SELBND”) in absolute format (ABS) or margin format (MAR). OFF turns the displayed ripple limit value off.
Alphabetical Command Reference RST RST Syntax RST; Description Command RST Description Range Presets the analyzer to the factory preset state. OPC-compatible. See Appendix A , “Preset Conditions.” N/A Query Response N/A Front Panel Equivalents Command RST Hardkey Preset Softkey N/A NOTE Pressing the Preset key on the analyzer will either invoke the factory preset state, or a user-selected state (if one has been set up). Sending the RST command will always invoke the factory preset state.
Alphabetical Command Reference S S Syntax S<11|12|21|22>; or S<11|12|21|22>?; Description Command Description Range Query Response S11 Forward reflection measurement1 (See also “RFLP.”) N/A <0|1> S12 Reverse transmission measurement2 N/A <0|1> S21 Forward transmission measurement3 (See also “TRAP.”) N/A <0|1> S22 Reverse reflection measurement2 N/A <0|1> 1. The S11 command can also be used on ET models to set the measurement mode to “Reflection.” 2.
Alphabetical Command Reference SADD SADD Syntax SADD; Description Command SADD Description Range Adds a new segment to the table during a list-frequency, limit-table, cal sensor table, or power loss table edit. N/A Query Response N/A Front Panel Equivalents Command Hardkey SADD System or Sweep Setup or Softkey SEGMENT ADD Cal SAMC Syntax SAMC; or SAMC?; Description Command SAMC Description Range Selects whether sampler correction is on or off.
Alphabetical Command Reference SAV SAV Syntax SAV<1|2|C|ERC|RERC|T>; Description Command Description Range Query Response SAV1 Completes the 1-port calibration sequence. OPC-compatible. N/A N/A SAV2 Completes the 2-port calibration sequence. OPC-compatible. N/A N/A SAVC Completes the transfer of error correction coefficients back into the instrument. OPC-compatible. N/A N/A SAVERC Completes the enhanced response calibration sequence. OPC-compatible.
Alphabetical Command Reference SAVE SAVE Syntax SAVE; SAVEREG; Description Command Description Range Query Response SAVE Saves to save/recall registers 1 through 5. OPC-compatible. integers 1–5 N/A SAVEREG Saves to save/recall registers 01–31. SAVEREG01 through SAVEREG05 are the same as SAVE1 through SAVE5. OPC-compatible.
Alphabetical Command Reference SAVECSV SAVECSV Syntax SAVECSV; Description Command SAVECSV Description Saves the current measurement to the disk drive in the comma-separated value (CSV) format. Range Query Response N/A N/A Front Panel Equivalents Command Hardkey SAVECSV Softkey SAVE FILE when GRAPH FMT [ ] is set to CSV and FILETYPE: GRAPHIC is selected.
Alphabetical Command Reference SAVEUSEK SAVEUSEK Syntax SAVEUSEK; Description Command SAVEUSEK Description Range Stores the active calibration kit as the user kit.
Alphabetical Command Reference SAVU SAVU Syntax SAVU; Description Command Description Range Query Response SAVUASCI Selects ASCII format for saving to disk. Conforms to CITIFile specifications. N/A N/A SAVUBINA Selects binary format for saving to disk.
Alphabetical Command Reference SCAP SCAP Syntax SCAP; Description Command Description Range Query Response SCAPFULL Selects a full plot. N/A N/A SCAPGRAT Selects a plot where the graticule is expanded to the plotter’s P1 and P2.
Alphabetical Command Reference SDEL SDEL Syntax SDEL; Description Command Description Range Query Response SDEL Deletes the current segment while editing a list frequency, a limit table, or a power loss list.
Alphabetical Command Reference SDON SDON Syntax SDON; Description Command SDON Description Range Closes a segment after editing a list frequency, a limit table, or a power loss list.
Alphabetical Command Reference SEA SEA Syntax SEA; SEA; or SEA?; SEATARG; or SEATARG?; Description These commands control the marker searches. The marker searches place the active marker according to the indicated search criteria. The search is continuously updated if tracking is ON (see “TRACK”). Command Description Range Query Response SEAL Search left for next occurrence of the target value. N/A N/A SEAMAX Search for trace maximum on the current channel.
Alphabetical Command Reference SEDI SEDI Syntax SEDI; or SEDI?; Description Command SEDI Description Range During either a frequency, limit, or power loss table edit, selects segment for editing. state dependent1 Query Response 1.
Alphabetical Command Reference SEG SEG Syntax SEG; Description Command Description Range Query Response SEGIFBW Sets the IFBW for the active segment of a list-frequency table in swept list mode. Choose from 10, 30, 100, 300, 1000, 3000, 3700, 6000 see “Note” below SEGPOWER Sets the power for the active segment of a list-frequency table in swept list mode. output power range of your see “Note below analyzer1 1.
Alphabetical Command Reference SEL SEL Syntax SEL; or SEL?; Description Command Description Range Query Response SELMAXPT Selects the last point number in the range of points that the OUTPDATR command will report. 0 to n−1, where n=number of points SELMINPT Selects the first point number in the range of points that the OUTPDATR command will report.
Alphabetical Command Reference SELBND SELBND Syntax SELBND; or SELBND?; Description Command SELBND Description Range Selects the ripple frequency band for the following commands: OUTPRPLBNDPF, OUTPRPLBNDVAL, and RLIMVAL.
Alphabetical Command Reference SELL SELL Syntax SELL; or SELL?; Description Command SELL Description Selects the learn string revision (LRN) or OUTPLEAS, INPULEAS to be used by the analyzer. The valid parameters are: • 0: Defaults to current revision. • 201: Revision 8753B & 8720A series 2.01 • 300: Revision 8753B 3.00 • 401: Revision 8753C 4.01 • 402: Revision 8753C 4.02 • 412: Revision 8753C 4.12 • 413: Revision 8753C 4.13 • 500: Revision 8753D 5.00 • 520: Revision 8753D 5.
Alphabetical Command Reference SEQ SEQ Syntax SEQ; or SEQ?; Description Command SEQ Description Range Selects a sequence. See also “Q”. integers 1–6 Query Response Front Panel Equivalents Command Hardkey SEQ Softkey SEQUENCE x SEQ x Seq SEQWAIT Syntax SEQWAIT[S]; or SEQWAIT?; Description Command SEQWAIT Description Range Tells the instrument to wait seconds during a sequence. 0.
Alphabetical Command Reference SET SET Syntax SET; or SET?; SET<$>; SETF; SET; or SET?; Description Command Description Range Query Response SETBIT Sets the specified bit on the GPIO.
Alphabetical Command Reference SHOM Command Hardkey Softkey SETF System SET FREQ LOW PASS SETRTHRU Cal SET REF: THRU SETRREFL Cal SET REF: REFLECT SETTIME System SET MINUTES SET HOUR ROUND SECONDS SETZ SET Z0 Cal SHOM Syntax SHOM; Description Command SHOM Description Range Displays the desired softkey menu during a sequence.
Alphabetical Command Reference SING SING Syntax SING; Description Command SING Description Range Single sweep. OPC-compatible.
Alphabetical Command Reference SLI SLI Syntax SLI; Description Command Description Range Query Response SLID Sliding load done. N/A N/A SLIL Specifies the standard as a sliding load during a standard definition as part of a cal kit modification, as opposed to a fixed or offset load. N/A N/A SLIS Sliding load set. OPC-compatible.
Alphabetical Command Reference SLOP SLOP Syntax SLOPE; or SLOPE?; SLOPO; or SLOPO?; NOTE These commands only apply to 8753ET/ES analyzers. Description Command Description Range Query Response SLOPE Enters the power slope value. −2 to 2 dB/GHz SLOPO Selects whether the power slope is on or off.
Alphabetical Command Reference SM8 SM8 Syntax SM8; or SM8?; NOTE This command only applies to 8753ET/ES analyzers. Description Command SM8 Description Range Selects whether spur avoidance is on or off. Selecting spur avoidance off, along with selecting sampler and attenuator offsets off (see “RAWOFFS”), saves substantial time at recalls and during frequency changes. Spur avoidance is always coupled between channels: select SM8OFF to turn off spur avoidance for all channels.
Alphabetical Command Reference SMI SMI Syntax SMI; or SMI?; Description Command Description Range Query Response SMIC Selects Smith chart display format. N/A <0|1> SMIMGB Selects G+jB (conductance and susceptance) marker readout on a Smith chart. N/A <0|1> SMIMLIN Selects linear magnitude marker readout on a Smith chart. N/A <0|1> SMIMLOG Selects log magnitude marker readout on a Smith chart.
Alphabetical Command Reference SMOO SMOO SMOOAPER; or SMOOAPER?; SMOOO; or SMOOO?; Description Command Description SMOOAPER Sets the smoothing aperture as a percent of the trace. SMOOO Selects whether smoothing is on or off. Range Query Response 0.
Alphabetical Command Reference SOFT SOFT Syntax SOFT; Description Command SOFT Description Range Acts as though the indicated softkey was pressed. integers 1–8 Query Response N/A Front Panel Equivalents GPIB only: no front panel equivalent. SOUP Syntax SOUP; or SOUP?; Description Command SOUP Description Range Selects whether the source power is on or off.
Alphabetical Command Reference SPAN SPAN Syntax SPAN[HZ|DB]; or SPAN?; Description Command SPAN Description Range Sets the stimulus span value. If a list frequency segment is being edited, sets the span of the list segment. stimulus range1 Query Response 1. For frequency or power sweeps, refer to “Preset State and Memory Allocation,” in your analyzer’s reference guide. For CW time: 0 to 24 hours. For frequency sweep, transform on: ± 1/frequency step.
Alphabetical Command Reference SPEC SPEC Syntax SPEC<$>; Description The following commands initiate the SPECIFY CLASS part of modifying a cal kit. With each command, send the analyzer a series of standard numbers to be included in the class. When the class is full, send the CLAD command to terminate the specification. Command Description Range for
Alphabetical Command Reference SPEC Command Description Range for Query Response SPECTRLR TRL Reflection standard numbers 1–8 N/A SPECTRFM TRL, Reflect, Forward, Match. Compatible with the 8753D revisions 5.00 through 5.48. standard numbers 1–8 N/A SPECTRRM TRL, Reflect, Reverse, Match. Compatible with the 8753D revisions 5.00 through 5.48. standard numbers 1–8 N/A SPECTLFM TRL, Line, Forward, Match. Compatible with the 8753D revisions 5.00 through 5.48.
Alphabetical Command Reference SPEC Command Hardkey Softkey SPECREVM Cal REV MATCH SPECREVT Cal REV TRANS SPECS11A Cal S11A SPECS11B Cal S11B SPECS11C Cal S11C SPECS22A Cal S22A SPECS22B Cal S22B SPECS22C Cal S22C SPECTRLL Cal TRL LINE or MATCH SPECTRLT Cal TRL THRU SPECTRLR Cal TRL REFLECT SPECTRFM Cal S11A SPECTRRM Cal S22A SPECTLFM Cal S11B SPECTLFT Cal S11C SPECTLRM Cal S22B SPECTLRT Cal S22C SPECTTFM Cal FWD MATCH SPECTTFT Cal FWD TRANS SPECT
Alphabetical Command Reference SPEG SPEG Syntax SPEG; Description Command SPEG Description Range Displays the specify gate menu. N/A Query Response N/A Front Panel Equivalents Command Hardkey SPEG Softkey SPECIFY GATE System SPLD Syntax SPLD; or SPLD?; Description Command SPLD Description Range Turns the split display mode on and off.
Alphabetical Command Reference SPLID SPLID Syntax SPLID<1|2|4>; or SPLID<1|2|4>?; Description Command Description Range Query Response SPLID1 Puts all displayed channels on one full-size graticule. N/A <0|1> SPLID2 Puts all displayed channels on two graticules. N/A <0|1> SPLID4 Puts each displayed channel on a separate graticule.
Alphabetical Command Reference SRE SRE Syntax SRE; or SRE?; Description Command SRE Description Range Service request enable. A bit set in enables the corresponding bit in the status byte to generate an SRQ. integers 0–255 Query Response Front Panel Equivalents GPIB only: no front panel equivalent. SSEG Syntax SSEG; or SSEG?; Description Command SSEG Description Range Selects the desired segment of the frequency list for a list frequency sweep. See also “ASEG”.
Alphabetical Command Reference STAN STAN Syntax STAN; Description Standards A through G are associated with softkeys 1 through 7, respectively. Command STANA STANB STANC STAND Description These 7 commands (OPC-compatible) select a standard from a class during a calibration sequence.
Alphabetical Command Reference STAR STAR Syntax STAR[HZ|DB]; or STAR?; Description Command STAR Description Range Sets the start stimulus value. If a list frequency segment is being edited, sets the start of the list segment. stimulus range1 Query Response 1. For frequency or power sweeps, refer to “Preset State and Memory Allocation,” in your analyzer’s reference guide. For CW time: 0 to 24 hours. For frequency sweep, transform on: ± 1/frequency step.
Alphabetical Command Reference STDD STDD Syntax STDD; Description Command STDD Description Range Standard done, terminating a define standard sequence, while modifying a cal kit.
Alphabetical Command Reference STDT STDT Syntax STDT; or STDT?; Description The following commands select the standard “type” after the standard number has been entered during a modify cal kit sequence.
Alphabetical Command Reference STEPSWP STEPSWP Syntax STEPSWP; or STEPSWP?; NOTE This command only applies to 8720E series analyzers. Description Command STEPSWP Description Range Turns step sweep mode on or off.
Alphabetical Command Reference STOP STOP Syntax STOP[HZ|DB]; or STOP?; Description Command STOP Description Range Sets the stop stimulus value. If a list frequency segment is being edited, sets the stop of the list segment. stimulus range1 Query Response 1. For frequency or power sweeps, refer to “Preset State and Memory Allocation,” in your analyzer’s reference guide. For CW time: 0 to 24 hours. For frequency sweep, transform on: ± 1/frequency step.
Alphabetical Command Reference STOR STOR Syntax STOR; Description This command stores the indicated file on disk. Used with the INTD and EXTD commands to designate the internal or external disk. Requires pass control when used with a disk drive on GPIB. Command STOR Description Range Stores the current instrument state to disk using the file name provided by the preceding TITF command.
Alphabetical Command Reference STORSEQ STORSEQ Syntax STORSEQ; Description Command STORSEQ Description Range Stores the instrument state of the indicated sequence to disk. Used with the INTD and EXTD commands to designate the internal or external disk. Requires pass control mode when using the GPIB port.
Alphabetical Command Reference SVCO SVCO Syntax SVCO; Description Command SVCO Description Saves display colors.
Alphabetical Command Reference SWE SWE Syntax SWEA; SWET[S]; or SWET?; Description Command Description Range Query Response SWEA Automatically selects the fastest sweep time based on the current analyzer settings for number of points, IF bandwidth, sweep mode, averaging condition and frequency span. N/A N/A SWET Sets the sweep time. (Setting SWET0 is equivalent to sending the SWEA command.) 0–86,400 s NOTE The SWET command should be followed by a wait equal to 2 sweeps.
Alphabetical Command Reference SWPSTART SWPSTART Syntax SWPSTART; Description Command SWPSTART Description Range Initiates a sweep and immediately releases the GPIB bus, allowing the analyzer to initiate data output as soon as the appropriate data is ready. Use in conjunction with Take4 mode only. See “Example 2G: Take4 — Error Correction Processed on an External PC” on page 7-48. OPC-compatible. N/A Query Response N/A Front Panel Equivalents GPIB only: no front panel equivalent.
Alphabetical Command Reference TAK TAK Syntax TAK; Description Command Description Range Query Response TAKCS Begins a power meter calibration sweep. Requires pass control when using the GPIB port. N/A N/A TAKRS Begins a receiver calibration sweep.
Alphabetical Command Reference TAKE4 TAKE4 Syntax TAKE4; or TAKE4?; Description Command TAKE4 Description Range Initiates a mode in which every measurement cycle is characterized by sweeping in both the forward and reverse directions and collecting raw data for all four S-parameters. The sweeping can occur when a SWPSTART or SING command is received or when the analyzer is in continuous, number of groups, or external trigger mode.
Alphabetical Command Reference TERI TERI Syntax TERI; Description Command TERI Description Range Specifies the terminal impedance of an arbitrary impedance standard during a cal kit modification. 0–1 kΩ Query Response N/A Front Panel Equivalents Command Hardkey TERI Softkey TERMINAL IMPEDANCE Cal TESS? Syntax TESS?; Description Command TESS? Description Query only. Queries whether a test set is connected. Returns a one on the standard analyzer. This command is compatible with the 8753D.
Alphabetical Command Reference TIMDTRAN TIMDTRAN Syntax TIMDTRAN; or TIMDTRAN?; Description Command TIMDTRAN Description Range Turns the time domain transform on and off (Option 010). N/A Query Response <0|1> Front Panel Equivalents Command Hardkey TIMDTRAN Softkey TRANSFORM ON OFF System TIMESTAM Syntax TIMESTAM; or TIMESTAM?; Description Command TIMESTAM Description Range Turns timestamp on and off for prints and plots.
Alphabetical Command Reference TINT TINT Syntax TINT; or TINT?; Description Command TINT Description Range Adjusts the tint for the selected display feature.
Alphabetical Command Reference TIT TIT Syntax TIT<$>; TIT<$>; TITSQ; Description Command Description Range Query Response TITF Titles the indicated file numbers. : 1–5 <$>: 10 char. max. N/A TITL Enters a new display title. 48 characters max N/A TITP Titles the plot to disk file. 10 characters max N/A TITR Titles the indicated internal register. : 1–5 <$>: 10 char. max. N/A Titles save/recall registers 01 through 31. : 01–31 <$>: 10 char. max.
Alphabetical Command Reference TITT TITT Syntax TITT; Description Command Description Range Query Response TITTMEM Sends the title string to trace memory. N/A N/A TITTPERI Sends the title string to the peripheral GPIB address. N/A N/A TITTPMTR Sends the title string to the power meter’s GPIB address. N/A N/A TITTPRIN Sends the title string to the printer’s GPIB address.
Alphabetical Command Reference TRA TRA Syntax TRA; Description Command Description Range Query Response TRAD Completes the transmission calibration subsequence of a 2-port calibration or enhanced response calibration. OPC-compatible. N/A N/A TRAN Begins the transmission calibration subsequence of a 2-port calibration or enhanced response calibration. N/A N/A TRAOP Begins the transmission calibration subsequence for one-path, 2-port calibration.
Alphabetical Command Reference TRACK TRACK Syntax TRACK; or TRACK?; Description Command TRACK Description Range Turns marker search tracking on and off. N/A Query Response <0|1> Front Panel Equivalents Command Hardkey TRACK Marker Search Softkey TRACKING ON OFF TRAP Syntax TRAP; or TRAP?; NOTE This command only applies to ET models. Description Command TRAP1 Description Range Selects “Transmissn” as the measurement mode for the active channel. N/A Query Response <0|1> 1.
Alphabetical Command Reference TRL TRL Syntax TRL; Description Command Description Range Query Response TRLL1 Measures TRL Line/match for Port 1 during a TRL/LRM 2-port calibration. N/A N/A TRLL2 Measures TRL Line/match for Port 2 during a TRL/LRM 2-port calibration. N/A N/A TRLR1 Measures TRL S11 reflect during a TRL/LRM 2-port calibration. N/A N/A TRLR2 Measures TRL S22 reflect during a TRL/LRM 2-port calibration.
Alphabetical Command Reference TSSWI TSSWI Syntax TSSWI; or TSSWI?; NOTE These commands only apply to ES models. Description See also “CSWI” on page 1-47. Command TSSWI Description Range Sets number of sweeps for test set integers 0–999 1 Query Response switching. 1. 0 = test set hold, 1= continuous, 2–999 = number of sweeps Front Panel Equivalents Command Hardkey TSSWIn Softkey TESTSET SW n Sweeps Cal TST? Syntax TST?; Description Command TST? Description Query only.
Alphabetical Command Reference TSTIO TSTIO Syntax TSTIO; or TSTIO?; Description Both of these commands define 3 bits, D0 through D2, on the test set connector I/O. Be careful that you do not also set a value to ATTP1 and ATTP2 as there is interaction between these commands and they will change the values you have set for D0 through D2 and will couple the channels together.
Alphabetical Command Reference TSTP TSTP Syntax TSTP; NOTE This command only applies to ES models. Description Command TSTP Description Range Selects test port 1 or 2 for non-S-parameter measurements.
Alphabetical Command Reference TTL TTL Syntax TTL; or TTL?; Description Command Description Range Query Response TTLHPULS TTL normally low, high pulse at end of sweep. N/A <0|1> TTLLPULS TTL normally high, low pulse at end of sweep. N/A <0|1> TTLOH Sets TTL continuously high. N/A <0|1> TTLOL Sets TTL continuously low.
Alphabetical Command Reference UCONV UCONV Syntax UCONV; NOTE This command applies to all 8753ET/ES analyzers, and to 8720E series analyzers with Option 089. Description Command UCONV Description Range Selects up-converter for mixer measurements. N/A Query Response N/A Front Panel Equivalents Command Hardkey UCONV Softkey UP CONVERTER System UP Syntax UP; Description Command UP Description Range Increments the value displayed in the active entry area (emulates pressing the up-arrow key).
Alphabetical Command Reference USEPASC USEPASC Syntax USEPASC; or USEPASC?; Description Command USEPASC Description Range Puts the analyzer in pass control mode. N/A Query Response <0|1> Front Panel Equivalents Command Hardkey USEPASC Softkey USE PASS CONTROL Local USESENS Syntax USESENS; Description These commands select the sensor input being used with the 438A power meter. For the 436A or 437B, the A sensor is always used.
Alphabetical Command Reference VELOFACT VELOFACT Syntax VELOFACT; or VELOFACT?; Description Command VELOFACT Description Range Enters the velocity factor of the transmission medium. 0 to 10 Query Response Front Panel Equivalents Command Hardkey VELOFACT Softkey VELOCITY FACTOR CAL VIEM Syntax VIEM; or VIEM?; Description Command Description Range Query Response VIEMON Displays the mixer measurement trace.
Alphabetical Command Reference VOFF VOFF Syntax VOFF; or VOFF?; Description Command VOFF Description Range Sets the local oscillator frequency for use in frequency offset mode. See also “LOFREQ.” frequency range of analyzer Query Response Front Panel Equivalents Command Hardkey VOFF Softkey LO FREQUENCY 1 System FREQUENCY: CW 2 1. 8753ET/ES 2. 8720E series WAIT Syntax WAIT; Description Command WAIT 1-274 Description Waits for a clean sweep when used with the OPC command.
Alphabetical Command Reference WAVD WAVD Syntax WAVD[HZ]; or WAVD?; Description Command WAVD Description Range Sets the waveguide cutoff value. This value is then used in the phase equation for electrical delay. (See also “COAD”.
Alphabetical Command Reference WID WID Syntax WIDT; or WIDT?; WIDV; or WIDV?; Description Command Description Range Query Response WIDT Turns the bandwidth search on and off. N/A <0|1> WIDV Enters the widths search parameter. amplitude range1 1. For log mag: ± 500 dB. For phase: ± 500 degrees. For Smith chart and Polar: ± 500 units. For linear magnitude: ± 500 units. For SWR: ± 500 units.
Alphabetical Command Reference WIND WIND Syntax WIND; WINDOW; or WINDOW?; WINDUSEM; or WINDUSEM?; Description These 5 commands set the window for the transform (Option 010, time domain): Command Description Range Query Response WINDMAXI Maximum N/A N/A WINDMINI Minimum N/A N/A WINDNORM Normal N/A N/A WINDOW Enters arbitrary window. state dependent WINDUSEM Turns the trace memory on or off as the window shape.
Alphabetical Command Reference WRSK WRSK Syntax WRSK<$>; Description Command WRSK Description Enters new softkey labels into the indicated softkey positions. Initial use of these commands requires previous commands MENUFORM; and MENUOFF;. Range : integers 1–8 <$>: 10 char. max. Query Response N/A Front Panel Equivalents GPIB only: no front panel equivalent.
2 Introduction to Instrument Control 2-1
Introduction to Instrument Control Using This Chapter Using This Chapter This chapter is an introduction to the remote operation of your analyzer using an external controller. The chapter is divided into two main sections: • “Instrument Control using the VXIplug&play Driver” on page 2-3 • “Instrument Control using HP BASIC” on page 2-9 You should be familiar with the operation of the analyzer before attempting to remotely control the analyzer via the General Purpose Interface Bus (GPIB).
Introduction to Instrument Control Instrument Control using the VXIplug&play Driver Instrument Control using the VXIplug&play Driver VXIplug&play is a term indicating conformance to a set of system-level standards produced by the VXIplug&play Systems Alliance. The charter of the alliance was “to improve the effectiveness of VXI-based solutions by increasing ease-of-use and improving the interoperability of multi-vendor VXI systems.
Introduction to Instrument Control Instrument Control using the VXIplug&play Driver System Setup 1. Use an GPIB interconnect cable (such as 10833A/B/C/D) to connect the analyzer to the GPIB interface card on your computer. 2. Switch on the computer. 3. Switch on the analyzer. a. To verify the analyzer’s address, press: Local SET ADDRESSES ADDRESS: 87xx The analyzer has only one GPIB interface, though it occupies two addresses: one for the instrument and one for the display.
Introduction to Instrument Control Instrument Control using the VXIplug&play Driver Verifying the Bus Connection Check the interface bus connection and operation by following the appropriate procedure (for the type of interface card you are using) below. Interface Bus Verification Procedure (GPIB Interface Card) 1. Check the bus connection by running the VISA Assistant in the I/O Libraries. The VISA Assistant will automatically report what it finds on the bus. Refer to Figure 2-1.
Introduction to Instrument Control Instrument Control using the VXIplug&play Driver Interface Bus Verification Procedure (National Instruments Card) 1. Check the bus connection by running Win32 VISA Interactive Control. When this program is run, it automatically reports what it finds on the bus. Refer to Figure 2-2. Notice that the program is reporting instruments at addresses 16 and 17. As mentioned earlier, these addresses designate the instrument and its display, respectively.
Introduction to Instrument Control Instrument Control using the VXIplug&play Driver Figure 2-3 Win32 VISA Interactive Control: Sending a Command Controlling the Analyzer with the VXIplug&play Driver The “Programming Examples” CD-ROM that was shipped with this manual includes many example programs that can be used to control your analyzer. Example programs written for Visual C++ are located in the “vc” directory on the CD-ROM, and example programs written for Visual BASIC are located in the “vb” directory.
Introduction to Instrument Control Instrument Control using the VXIplug&play Driver Using Visual C++ to Control the Analyzer When using Visual C++, you will need to include the file listed below in your project. The file was installed on your computer in the following directory when you installed the driver: \vxipnp\winxx\lib\msc\hp875x_32.lib NOTE 2-8 The directory shown above is the default location for this file. (“winxx” indicates the operating system you are using, such as winnt, win95, etc.
Introduction to Instrument Control Instrument Control using HP BASIC Instrument Control using HP BASIC This section describes how to control the analyzer using HP BASIC 6.2 (or higher), or HP BASIC for Windows 6.3 (or higher) on one of the following computers: • HP 9000 Series 200/300 • HP 9000 Series 700 with HP BASIC-UX • PC with a GPIB interface card installed For more information on HP BASIC, see Table 2-1. For more information concerning the General Purpose Interface Bus, see Table 2-2.
Introduction to Instrument Control Instrument Control using HP BASIC System Setup and GPIB Verification Figure 2-4 The Network Analyzer System with Controller 1. Connect the analyzer to the computer with an GPIB cable as shown in Figure 2-4. 2. Switch on the computer, and launch HP BASIC or HP BASIC for Windows. 3. Switch on the analyzer. a.
Introduction to Instrument Control Instrument Control using HP BASIC b. Set the system control mode to either “pass-control” or “talker/listener” mode. These are the only control modes in which the analyzer will accept commands over GPIB. For more information on control modes, see “Bus Device Modes” on page 3-12. To set the system-control mode, press: Local TALKER/LISTENER or Local USE PASS CONTROL 4. Check the interface bus by performing a simple command from the computer controller.
Introduction to Instrument Control Instrument Control using HP BASIC Sending Commands A remote controller can manipulate the functions of the analyzer by sending commands to the analyzer via the General Purpose Interface Bus (GPIB). The commands used are specific to the analyzer. Remote commands executed over the bus take precedence over manual commands executed from the instrument’s front panel. Remote commands are executed as soon as they are received by the analyzer.
Introduction to Instrument Control Instrument Control using HP BASIC The OUTPUT 716; statement will transmit all items listed (as long as they are separated by commas or semicolons) including: literal information enclosed in quotes, numeric variables, string variables, and arrays. A carriage return/line feed is transmitted after each item. Again, this can be suppressed by terminating the commands with a semicolon.
Introduction to Instrument Control Instrument Control using HP BASIC Command Query Suppose the operator has changed the power level from the front panel. The computer can find the new power level using the analyzer’s command-query function. If a question mark is appended to the root of a command, the analyzer will output the value of that function. For instance, POWE 7 DB; sets the analyzer’s output power to 7 dB, and POWE?; outputs the current RF output power at the test port to the system controller.
Introduction to Instrument Control Instrument Control using HP BASIC ON/OFF commands can be also be queried. The reply is a one (1) if the function is active, a zero (0) if it is not active. Similarly, if a command controls a function that is underlined on the analyzer softkey menu when active, querying that command yields a one (1) if the command is underlined, a zero (0) if it is not. For example, press Meas . Though there are seven options on the measurement menu, only one is underlined at a time.
Introduction to Instrument Control Instrument Control using HP BASIC Running the Program Running this program causes the computer to display the sweeping message as the instrument executes the sweep. The computer will display DONE just as the instrument goes into hold. When DONE appears, the program could then continue on, being assured that there is a valid data trace in the instrument.
Introduction to Instrument Control Instrument Control using HP BASIC Local can also be disabled with the sequence: REMOTE 716 LOCAL LOCKOUT 7 After executing the code above, none of front-panel keys will respond. The analyzer can be returned to local mode temporarily with: LOCAL 716 As soon as the analyzer is addressed to listen, it goes back into local-lockout mode.
Introduction to Instrument Control Instrument Control using HP BASIC 2-18 Chapter 2
3 GPIB Programming 3-1
GPIB Programming Analyzer Command Syntax Analyzer Command Syntax Code Naming Convention The analyzer GPIB commands are derived from their front-panel key titles (where possible), according to this naming convention: Simple commands are the first four letters of the function they control, as in POWE, the command name for power.
GPIB Programming Analyzer Command Syntax Table 3-1 Code Naming Convention Convention One word Key Title Power For GPIB Code Use First four letters ELECTRICAL DELAY First three letters of first word, first letter of second word MARKER → CENTER Four letters of both GATE → SPAN Three words CAL KIT N 50 Ω ELED SEAR SEARCH RIGHT Two words in a group POWE STAR Start Two words Example MARKCENT GATESPAN First three Letters of first word, first letter of second word, first four letters of third word
GPIB Programming Analyzer Command Syntax Units The analyzer can input and output data in basic units such as Hz, dB, seconds, etc.
GPIB Programming Analyzer Command Syntax [terminator] Indicates the end of the command, enters the data, and switches the active-entry area off. A semicolon (;) is the recommended terminator. CAUTION Terminators are not necessary for the analyzer to interpret commands correctly. But in the event of a syntax error, the analyzer will attempt to recover at the next terminator. Therefore, it is recommended that each command include a terminator.
GPIB Programming Analyzer Operation Analyzer Operation Held Commands The analyzer cannot process GPIB commands while executing certain key commands known as “held” commands. For example, SING; is a held command because it requires the analyzer to take one sweep of data before executing any other commands. Once a held command is received, the analyzer will read new commands into the input buffer, but it will not begin the execution of any commands until the completion of the held command.
GPIB Programming GPIB Operation GPIB Operation The general purpose interface bus (GPIB) is Agilent Technologies’ hardware, software, documentation, and support for IEEE 488.2 and IEC-625 worldwide standards for interfacing instruments.
GPIB Programming GPIB Operation Controller A controller is defined as a device capable of: • managing the operation of the bus • addressing talkers and listeners There can only be one active controller on the interface at any time. Examples of controllers include desktop computers, minicomputers, workstations, and the network analyzer. In a multiple-controller system, active control can be passed between controllers, but there can only be one system controller connected to the interface.
GPIB Programming GPIB Operation Data Bus The data bus consists of 8 bidirectional lines that are used to transfer data from one device to another. Programming commands and data transmitted on these lines are typically encoded in ASCII, although binary encoding is often used to speed up the transfer of large arrays. Both ASCII and binary data formats are available to the analyzer. In addition, every byte transferred over GPIB undergoes a handshake to insure valid data.
GPIB Programming GPIB Operation GPIB Requirements Number of Interconnected Devices: 15 maximum. Interconnection Path Maximum Cable Length: 20 meters maximum or 2 meters per device (whichever is less). Message Transfer Scheme: Byte serial, bit parallel asynchronous data transfer using a 3-line handshake system. Data Rate: Maximum of 1 megabyte-per-second over the specified distances with tri-state drivers. Actual data rate depends on the transfer rate of the slowest device connected to the bus.
GPIB Programming GPIB Operation GPIB Operational Capabilities On the network analyzer’s rear panel, next to the GPIB connector, there is a list of GPIB device subsets as defined by the IEEE 488.2 standard. The analyzer has the following capabilities: SH1 Full-source handshake. AH1 Full-acceptor handshake. T6 Basic talker, answers serial poll, unaddresses if MLA is issued. No talk-only mode. L4 Basic listener, unaddresses if MTA is issued. No listen-only mode.
GPIB Programming GPIB Operation Bus Device Modes The analyzer uses a single-bus architecture. The single bus allows both the analyzer and the host controller to have complete access to the peripherals in the system.
GPIB Programming GPIB Operation NOTE Do not attempt to use this mode for programming. Agilent recommends using an external instrument controller when programming. See the following section, “Talker/Listener Mode.” Talker/Listener Mode This is the mode that is normally used for remote programming of the analyzer. In talker/listener mode, the analyzer and all peripheral devices are controlled from an external instrument controller.
GPIB Programming GPIB Operation The analyzer can also operate in the system-controller mode. This mode is only used when there is no remote controller on the bus. In this mode, the analyzer takes control of the bus, and uses it whenever it needs to access a peripheral. While the analyzer is in this mode, no other devices on the bus can attempt to take control. Specifically, the REN, ATN, and IFC lines must remain unasserted, and the data lines must be freed by all but the addressed talker.
GPIB Programming GPIB Operation Local Lockout If the analyzer receives the local-lockout command (LLO) while it is in remote mode, it will disable the entire front panel except for the line power switch. A local-lockout condition can only be cleared by releasing the remote line, although the local command (GTL) will place the instrument temporarily in local mode. Parallel Poll The analyzer does not respond to parallel-poll configure (PPC) or parallel-poll unconfigure (PPU) messages.
GPIB Programming GPIB Operation IEEE 488.2 Common Commands IEEE 488.2 defines a set of common commands. All instruments are required to implement a subset of these commands, specifically those commands related to status reporting, synchronization and internal operations. The rest of the common commands are optional. The following list details which of these IEEE 488.2 common commands are implemented in the analyzer and the response of the analyzer when the command is received.
GPIB Programming Calibration *TST? Returns the result of a complete self-test. An ASCII 0 indicates no failures found. Any other character indicates a specific self-test failure. Does not perform any self-tests. See your analyzer’s service guide for further information. *WAI Prohibits the instrument from executing any new commands until all pending overlapped commands have been completed.
GPIB Programming Calibration Table 3-2 Relationship between Calibrations and Classes Class Response Response & Isolation S11 1-port S22 1-port Reflection:1 One path 2-port Full 2-port TRL/ LRM Fwd Enh Resp Rev Enh Resp • • • • • S11A, RE FW MTCH • • • • • S11B, LN FW MTCH • • • • • S11C, LN FW TRAN • • • • • S22A, LN RV MTCH • • • • S22B, LN RV TRAN • • • • S22C, LN RV TRAN • • • • • • • • Forward match • • • • Forward trans • • • • Reverse matc
GPIB Programming Calibration Table 3-3 Error Coefficient Arrays Array Response 1-port Enhanced Response 2-port 1 TRL/LRM EX (ED)2 ED ED EDF EDF ET (ER) ES ES ESF ESF ER ER ERF ERF 04 EX EXF EXF 05 EL3 ELF ELF 06 ET ETF ETF 07 EDR EDR 08 ESR ESR 09 ERR ERR 10 EXR EXR 11 ELR ELR 12 ETR ETR 01 ER or E T Response and Isolation 02 03 1. One path, 2-port cal duplicates arrays 1 to 6 in arrays 7 to 12. 2.
GPIB Programming Display Graphics Display Graphics User Graphics Units Size of graticule only: • length = 350 to 4915 • height = 150 to 3950 Size of complete display (graticule plus annotation and softkey labels) • length = 0 to 5850 • height = 0 to 4095 HP-GL Commands AF Erases the user graphics display. CS Turns off the measurement display. DIrun,rise Specifies the direction in which characters are lettered.
GPIB Programming Display Graphics LTa Specifies line type: a line type 0 solid 1 solid 2 short dashes 3 long dashes OP Outputs P1 and P2, the scaling limits: 0,0,5850,4095. PAx,y Draws from the current pen position to x,y. There can be many pairs of x,y coordinates within one command. They are separated by commas, and the entire sequence is terminated with a semicolon. PD Pen down. A line is drawn only if the pen is down. PG Erases the user graphics display.
GPIB Programming Display Graphics SPn Selects pen n: n brightness 0 blank 1 yellow 2 green 3 light blue 4 light red 5 white 6 red 7 blue Accepted but ignored HP-GL commands Command 3-22 Description IM Input service request mask IP Input Pl,P2 scaling points IW Input window OC Output current pen position OE Output error OI Output identity OS Output status SL Character slant SR Relative character size Chapter 3
GPIB Programming Disk File Names Disk File Names Disk files created by the analyzer consist of a state name of up to eight characters, such as “FILTER,” appended with up to two characters. In LIF format, the file name is “FILTERXX.” In DOS format, the filename is “FILTER.XX.” The first appended character is the file type, telling the kind of information in the file. The second appended character is a data index, used to distinguish files of the same type.
GPIB Programming Disk File Names Table 3-4 File Suffix Character Meaning Char 1 Meaning Char 2 Meaning F Full page (HP-GL plot) P L Left (HP-GL plot) L U Lower Upper R Right (HP-GL plot) L U Lower Upper S Error-corrected data (S2P) 1 2 Channel 1 Channel 2 3-24 Chapter 3
4 Reading Analyzer Data 4-1
Reading Analyzer Data Output Queue Output Queue Whenever an output-data command is received, the analyzer puts the data into the output queue (or buffer) where it is held until the system controller outputs the next read command. The queue, however, is only one event long: the next output-data command will overwrite the data already in the queue. Therefore, it is important to read the output queue immediately after every query or data request from the analyzer.
Reading Analyzer Data Output Syntax Output Syntax The following three types of data are transmitted by the analyzer in ASCII format: • response to query • certain output commands • ASCII floating-point (FORM4) array transfers Marker-output commands and queried commands are output in ASCII format only, meaning that each character and each digit is transmitted as a separate byte, leaving the receiving computer to reconstruct the numbers and strings.
Reading Analyzer Data Marker Data Marker Data The analyzer offers several options for outputting trace-related data. Data can be selectively read from the trace using the markers, or the entire trace can be read by the controller. If only specific information is required (such as a single point on the trace or the result of a marker search), the marker output command can be used to read the information. Specific data points can be read using the OUTPDATP or OUTPDATR commands.
Reading Analyzer Data Marker Data Table 4-1 Units as a Function of Display Format Display Format Marker Mode OUTPMARK OUTPFORM Marker Readout1 Value 1 Value 2 Value 1 Value 2 Value LOG MAG dB N/S2 dB N/S2 dB N/S PHASE degrees N/S2 degrees N/S2 degrees N/S DELAY seconds N/S2 seconds N/S2 seconds N/S LIN MKR lin mag degrees real imag lin mag degrees LOG MKR dB degrees real imag dB degrees Re/Im real imag real imag real imag R + jX real ohms imag ohms rea
Reading Analyzer Data Array-Data Formats Array-Data Formats The analyzer can transmit and receive arrays in the analyzer’s internal binary format as well as four different numeric formats. The current format is set with the FORM1, FORM2, FORM3, FORM4, and FORM5 commands. These commands do not affect learnstring transfers, calibration-kit string transfers, or non-array transfers, such as command query, or output marker values.
Reading Analyzer Data Array-Data Formats Table 4-2 Network Analyzer Array-Data Formats Format Type Type of Data Bytes per Data Value Bytes per point 2 data values (201 pts) Bytes per trace Total Bytes with header FORM 1 Internal Binary N/A 6 1206 1210 FORM 2 IEEE 32-bit Floating-Point 4 8 1608 1612 FORM 3 IEEE 64-bit Floating-Point 8 16 3216 3220 FORM 4 ASCII Numbers 24 (Typical) 50 (Typical) 10,050 (Typical) 10,0501 (Typical) FORM 5 PC-DOS 32-bit Floating-Point 4 8 1608
Reading Analyzer Data Trace-Data Transfers Trace-Data Transfers Transferring trace-data from the analyzer using an instrument controller can be divided into three steps: 1. Allocating an array to receive and store the data 2. Commanding the analyzer to transmit the data 3. Accepting the transferred data Data residing in the analyzer is always stored in pairs for each data point (to accommodate real/imaginary pairs).
Reading Analyzer Data Stimulus-Related Values Stimulus-Related Values Frequency-related values are calculated for the analyzer display. The start and stop frequencies or center and span frequencies of the selected frequency range are available to the programmer. In a linear frequency range, the frequency values can be easily calculated because the trace data points are equally spaced across the trace.
Reading Analyzer Data Stimulus-Related Values 4-10 Chapter 4
5 Data Processing Chain 5-1
Data Processing Chain Using This Chapter Using This Chapter This chapter describes the manner in which the analyzer processes measurement data.
Data Processing Chain Data Arrays Data Arrays Figure 5-1 shows the different kinds of data available within the instrument: • pre-raw measured data • raw measured data • error-corrected data • formatted data • trace memory • calibration coefficients Trace memory can be directly output to a controller with OUTPMEMO;, but it cannot be directly transmitted back.
Data Processing Chain Common Output Commands Common Output Commands All the data-output commands are designed to insure that the data transmitted reflects the current state of the instrument: • OUTPDATA, OUTPRAW, OUTPFORM, OUTPDATF, OUTPRAF and OUTPFORF will not transmit data until all formatting functions have completed. • OUTPPRE transmits data in conjunction with Take4 mode and the SWPSTART command. Refer to “Example 2G: Take4 — Error Correction Processed on an External PC” on page 7-48.
Data Processing Chain Fast Data Transfer Commands Fast Data Transfer Commands The analyzer has four distinct fast data transfer commands. These commands circumvent the internal “byte handler” routine and output trace dumps as block data. In other words, the analyzer outputs the entire array without allowing any process swapping to occur. FORM4, ASCII data transfer times are not affected by these routines. However, there are speed improvements with binary data formats.
Data Processing Chain Data Levels Data Levels Different levels of data can be read out of the instrument. Refer to the data-processing chain in Figure 5-1. The following sections describe the different types of data that are available from the network analyzer. Pre-Raw Data This is the raw data without sampler correction or attenuator offsets applied.
Data Processing Chain Learn String and Calibration-Kit String Formatted Data This is the array of data actually being displayed. It reflects all post-processing functions such as electrical delay and time domain. The units of the array output depend on the current display format. See Table 4-1 on page 4-5 for the various units defined as a function of display format. Generally, formatted data is the most useful of the five data levels, because it is the same information the operator sees on the display.
Data Processing Chain Learn String and Calibration-Kit String 5-8 Chapter 5
6 Error Reporting 6-1
Error Reporting Using This Chapter Using This Chapter This chapter describes the analyzer’s error-reporting process.
Error Reporting Status Reporting Status Reporting The analyzer status reporting structure is depicted in Figure 6-1. Refer to Table 6-1, Table 6-2, and Table 6-3 for a description of each bit within the status reporting structure.
Error Reporting Status Reporting Table 6-1 Status Byte: Status Bit Definitions Status Byte Bit Name Definition 0 Waiting for reverse GET Not available. 1 Waiting for forward GET Not available. 2 Check event-status register B One of the enabled bits in event status register B has been set. 3 Check error queue An error has occurred and the message has been placed in the error queue, but has not been read yet.
Error Reporting Status Reporting Table 6-3 Event Status Register B: Status Bit Definitions Bit Name Definition 0 Single sweep, number of groups, or calibration step complete A single sweep, group, or calibration step has been completed since the last read of the register. 1 Service routine waiting or done An internal service routine has completed operation, or is waiting for an operator response.
Error Reporting The Status Byte The Status Byte The analyzer has a status-reporting mechanism that reports information about specific analyzer functions and events. The status byte (consisting of summary bits) is the top-level register (see Figure 6-1). Each bit reflects the condition of another register or queue. If a summary bit is set (equals 1), the corresponding register or queue should be read to obtain the status information and clear the condition.
Error Reporting The Event-Status Register and Event-Status Register B The Event-Status Register and Event-Status Register B The event-status register and event-status register B are the other two registers in the status-reporting structure (see Figure 6-1). They are selectively summarized by bits in the status byte via enable registers. The event-status registers consist of latched bits. A latched bit is set at the beginning of a specific trigger condition in the instrument.
Error Reporting Error Output Error Output When an error condition is detected in the analyzer, a message is generated, displayed on the analyzer’s display screen, and placed in the error queue. Error messages consist of an error number followed by an ASCII string no more than 50 characters long. The string contains the same message that appears on the analyzer’s display. The error queue holds up to 20 error messages in the order in which they occur.
Error Reporting Error Messages in Numerical Order Error Messages in Numerical Order For explanations and suggestions in finding the cause of the error messages, refer to your analyzer’s reference guide. Some error numbers have been omitted due to obsoleted error messages.
Error Reporting Error Messages in Numerical Order Error Number Error 32 WRITE ATTEMPTED WITHOUT SELECTING INPUT TYPE 33 SYNTAX ERROR 34 BLOCK INPUT ERROR 35 BLOCK INPUT LENGTH ERROR 36 SYST CTRL OR PASS CTRL IN LOCAL MENU 37 ANOTHER SYSTEM CONTROLLER ON GPIB 38 DISK: not on, not connected, wrong address 39 DISK HARDWARE PROBLEM 40 DISK MEDIUM NOT INITIALIZED 41 NO DISK MEDIUM IN DRIVE 42 FIRST CHARACTER MUST BE A LETTER 43 ONLY LETTERS AND NUMBERS ARE ALLOWED 44 NOT ENOUGH SPACE
Error Reporting Error Messages in Numerical Order Error Number Chapter 6 Error 65 CORRECTION AND DOMAIN RESET 66 CORRECTION TURNED OFF 67 DOMAIN RESET 68 ADDITIONAL STANDARDS NEEDED 69 NO CALIBRATION CURRENTLY IN PROGRESS 70 NO SPACE FOR NEW CAL.
Error Reporting Error Messages in Numerical Order Error Number 6-12 Error 141 STOP/CW FREQ + OFFSET MUST BE < 3 GHz 144 NO LIMIT LINES DISPLAYED 148 EXTERNAL SOURCE MODE REQUIRES CW TIME 150 LOG SWEEP REQUIRES 2 OCTAVE MINIMUM SPAN 151 SAVE FAILED / INSUFFICIENT MEMORY 152 D2/D1 INVALID: CH1 CH2 NUM PTS DIFFERENT 153 SEQUENCE MAY HAVE CHANGED, CAN’T CONTINUE 154 INSUFFICIENT MEMORY, PWR MTR CAL OFF 157 SEQUENCE ABORTED 159 CH1 (CH2) TARGET VALUE NOT FOUND 161 PRESS [MENU], SELECT CW
Error Reporting Error Messages in Numerical Order Error Number Chapter 6 Error 182 LIST MODE OFF: INVALID WITH LO FREQ 183 BATTERY FAILED.
Error Reporting Error Messages in Numerical Order Error Number 6-14 Error 214 CORRECTION ON: AUX CHANNEL(S) RESTORED 215 CAUTION: CORRECTION OFF: AUX CHANNEL(S) DISABLED 218 CAUTION: FLOPPY DISK IS FULL 219 ECal MODULE NOT IN RF PATH 220 SELECTED MODULE OUTSIDE START-STOP FREQ RANGE 221 ECal SELECT OTHER MODULE 222 ECal MODULE NOT RESPONDING 223 ISOL AVGS < SWP AVGS 224 ECal FAILED Chapter 6
7 Programming Examples 7-1
Programming Examples Using This Chapter Using This Chapter This chapter provides explanations and listings for the example programs that are included on the “Programming Examples” CD-ROM (part number 08753-10039) that accompanied this manual. A description of the typical measurement process is also included in the “Measurement Process” section, starting on page 7-3.
Programming Examples Measurement Process Measurement Process This section explains how to organize instrument commands into a measurement sequence. A typical measurement sequence consists of the following steps: 1. 2. 3. 4. 5. 6. setting up the instrument calibrating the test setup connecting the device under test taking the measurement data post-processing the measurement data transferring the measurement data Step 1.
Programming Examples Measurement Process Step 3. Connecting the Device under Test After you connect your test device, you can use the computer to speed up any necessary device adjustments such as limit testing, bandwidth searches, and trace statistics. Step 4. Taking the Measurement Data Measure the device response and set the analyzer to hold the data. This captures the data on the analyzer display. By using the single-sweep command (SING), you can ensure a valid sweep.
Programming Examples Programming Examples Programming Examples The following example programs provide you with factory-tested solutions for several remotely-controlled analyzer processes. The programs can be used in their present state or modified to suit specific needs. The programs discussed in this section can be found on the “Programming Examples” CD-ROM that was shipped with this manual.
Programming Examples Programming Examples Table 7-3 Measurement Data Transfer Example Programs Example Number Description Refer to File Name(s) on CD-ROM 3A Data Transfer Using Markers page 7-57 EXAMP3A EXAMP3A.CPP EXAMP3A.FRM 3B Data Transfer Using FORM 4 (ASCII Transfer) page 7-59 EXAMP3B 3C Data Transfer Using Floating-Point Numbers page 7-62 EXAMP3C 3D Data Transfer Using Frequency−Array Information page 7-64 EXAMP3D EXAMP3D.CPP EXAMP3D.
Programming Examples Programming Examples Table 7-6 Limit-Line Testing Example Programs Example Number Description Refer to File Name(s) on CD-ROM 6A Setting Up a List-Frequency Table in Stepped List Mode page 7-88 EXAMP6A EXAMP6A.CPP EXAMP6A.FRM 6B Setting Up a List-Frequency Table in Swept List Mode page 7-90 EXAMP6B EXAMP6B.CPP EXAMP6B.FRM 6C Selecting a Single Segment from a Table of Segments page 7-94 EXAMP6C EXAMP6C.CPP EXAMP6C.
Programming Examples Programming Examples Table 7-8 Mixer Measurement Example Programs Example Number Description Refer to File Name(s) on CD-ROM 8A Comparison of Two Mixers—Group Delay, Amplitude or Phase1 page 7-122 EXAMP8A 1. For use with 8753ET/ES analyzers, and with 8719/20/22ES analyzers that have Option 089 installed.
Programming Examples Programming Examples NOTE Chapter 7 The measurement cycle and the data acquisition cycle must always be synchronized. The analyzer must complete a measurement sweep for the data to be valid.
Programming Examples Measurement Setup Examples Measurement Setup Examples The programs included in this section provide the option to perform instrument-setup functions for the analyzer from a remote controller. Example 1A is a program designed to set up the analyzer’s measurement parameters. Example 1B is a program designed to verify the measurement parameters.
Programming Examples Measurement Setup Examples BASIC Program Listing 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 ! ! ! ! ! ! ! ! ! This program demonstrates setup of various measurement parameters such as start frequency, stop frequency, etc.
Programming Examples Measurement Setup Examples 570 580 590 600 610 620 630 640 650 660 670 ! ! Channel 4 Transmitted Power measurement OUTPUT @Nwa;”CHAN4;MEASB;” OUTPUT @Nwa;”LOGM;AUTO;” ! Channel 4 log magnitude and autoscale ! OUTPUT @Nwa;”SPLID4;” ! Display as four separate graticules ! OUTPUT @Nwa;”OPC?;WAIT;” ! Wait for the analyzer to finish ENTER @Nwa;Reply ! Read the 1 when complete LOCAL @Nwa ! Release HP-IB control END Visual C++ Program Listing #include #include
Programming Examples Measurement Setup Examples err_status = hp875x_timeOut(vi, 3000); checkErr(vi, err_status); // Set up measurement and display // Channel 1 err_status = hp875x_channelSelect(vi, hp875x_CH1); checkErr(vi, err_status); // Turn auxiliary channel off.
Programming Examples Measurement Setup Examples // Channel 1 err_status = hp875x_channelSelect(vi, hp875x_CH1); checkErr(vi, err_status); // Turn auxiliary channel on. err_status = hp875x_auxChannel(vi, hp875x_CH1, hp875x_ON); checkErr(vi, err_status); // Channel 2 err_status = hp875x_channelSelect(vi, hp875x_CH2); checkErr(vi, err_status); // Turn auxiliary channel on.
Programming Examples Measurement Setup Examples ViSession vi; ViStatuserr_status; ViChar err_message[256]; /* /* /* Note that this function can verify that the instrument specified is an hp875x (id_query=VI_TRUE) and can send a reset to the instrument (do_reset=VI_TRUE).
Programming Examples Measurement Setup Examples } /* Optionally reset the instrument, close the */ /* instrument handle, and exit the program. */ /* hp875x_reset(vi); */ /* hp875x_close(vi); */ /* exit(err_status); */ return VI_TRUE; } return VI_SUCCESS ; } Visual BASIC Program Listing VERSION 5.00 Begin VB.
Programming Examples Measurement Setup Examples ‘*************************************************************************** ‘* hp875x Instrument Driver EXAMPLE #1A * ‘* * ‘* This program demonstrates setup of various measurement parameters such * ‘* as start frequency, stop frequency, etc. The program first selects one * ‘* type of measurement to be viewed using dual-channel display format. * ‘* The specified start and stop frequencies are then programmed and the * ‘* analyzer display is autoscaled.
Programming Examples Measurement Setup Examples Call checkErr(vi, err_status) ‘ Channel 2 err_status = hp875x_channelSelect(vi, hp875x_CH2) Call checkErr(vi, err_status) ‘ Turn auxiliary channel off.
Programming Examples Measurement Setup Examples Call checkErr(vi, err_status) err_status = hp875x_autoscale(vi) Call checkErr(vi, err_status) ‘ Channel 3 Reflected Power measurement, no parameter conversion err_status = hp875x_channelSelect(vi, hp875x_CH3) Call checkErr(vi, err_status) err_status = hp875x_measType(vi, hp875x_IN_MA, hp875x_CONV_OFF) Call checkErr(vi, err_status) ‘ Log magnitude and autoscale err_status = hp875x_displaySelect(vi, hp875x_CH3, hp875x_DISP_DATA, hp875x_DISP_LOGM) Call checkErr(v
Programming Examples Measurement Setup Examples If (vi <> VI_NULL) Then err_status = hp875x_error_message(vi, err_status, err_msg) msg = msg & “, Error Status: “ & err_status msg = msg & “, Error Message: “ & err_msg End If MsgBox msg, vbInformation, frmExample1a.
Programming Examples Measurement Setup Examples Example 1B: Verifying Parameters This example shows how to read analyzer settings into your controller. Appending a “?” to a command that sets an analyzer parameter will return the value of that setting. Parameters that are set as ON or OFF when queried will return a zero (0) if off or a one (1) if active. Parameters are returned in ASCII format, FORM 4. This format varies in length from 1 to 24 characters-per-value.
Programming Examples Measurement Setup Examples 280 290 300 310 320 330 340 350 360 370 380 390 7-22 ENTER @Nwa;Flag PRINT "Flag =";Flag;" "; IF Flag=1 THEN PRINT "Averaging ON" ELSE PRINT "Averaging OFF" END IF ! OUTPUT @Nwa;"OPC?;WAIT;" ENTER @Nwa;Reply LOCAL @Nwa END ! Test flag and print analyzer state ! Wait for the analyzer to finish ! Read the 1 when complete ! Release HP-IB control Chapter 7
Programming Examples Measurement Calibration Examples Measurement Calibration Examples This section shows you how to coordinate a measurement calibration over GPIB. You can use the following sequence for performing either a manual measurement calibration, or a remote measurement calibration via GPIB: 1. Select the calibration type. 2. Measure the calibration standards. 3. Declare the calibration done.
Programming Examples Measurement Calibration Examples NOTE For type-N connectors, the sex of the connector that the calibration standard will mate to must be observed. These programs assume that the connector on PORT 1 (REFLECTION port on ET models) is a female test port and that PORT 2 (TRANSMISSION port on ET models) is a male test port. Calibration Kits The calibration kit tells the analyzer what standards to expect at each step of the calibration.
Programming Examples Measurement Calibration Examples Running the Program This program does not modify the instrument state in any way. Before running the program, set up the desired instrument state. NOTE The program assumes that the test ports have a 7-mm, type-N 50 Ω, 3.5-mm, or 2.4-mm interface or an adapter set using a 7-mm, type-N 50 Ω, 3.5-mm, or 2.4-mm interface. The prompts appear just above the message line on the analyzer display.
Programming Examples Measurement Calibration Examples 430 440 450 460 470 480 490 500 510 520 530 540 550 560 570 580 590 600 610 620 630 640 650 660 670 680 690 700 710 720 730 740 750 760 770 780 790 800 810 ! OUTPUT @Nwa;”MENUOFF;” ! Turn softkey menu off.
Programming Examples Measurement Calibration Examples Running the Program This program does not modify the instrument state in any way. Before running the program, set up the desired instrument state. NOTE The program assumes that the test ports have a 7-mm, type-N 50 Ω, 3.5-mm, or 2.4-mm interface or an adapter set using a 7-mm, type-N 50 Ω, 3.5-mm, or 2.4-mm interface. The prompts appear just above the message line on the analyzer display.
Programming Examples Measurement Calibration Examples 430 ! 440 OUTPUT @Nwa;”CALIS111;” ! S11 1 port CAL initiated 450 ! 460 ! Open reflection CAL 470 CALL Waitforkey(“CONNECT OPEN AT PORT 1 (REFLECTION PORT)”) 480 IF Kit=2 THEN 490 OUTPUT @Nwa;”CLASS11A;” 500 OUTPUT @Nwa;”OPC?;STANB;” ! Select the second standard, B 510 ELSE 520 OUTPUT @Nwa;”OPC?;CLASS11A;” ! Only one standard in class 530 END IF 540 ENTER @Nwa;Reply ! Read in the 1 returned 550 OUTPUT @Nwa;”DONE;” ! Finished with class standards 560 ! 570
Programming Examples Measurement Calibration Examples 1010 INPUT A$ 1020! 1030 OUTPUT 717;”PG;” 1040 SUBEND Chapter 7 ! Read ENTER key press ! Clear analyzer display 7-29
Programming Examples Measurement Calibration Examples Example 2C: Enhanced Response Calibration The following is an outline of the program’s processing sequence: • An I/O path is assigned for the analyzer. • The system is initialized. • The appropriate calibration kit is selected. • The softkey menu is deactivated. • The enhanced response calibration sequence is run. • The enhanced response calibration data is saved. • The softkey menu is activated.
Programming Examples Measurement Calibration Examples 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 570 580 590 600 610 620 630 640 650 660 670 680 690 700 710 720 730 740 750 760 770 780 790 800 810 820 CLEAR @Nwa ! SDC (Selected Device Clear) ! Select CAL kit type PRINT “Enter one of the following numbers:” PRINT “1 to use the HP 85031B kit (8753),” PRINT “2 to use the HP 85032B/E kit (8753),” PRINT “3 to use the HP 85052B/
Programming Examples Measurement Calibration Examples 830 ! 840 OUTPUT @Nwa;”REFD;” ! Reflection portion complete 850 ! 860 OUTPUT @Nwa;”TRAN;” ! Transmission portion begins 870 ! 880 CALL Waitforkey(“CONNECT THRU BETWEEN PORTS”) 890 DISP “MEASURING FORWARD TRANSMISSION” 900 OUTPUT @Nwa;”OPC?;FWDT;” ! Measure (forward) transmission 910 ENTER @Nwa;Reply ! Read in the 1 returned 920 ! 930 OUTPUT @Nwa;”OPC?;FWDM;” ! Measure (forward) load match 940 ENTER @Nwa;Reply ! Read in the 1 returned 950 ! 960 OUTPUT @Nw
Programming Examples Measurement Calibration Examples Example 2D: Full 2-Port Measurement Calibration NOTE This program is only valid on ES model analyzers. A full 2-port calibration removes both the forward- and reverse-error terms so that all four S-parameters of the device under test can be measured. The following is an outline of the program’s processing sequence: • An I/O path is assigned for the analyzer. • The system is initialized. • The appropriate calibration kit is selected.
Programming Examples Measurement Calibration Examples BASIC Program Listing 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 7-34 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! This program guides the operator through a full 2-port calibration.
Programming Examples Measurement Calibration Examples 570 ENTER @Nwa;Reply ! Read in the 1 returned 580 OUTPUT @Nwa;”DONE;” ! Finished with class standards 590 ! 600 ! S11 short CAL 610 CALL Waitforkey(“CONNECT SHORT AT PORT 1”) 620 IF Kit=2 THEN 630 OUTPUT @Nwa;”CLASS11B;” 640 OUTPUT @Nwa;”OPC?;STANB;” ! Select the second standard, B 650 ELSE 660 OUTPUT @Nwa;”OPC?;CLASS11B;” ! Only one standard in class 670 END IF 680 ENTER @Nwa;Reply ! Read in the 1 returned 690 OUTPUT @Nwa;”DONE;” ! Finished with class s
Programming Examples Measurement Calibration Examples 1150 1160 1170 1180 1190 1200 1210 1220 1230 1240 1250 1260 1270 1280 1290 1300 1310 1320 1330 1340 1350 1360 1370 1380 1390 1400 1410 1420 1430 1440 1450 1460 1470 1480 1490 1500 1510 1520 1530 1540 1550 1560 1570 1580 1590 1600 1610 1620 1630 1640 1650 1660 1670 1680 1690 1700 1710 1720 7-36 DISP “COMPUTING REFLECTION CALIBRATION COEFFICIENTS” ! OUTPUT @Nwa;”REFD;” ! Reflection portion complete OUTPUT @Nwa;”TRAN;” ! Transmission portion begins !
Programming Examples Measurement Calibration Examples 1730 1740 1750 1760 1770 1780 1790 1800 1810 1820 ! ************************* Subroutines ******************************* ! SUB Waitforkey(Lab$) ! Position and display prompt on the analyzer display OUTPUT 717;”PG;PU;PA390,3700;PD;LB”;Lab$;”, PRESS ENTER WHEN READY;”&CHR$(3) ! DISP Lab$&” Press ENTER when ready”; ! Display prompt on console INPUT A$ ! Read ENTER keypress on controller OUTPUT 717;”PG;” ! Clear analyzer display SUBEND Chapter 7 7-37
Programming Examples Measurement Calibration Examples Example 2E: Adapter Removal Calibration NOTE This program is only valid on ES model analyzers. This program shows how to accurately measure a “non-insertable” 2-port device. A device is termed “non-insertable” if its connectors do not match those of the analyzer front panel. More information on the adapter removal technique can be found in your analyzer’s user’s guide.
Programming Examples Measurement Calibration Examples BASIC Program Listing 1 ! This program demonstrates how to do adapter removal over HP-IB.
Programming Examples Measurement Calibration Examples 57 58 59 60 61 62 63 DISP “Computing cal coefficients...
Programming Examples Measurement Calibration Examples Example 2F: Using Raw Data to Create a Calibration (Simmcal) NOTE This program is only valid on ES model analyzers. This program simulates a full 2-port cal by measuring the raw data for each “standard” and then loading it later into the appropriate arrays. The program can be adapted to create additional calibrations using the same arrays. It uses the analyzer’s default 7-mm cal kit.
Programming Examples Measurement Calibration Examples which is immediately replaced with the previously measured raw data from the array corresponding to that measurement. • The analyzer uses the raw data to compute the error coefficients and is placed back into continuous sweep mode. • The analyzer is released from remote control and the program ends. Running the Program The system is initialized, the number of points is set to 51, and the 7-mm calibration kit is selected.
Programming Examples Measurement Calibration Examples 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 570 580 590 600 610 620 630 640 650 660 670 680 690 700 710 720 730 740 750 760 770 780 790 800 810 820 830 DIM Array09(1:51,1:2) ! reverse LOAD DIM Array10(1:51,1:2) ! reverse ISOLATION if necessary DIM Array11(1:51,1:2) ! reverse LOAD MATCH DIM Array12(1:51,1:2) ! reverse TRANS ! ! Initialize the system ASSIGN @Nwa TO 716 ! Assig
Programming Examples Measurement Calibration Examples 840 850 860 870 880 890 900 910 920 930 940 950 960 970 980 990 1000 1010 1020 1030 1040 1050 1060 1070 1080 1090 1100 1110 1120 1130 1140 1150 1160 1170 1180 1190 1200 1210 1220 1230 1240 1250 1260 1270 1280 1290 1300 1310 1320 1330 1340 1350 1360 1370 1380 1390 1400 1410 7-44 BEEP OUTPUT @Nwa;”OUTPRAW1” ENTER @Nwa;Array07(*) ! INPUT “CONNECT SHORT AT PORT 2”,X OUTPUT @Nwa;”opc?;sing;” ENTER @Nwa;X BEEP OUTPUT @Nwa;”OUTPRAW1” ENTER @Nwa;Array08(*) ! I
Programming Examples Measurement Calibration Examples 1420 1430 1440 1450 1460 1470 1480 1490 1500 1510 1520 1530 1540 1550 1560 1570 1580 1590 1600 1610 1620 1630 1640 1650 1660 1670 1680 1690 1700 1710 1720 1730 1740 1750 1760 1770 1780 1790 1800 1810 1820 1830 1840 1850 1860 1870 1880 1890 1900 1910 1920 1930 1940 1950 1960 1970 1980 1990 ! Now download and let analyzer compute the full 2-port error ! correction. ! ! First select the calibration type desired.
Programming Examples Measurement Calibration Examples 2000 2010 2020 2030 2040 2050 2060 2070 2080 2090 2100 2110 2120 2130 2140 2150 2160 2170 2180 2190 2200 2210 2220 2230 2240 2250 2260 2270 2280 2290 2300 2310 2320 2330 2340 2350 2360 2370 2380 2390 2400 2410 2420 2430 2440 2450 2460 2470 2480 2490 2500 2510 2520 2530 2540 2550 2560 2570 7-46 OUTPUT @Nwa;”CLASS22C;OPC?;STANA;” END IF ENTER @Nwa;Reply OUTPUT @Nwa;”INPUCALC09”,Array09(*) ! ! Tell analyzer that reflection measurements done.
Programming Examples Measurement Calibration Examples 2580 2590 2600 2610 2620 2630 2640 2650 2660 2670 2680 2690 2700 2710 2720 DISP “COMPUTING CALIBRATION COEFFICIENTS” ! ! Tell analyzer to compute full 2-port error coefficients. ! OUTPUT @Nwa;”OPC?;SAV2;” ENTER @Nwa;Reply DISP “DONE” ! ! Put analyzer back into continuous sweep so that you can verify ! the proper application of the error correction.
Programming Examples Measurement Calibration Examples Example 2G: Take4 — Error Correction Processed on an External PC NOTE This program is only valid on ES model analyzers. Take4 mode offloads the error correction process to an external PC in order to increase throughput on the analyzer. When using the analyzer with error correction turned off, it will only sweep in one direction, collecting data for the parameter selected under the Meas key.
Programming Examples Measurement Calibration Examples 5. Connect the device under test (DUT). The instrument is now configured for the program to read the correction arrays and apply the Take4 mode. Programming steps: 6. Extract the twelve calibration arrays using the commands OUTPCALC[01-12]. 7. Enable Take4 mode using the command TAKE4ON. 8. Take a sweep and extract the four pre-raw or raw arrays.
Programming Examples Measurement Calibration Examples Table 7-9 Measurement Speed: Data Output and Error Correction to an External PC Mode (data output to external PC) Time (secs) 1-parameter Time (secs) 2-parameters Time (secs) 3-parameters Time (secs) 4-parameters Full band, IF BW=3700, 201 points, SPUR AVOID OFF , RAW OFFSET OFF , Blank Display ON Take4 0.780 0.780 0.780 0.780 Normal error correction 0.712 0.907 0.970 1.03 Narrow band, IF BW=3700, 201 points, CF=1.
Programming Examples Measurement Calibration Examples • The error-corrected (calibrated) S-parameters are calculated using the pre-raw data and calibration coefficients. • The calibrated data for the S-parameter selected earlier is sent into the analyzer and saved to the analyzer's internal memory. • A new sweep is initiated and the loop repeats if there has been no keyboard activity. • Upon exit of the loop, the analyzer is set up to display the active measurement trace.
Programming Examples Measurement Calibration Examples 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 ! ! Initialize Arrays and Variables ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! INTEGER Hdr,Length COMPLEX S11x,S21x,S12x,S22x,D COMPLEX Calcoe(1:1601,1:12) ! Cal Coefficients COMPLEX S11r(1:1601) ! Pre-Raw Data COMPLEX S21r(1:1601) ! Pre-Raw Data COMPLEX
Programming Examples Measurement Calibration Examples 76 ! 77 ! Choose an S-Parameter to send back to the Network Analyzer 78 ! 79 REPEAT 80 INPUT “SELECT S-Parameter: 1=S11, 2=S21, 3=S12, 4=S22”,Disp 81 SELECT Disp 82 CASE 1 83 Title$=”S11” 84 Again=0 85 CASE 2 86 Title$=”S21” 87 Again=0 88 CASE 3 89 Title$=”S12” 90 Again=0 91 CASE 4 92 Title$=”S22” 93 Again=0 94 CASE ELSE 95 Again=1 96 END SELECT 97 UNTIL Again=0 98 OUTPUT @Nwa;”TITL”””&Title$&”””;” 99 ! 100 ! For this demonstration, we will return correc
Programming Examples Measurement Calibration Examples 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 7-54 OUTPUT @Nwdat;S11a(*) ! Send corrected S11 data to analyzer OR CASE 2 ! OUTPUT @Nwdat;S21a(*) ! Send corrected S21 data to analyzer OR CASE 3 ! OUTPUT @Nwdat;S12a(*) ! Send corrected S12 data to analyzer OR CASE 4 OUTPU
Programming Examples Measurement Calibration Examples 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 227 228 229 230 231 232 233 234 235 236 REDIM S12a(1:Numpoints) REDIM S22a(1:Numpoints) REDIM S11r(1:Numpoints) REDIM S21r(1:Numpoints) REDIM S12r(1:Numpoints) REDIM S22r(1:Numpoints) FOR Cx=1 TO 12 OUTPUT @Nwa;Out_cmd$(Cx) ! OUTPCALCXC commands ENTER @Nwdat;Hdr,Length ! Read the header using FORMAT OFF mode FOR N=1
Programming Examples Measurement Data Transfer Examples Measurement Data Transfer Examples There are two methods that can be used to read trace information from the analyzer: • selectively, using the trace markers • completely, using the trace-data array If only specific information (such as a single point on the trace or the result of a marker search) is required, the marker output command can be used to read the information.
Programming Examples Measurement Data Transfer Examples point tested, a number indicating the limit-test results, and then the upper and lower limits at that stimulus point (if available). The number indicating the limit results is a −1 for no test, 0 for fail, and 1 for pass. If there are no limits available, the analyzer transmits zeros. For this example, we delete the limit test information and keep the stimulus information.
Programming Examples Measurement Data Transfer Examples Running the Program Run the program. The analyzer is preset and a sweep is taken. Marker 1 is enabled and positioned on the largest value in the trace. The marker is output to the controller and printed on the controller display. The analyzer is returned to local control. Position the marker using the front panel knob or data-entry keys, and compare the displayed value on the analyzer with the value that was transmitted to the controller.
Programming Examples Measurement Data Transfer Examples Example 3B: Data Transfer Using FORM 4 (ASCII Transfer) This example shows you how to transfer a trace array from the analyzer using FORM 4, an ASCII data transfer.
Programming Examples Measurement Data Transfer Examples • The trace-data array is allocated. • The trace length is set to 11. • The selected frequency span is swept once. • The FORM 4, ASCII format is set. • The formatted trace is read from the analyzer and displayed. • The frequency increments between the points are calculated. • The marker is activated and placed at the lowest frequency of the analyzer (50 MHz). • The instrument is returned to local control and the program ends.
Programming Examples Measurement Data Transfer Examples 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 ! Trace values are two elements per point, display format dependent DIM Dat(1:11,1:2) ! Trace data array ! OUTPUT @Nwa;"POIN 11;" ! Set trace length to 11 points OUTPUT @Nwa;"OPC?;SING;" ! Single sweep mode and wait ENTER @Nwa;Reply ! Read reply ! OUTPUT @Nwa;"FORM4;" ! Set form 4 ASCII format
Programming Examples Measurement Data Transfer Examples Example 3C: Data Transfer Using Floating-Point Numbers This example program illustrates data transfer using FORM 3 in which data is transmitted in the floating-point formats. FORM 2 is nearly identical except for the IEEE 32-bit format of 4 bytes-per-value. FORM 5 reverses the order of the bytes to conform with the PC conventions for defining a real number. The block-data formats have a four-byte header.
Programming Examples Measurement Data Transfer Examples 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 ABORT 7 ! Generate an IFC ( Interface Clear) CLEAR @Nwa ! SDC (Selected Device Clear) OUTPUT @Nwa;"OPC?;PRES;" ! Preset the analyzer and wait ENTER @Nwa;Reply ! Read the 1 when completed ! INTEGER Dheader,Dlength ! Integer variables for header info Numpoints=11 ! Number of points in the
Programming Examples Measurement Data Transfer Examples Example 3D: Data Transfer Using Frequency-Array Information Example 3C was used to read in the trace-data array. Example 3D explains how to use the limit-test array to read the corresponding frequency values for the completed trace array into the controller. The analyzer is set to sweep from 50 MHz to 200 MHz in log-frequency mode with the number of points in the trace set to 11.
Programming Examples Measurement Data Transfer Examples BASIC Program Listing 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 ! This program shows how to read in a trace and create the frequency ! value associated with the trace data value. EXAMP3C is used to ! read in the data from the analyzer.
Programming Examples Measurement Data Transfer Examples 570 580 590 600 610 620 630 640 650 660 7-66 OUTPUT @Nwa;"MARKDISC;" ! Discrete marker mode OUTPUT @Nwa;"MARK1 10.
Programming Examples Measurement Data Transfer Examples Example 3E: Data Transfer Using FORM 1 (Internal-Binary Format) FORM 1 is used for rapid I/O transfer of analyzer data. It contains the least number of bytes-per-trace and does not require re-formatting in the analyzer. This format is more difficult to convert into a numeric array in the controller. The following is an outline of the program’s processing sequence: • An I/O path is assigned for the analyzer. • The system is initialized.
Programming Examples Measurement Data Transfer Examples 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 7-68 ! OUTPUT @Nwa;"OPC?;SING;" ! Single sweep and wait ENTER @Nwa;Reply ! Read the 1 when completed ! OUTPUT @Nwa;"FORM1;" ! Select internal binary format OUTPUT @Nwa;"OUTPDATA;" ! Output error corrected data ! ! Read in the data header two characters and two bytes for length ! "#,2A" ! # no early termination, terminate when ENTER
Programming Examples Measurement Process Synchronization Examples Measurement Process Synchronization Examples Figure 7-1 Status Reporting Structure Status Reporting The analyzer has a status reporting mechanism, illustrated in Figure 7-1, that provides information about specific analyzer functions and events. The status byte is an 8-bit register with each bit summarizing the state of one aspect of the instrument.
Programming Examples Measurement Process Synchronization Examples The status byte summarizes the error queue, as mentioned before. It also summarizes two event-status registers that monitor specific conditions inside the instrument. The status byte also has a bit (6) that is set when the instrument is issuing a service request over GPIB, and a bit (0) that is set in the event-status register when the analyzer has data to send out over GPIB.
Programming Examples Measurement Process Synchronization Examples The error queue will hold up to 20 errors until all the errors are read out or the instrument is preset. It is important to clear the error queue whenever errors are detected. Otherwise, old errors may be mistakenly associated with the current instrument state. Press System and then the unlabeled key several times quickly and watch the display. The number of errors observed should correspond to the number of times you pressed the key.
Programming Examples Measurement Process Synchronization Examples Example 4B: Generating Interrupts It is also possible to generate interrupts using the status-reporting mechanism. The status-byte bits can be enabled to generate a service request (SRQ) when set. In turn, the instrument controller can be set up to generate an interrupt on the SRQ and respond to the condition which caused the SRQ. To generate an SRQ, a bit in the status byte is enabled using the command SREn.
Programming Examples Measurement Process Synchronization Examples • If bit 5 in the event-status register is not set, the program prints: SYNTAX ERROR BIT NOT SET. • The SRQ interrupt is re-enabled on the bus. • At the finish, the interrupt is deactivated. • The analyzer is released from remote control and the program ends. Running the Program Run the program. The computer will preset the analyzer, then pause for a second or two.
Programming Examples Measurement Process Synchronization Examples 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 570 580 590 600 610 620 630 640 650 660 670 680 690 700 710 720 730 740 750 760 770 7-74 Stat=SPOLL(@Nwa) ! Clear any pending SRQs ENABLE INTR 7;2 ! Set interrupt on HP-IB bit 2 (SRQ) ! DISP "Waiting for bad syntax" WAIT 2 ! Pause for 2 seconds ! OUTPUT @Nwa;"STIP 2GHZ;;" ! Send bad STOP command syntax ! WAIT 2 ! Pause for 2 seconds D
Programming Examples Measurement Process Synchronization Examples Example 4C: Power Meter Calibration NOTE This example program will not work with HP BASIC for Windows. For increased accuracy of the analyzer’s PORT 1-output power, a power meter calibration is available. This measurement-accuracy enhancement technique is described in your analyzer’s user’s guide. The example described will perform the sample and sweep calibration under GPIB remote control.
Programming Examples Measurement Process Synchronization Examples NOTE The frequency span of this example program may need to be modified in order to correspond to the frequency ranges of your analyzer. • The reference channel is measured. • The power meter calibration array is allocated. • The power meter model is chosen. • The status registers are cleared. • The request-control summary bit is enabled. • The pass-control mode is enabled. • A calibration sweep is taken to begin the sequence.
Programming Examples Measurement Process Synchronization Examples BASIC Program Listing 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 ! This routine does a power meter cal using pass control. ! A measurement cycle takes place on each point of the trace.
Programming Examples Measurement Process Synchronization Examples 570 OUTPUT @Nwa;"USEPASC;" ! Enable pass control operation 580 OUTPUT @Nwa;"TAKCS;" ! Take Cal Sweep 590 ! 600 FOR I=1 TO Numpoints*Numreads+1 ! Points * Number of readings plus 1 610 ! Serial poll does not place analyzer in remote operation 620 ! and does not require the analyzer to process the command.
Programming Examples Analyzer System Setup Examples Analyzer System Setup Examples Saving and Recalling Instrument States NOTE The most efficient option for storing and recalling analyzer states is using the analyzer’s internal registers to save the CAL data. Recalling these registers is the fastest solution to restoring analyzer setups. See your analyzer’s user’s guide for detailed information on the analyzer's internal storage registers.
Programming Examples Analyzer System Setup Examples • The analyzer is released from remote control. • The instrument state is changed by the operator. • The learn string is sent back to the analyzer. • The analyzer is released from remote control and the program ends. Running the Program Run the program. When the program stops, change the instrument state and press Enter on the controller. The analyzer will be returned to its original state by using the learn string.
Programming Examples Analyzer System Setup Examples Example 5B: Reading Calibration Data This example demonstrates: • how to read measurement calibration data out of the network analyzer • how to read it back into the analyzer • how to determine which calibration is active The data used to perform measurement-error correction is stored inside the analyzer in one (or more) of twelve calibration-coefficient arrays.
Programming Examples Analyzer System Setup Examples • The elements from each calibration array are read in. • The next calibration array is requested until all the arrays have been read. • The calibration type is sent to the analyzer. • Each calibration array is sent. • The calibration is activated. • The analyzer is released from remote control and the program ends. Running the Program Before executing the program, perform a calibration. The program is able to detect which type of calibration is active.
Programming Examples Analyzer System Setup Examples 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 570 580 590 600 610 620 630 640 650 660 670 680 690 700 710 ! READ Calt$,Numb ! Read CAL type from data statement IF Numb=0 THEN GOTO 690 ! If no CAL type is present Exit OUTPUT @Nwa;Calt$;"?;" ! Query if CAL type is active ENTER @Nwa;Active ! Read 1 if active IF NOT Active THEN GOTO 250 ! Load another CAL type and re-try ! P
Programming Examples Analyzer System Setup Examples Example 5C: Saving and Restoring the Analyzer Instrument State NOTE The instrument state may also be stored in the analyzer’s internal registers. This is the fastest and most efficient method for toggling between instrument states. This example is for use when the analyzer’s internal memory is full, or when the are other internal-memory limitations.
Programming Examples Analyzer System Setup Examples • The learn string is read from the disk file and output to the analyzer. • The calibration array is read in from the disk file and stored in the analyzer. • The analyzer is returned to continuous-sweep mode. • The analyzer is released from remote control and the program ends. Running the Program Setup the analyzer and perform a through calibration. Run the program.
Programming Examples Analyzer System Setup Examples 330 OUTPUT @Nwa;”FORM3;” ! Form 3 64 bit floating point data 340 OUTPUT @Nwa;”OUTPCALC01;” ! Request the cal array 350 ! 360 ! Read the #A and 2 byte length as integers 370 ENTER @Nwa_bin;Header,Cal_len,Cal_array(*) ! Read cal array data 380 ! 390 ! Write instrument state data to disk file 400 File$=”A:DATAFILE” ! Example HP BASIC for Windows data file 410 ! File$ = “DATAFILE:,1406” ! Example Workstation HP BASIC data file 420 CREATE BDAT File$,1,Str_len+C
Programming Examples List-Frequency and Limit-Test Table Examples List-Frequency and Limit-Test Table Examples Using List Frequency Sweep Mode The analyzer normally takes data points spaced at regular intervals across the overall frequency range of the measurement. For example, for a 2 GHz frequency span using 201 points, data will be taken at intervals of 10 MHz.
Programming Examples List-Frequency and Limit-Test Table Examples Example 6A: Setting Up a List Frequency Table in Stepped List Mode The purpose of this example is to show how to create a list frequency table in stepped list mode and then transmit the table to the analyzer. In the stepped list mode, the source steps to the next frequency point where it stops long enough for the analyzer to take data. For electrically long devices, this mode ensures that the measurement will not be impacted by IF delay.
Programming Examples List-Frequency and Limit-Test Table Examples 130 ABORT 7 ! Generate an IFC (Interface Clear) 140 CLEAR @Nwa ! SDC (Selective Device Clear) 150 OUTPUT @Nwa;”OPC?;PRES;” ! Preset the analyzer and wait 160 ENTER @Nwa;Reply ! Read the 1 when complete 170 ! 180 ! Edit the list frequency table and set its type 190 ! LISTTYPE = LSTP (stepped list mode) 200 ! 210 OUTPUT @Nwa;”EDITLIST;LISTTYPELSTP;” 220 ! 230 OUTPUT @Nwa;”CLEL;” ! Clear the existing list frequencies 240 ! 250 INPUT “Number of s
Programming Examples List-Frequency and Limit-Test Table Examples Example 6B: Setting Up a List Frequency Table in Swept List Mode The purpose of this example is to show how to create two tables: a list frequency table in swept list mode, and a limit-test table. Both tables are then transmitted to the analyzer. In the swept list mode, the source sweeps through each segment, with the analyzer taking data during the sweep. This can increase throughput by up to 6 times over a stepped sweep.
Programming Examples List-Frequency and Limit-Test Table Examples BASIC Program Listing 10 ! This program creates a swept list table for a specific filter measurement. 20 ! The program first builds a list frequency table from a hardcoded set of 30 ! list segments. It then builds a limit table based on the same hardcoded 40 ! data. When modifying the table data below, make sure that no two segments 50 ! overlap in frequency.
Programming Examples List-Frequency and Limit-Test Table Examples 570 580 590 600! 610! 620 630! 640! 650! 660! 670 680! 690! 700! 710! 720 730 740! 750! 760 770! 780 790 800 810 820 830 840! 850! 860 870 880! 890 900 910 920 930 940 950 960! 970! 980! 990 1000 1010 1020 1030 1040 1050 1060 1070 1080 1090 1100 1110 1120 1130 1140 7-92 ENTER @Nwa;Done Numb=SIZE(Listtable,1) OUTPUT @Nwa;”HOLD;” ! Number of segments in list table ! Hold mode allows faster set up For ET model analyzers, comment out this nex
Programming Examples List-Frequency and Limit-Test Table Examples 1150 1160 1170! 1180 1190 NEXT I OUTPUT @Nwa;”EDITDONE;LIMILINEon;LIMITESTon;” LOCAL @Nwa END Chapter 7 7-93
Programming Examples List-Frequency and Limit-Test Table Examples Example 6C: Selecting a Single Segment from a Table of Segments This example program demonstrates how to define a single segment as the operating-frequency range of the analyzer from a table of segments stored in the controller. The program assumes that a list frequency table has already been entered into the analyzer, either manually, or using the program in Example 6A or Example 6B.
Programming Examples List-Frequency and Limit-Test Table Examples BASIC Program Listing 10 ! This program shows how to select a single segment from a list 20 ! frequency sweep and activate it as the sweep. The list frequency 30 ! table is read from the analyzer and displayed on the computer 40 ! screen. The operator is prompted to select a segment and the 50 ! program then activates it. All the segments are activated upon 60 ! completion.
Programming Examples List-Frequency and Limit-Test Table Examples 560 570 580 590 600 610 620 630 640 650 660 670 680 OUTPUT @Nwa;”POIN;” ! Send number of points to display OUTPUT @Nwa;”OUTPACTI;” ! Output active function value ENTER @Nwa;Table(I,3) ! Read number of points ! IF I=18 THEN ! Pause if more than 17 segments INPUT “PRESS RETURN FOR MORE”,A$ ! Read Return to continue END IF ! Print new header for segment data IMAGE 4D,6X,4D.6D,3X,4D.
Programming Examples List-Frequency and Limit-Test Table Examples • The number of limits is requested. • The limit table is created. • The string array of limit types is created. • The operator is prompted to enter the new limit values. • The new limit table is sent back to the analyzer. • The limit line is activated. • The limit test is activated. • The analyzer is returned to local control and the program ends.
Programming Examples List-Frequency and Limit-Test Table Examples 230 ! 240 ! Print out the header for the table 250 PRINT USING “10A,20A,15A,20A”;”SEG”,”STIMULUS (MHz)”,”UPPER (dB)”,”LOWER (dB)”,”TYPE” 260 ! 270 ! Prompt the operator to enter the limit values 280 FOR I=1 TO Numb ! Cycle through the limits 290 GOSUB Loadlimit ! Go read limit values 300 NEXT I ! Next limit value 310 ! 320 ! Allow the operator to edit the array entered 330 LOOP ! Cycle to edit limit lines 340 INPUT “DO YOU WANT TO EDIT? Y OR
Programming Examples List-Frequency and Limit-Test Table Examples Example 6E: Performing PASS/FAIL Tests While Tuning The purpose of this example is to demonstrate the use of the limit/search-fail bits in event-status register B, to determine whether a device passes the specified limits. Limits can be entered manually, or using Example 6D. The limit/search-fail bits are set and latched when limit testing or a marker search fails.
Programming Examples List-Frequency and Limit-Test Table Examples Running the Program NOTE This program assumes a response calibration (through calibration) or a full 2-port calibration has been performed prior to running the program. Set up a limit-test table on channel 1 for a specific device either manually, or using the program in Example 6D. Run the program, and enter the number of passed sweeps desired for qualification. After entering the qualification number, connect the device.
Programming Examples List-Frequency and Limit-Test Table Examples 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 ! IF Pass
Programming Examples Report Generation Examples Report Generation Examples The analyzer has three operating modes with respect to GPIB. These modes can be changed by accessing softkeys in the Local menu. System-controller mode is used when no computer is present. This mode allows the analyzer to control the system.
Programming Examples Report Generation Examples If a problem arises with the plotter, such as no pen or paper, the analyzer cannot detect the situation because it only has a one-way path of communication. Hence, the analyzer will attempt to continue plotting until the operator intervenes and aborts the plot by pressing the analyzer’s Local key. Pressing Local will do the following: • Aborts the plot. • Causes the warning message CAUTION: PLOT ABORTED.
Programming Examples Report Generation Examples Example 7B: Controlling Peripherals Using Pass-Control Mode NOTE This example program will not work with HP BASIC for Windows. If the analyzer is in pass-control mode and it receives a command telling it to plot, print, control a power meter, or store/load to disk, it sets bit 1 in the event-status register to indicate that it requires control of the bus.
Programming Examples Report Generation Examples • The program loops until the SRQ bit is set. • The status byte is read with a serial poll. • The program tests for bit 6, SRQ. • If SRQ is detected, the program tests for pass control (bit 5 of the status byte). • If the analyzer requests control, the system controller gives the analyzer control of the bus. • The program loops and waits for the analyzer to complete the print dump. • The analyzer reads the interface.
Programming Examples Report Generation Examples 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 ABORT 7 ! Generate an IFC ( Interface Clear) CLEAR @Nwa ! SDC (Selected Device Clear) ! OUTPUT @Nwa;”OPC?;SING;” ! Single sweep and stop for print ENTER @Nwa;Reply ! Read in “1” when complete ! OUTPUT @Nwa;”CLES;” ! Clear status registers OUTPUT @Nwa;”ESE2;” ! Enable bit 1 of ESR request control OU
Programming Examples Report Generation Examples Example 7C: Printing with the Parallel Port This program will select the parallel port and program the analyzer to copy its display to a printer. There are a number of commands associated with the serial and parallel ports which allow you to configure output modes such as the baud rate and the handshake type used by the port and the printer. In this example, the parallel port is configured by the program.
Programming Examples Report Generation Examples 120 130 140 150 160 170 180 190 200 210 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 ! OUTPUT @Nwa;”OPC?;SING;” ! Single sweep and stop for print ENTER @Nwa;Reply ! Read the 1 when complete ! OUTPUT @Nwa;”CLES;” ! Clear status registers OUTPUT @Nwa;”ESNB128;” ! Enable copy complete OUTPUT @Nwa;”SRE4;” ! Enable Event Status Register B OUTPUT @Nwa;”PRNTRAUTF OFF;” ! Set printer auto feed off OUTPUT @Nwa;”PRNTYPLJ;” ! Select LaserJet printer O
Programming Examples Report Generation Examples Example 7D: Plotting to a File and Transferring the File Data to a Plotter Another report-generation technique is to transfer the plotter string to a disk file, and retrieve and plot the disk file at another time. Test time is increased when a hardcopy plot occurs during the measurement process. It may be more convenient to plot the data at another site or time.
Programming Examples Report Generation Examples prompts Plotter output complete. Press RETURN to store on disk. Pressing Return causes the data to be stored to disk. Once this task is complete, the program prompts once more, Plot to file is complete. Press Return to plot. After pressing Return again, the string output is sent to the plotter and the plot begins. Once the plot is complete, the program prompts Plot is complete. End of program. and the analyzer begins sweeping and returns to local control.
Programming Examples Report Generation Examples Utilizing PC-Graphics Applications Using the Plot File You can use Example 7D to generate a plot that can be read into a PC and used in several different graphics generation programs. HP-GL is a commonly recognized graphic format and may be used to transfer information to PC application programs such as CorelDRAW!®, Lotus Freelance® and other graphics packages.
Programming Examples Report Generation Examples The plot file name is made up of four parts. The first three are generated automatically by the analyzer whenever a plot is requested: 1. the prefix “PLOT” 2. a two-digit sequence number in the range of 00 to 31 3. a two-letter output-format code to indicate the plot quadrant position: • • • • • LU (Left Upper) LL (Left Lower) RU (Right Upper) RL (Right Lower) FP (Full Page) For example, the first full page plot to a disk would be named “PLOT00FP.
Programming Examples Report Generation Examples BASIC Program Listing 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 ! This example program reads and plots files which have been stored on ! a LIF formatted disk by the analyzer.
Programming Examples Report Generation Examples 570 DIM Hpglinit$[80] ! Printer HPGL initialization string 580 DIM Srch$[60] ! Search string for plot filenames 590 DIM Esc_chr$[1] ! Escape character ASCII 27 600 INTEGER Plt_arry1(1:32767) ! Plotter command array 610 INTEGER Plt_arry2(1:2,1:32767) ! Additional plot arrays if required 620 INTEGER Plttr ! Plotter for output 630 INTEGER Prntr ! Printer for output 640 INTEGER Outputdvc ! Output device selected 650 INTEGER Root_mtch ! Root plot file flag 660 INTE
Programming Examples Report Generation Examples 1150 1160 1170 1180 1190 1200 1210 1220 1230 1240 1250 1260 1270 1280 1290 1300 1310 1320 1330 1340 1350 1360 1370 1380 1390 1400 1410 1420 1430 1440 1450 1460 1470 1480 1490 1500 1510 1520 1530 1540 1550 1560 1570 1580 1590 1600 1610 1620 1630 1640 1650 1660 1670 1680 1690 1700 1710 1720 ! Define device selection flags to determine plotter or printer ! Select device with 1 and set Outputdvc to define it Plttr=1 ! Select plotter for output Prntr=0 ! Select pr
Programming Examples Report Generation Examples 1730 1740 1750 1760 1770 1780 1790 1800 1810 1820 1830 1840 1850 1860 1870 1880 1890 1900 1910 1920 1930 1940 1950 1960 1970 1980 1990 2000 2010 2020 2030 2040 2050 2060 2070 2080 2090 2100 2110 2120 2130 2140 2150 2160 2170 2180 2190 2200 2210 2220 2230 2240 2250 2260 2270 2280 2290 2300 7-116 Flnm_idx=1 ! Initialize the Flnm$ array index Prfx_lngth=LEN(Prfx$) ! Find the length of the Prfx$ string ! ! Process each of the files in the Flnm$ array WHILE Flnm_
Programming Examples Report Generation Examples 2310 2320 2330 2340 2350 2360 2370 2380 2390 2400 2410 2420 2430 2440 2450 2460 2470 2480 2490 2500 2510 2520 2530 2540 2550 2560 2570 2580 2590 2600 2610 2620 2630 2640 2650 2660 2670 2680 2690 2700 2710 2720 2730 2740 2750 2760 2770 2780 2790 2800 2810 2820 ! Get number of records in file from I/O path status registers STATUS @Ldisc,3;Nmbr_rcrds ! ! Get record length STATUS @Ldisc,4;Rcrd_lngth ! ! Compute the number of words of data in the file Nmbr_wrds=Nm
Programming Examples Report Generation Examples Example 7F: Reading ASCII Disk Files to the Instrument Controller’s Disk File Another way to access the analyzer’s test results is to store the data onto a disk file from the analyzer. This operation generates an ASCII file of the analyzer data in a CITIFILE format. A typical file generated by Example 7F is shown below: CITIFILE A.01.00 #NA VERSION HP8753C.04.
Programming Examples Report Generation Examples the frequency-data calculations for a point. Two more records are skipped and the next is the first record representing data values. The data values are read in a loop until the values for the number of points have been recovered from the file. The data values are tabulated and printed out on the controller display. The following is an outline of the program’s processing sequence: • An I/O path is assigned to the analyzer. • The system is initialized.
Programming Examples Report Generation Examples BASIC Program Listing 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 ! This program shows how to store an ASCII data file in CITIFILE format ! and retrieve the data with the controller. The disk is written in the ! analyzer system and then moved to the controller disk and the data ! accessed.
Programming Examples Report Generation Examples 570 End_file: ! ! Reached the end of file 580 PRINT “End of File.
Programming Examples Mixer Measurement Example Mixer Measurement Example The program included in Example 8A is one of several mixer measurements discussed in your analyzer’s user’s guide. NOTE This example program is for use on any 8753ET/ES analyzer and on 8720E series analyzers with Option 089. Example 8A: Comparison of Two Mixers — Group Delay, Amplitude or Phase Using this program, you can measure how two mixers compare in terms of group delay, amplitude or phase. Refer to Figure 7-2.
Programming Examples Mixer Measurement Example The following is an outline of the program’s processing sequence: • I/O paths are assigned for the analyzer and external source. • The system is initialized. • The system operator is prompted for the LO and IF frequencies. • The external source frequency and power level are adjusted. • The analyzer's IF frequency settings and power level are adjusted. • The frequency offset mode settings are initialized and the mode is activated.
Programming Examples Mixer Measurement Example 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ! Request LO and IF frequency settings INPUT “Enter LO frequency in MHz”,Lofreq INPUT “Enter IF center frequency in MHz”,Cent INPUT “Enter IF frequency span in MHz”,Span ! ! Program source settings OUTPUT @Src;”Freq:CW”;Lofreq;”MHZ” OUTPUT @Src;”POW:STAT ON” OUTPUT @Src;”POWER:LEVEL 13 DBM
Programming Examples Mixer Measurement Example 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 OUTPUT @Nwa;”DATI;” ! DATA -> MEMORY GOSUB Connect_mut OUTPUT @Nwa;”DISPDDM;” ! Display DATA/MEM OUTPUT @Nwa;”AUTO;” ! Autoscale the display Again=0 CASE ELSE Again=1 END SELECT UNTIL Again=0 DISP “Program completed” LOCAL 7 ! Release HP-IB control STOP Connect_mut: ! Prompt system operator to replace mixer DISP “Remove calibration mixer, connect MUT, then press Continue” PAUSE RETURN END Chapter 7 7-125
Programming Examples Limit Line and Data Point Special Functions Limit Line and Data Point Special Functions The analyzer has special functions in the area of limit testing and in the detection of min/max data points within limit segments. The information in this section will teach you how to use these limit line and data point special functions.
Programming Examples Limit Line and Data Point Special Functions Table 7-11 Limit Line and Data Point Special Functions Commands Action Mnemonic Syntax ? Description MIN/MAX DATA DETECTION PER LIMIT SEGMENT Min/max recording MINMAX 2 1,0 Max values OUTPAMAX 1 Outputs max values for all limit line segments. OUTPAMAX values and OUTPAMIN values are both output using OUTPSEGAM. Min values OUTPAMIN 1 Outputs min values for all limit line segments.
Programming Examples Limit Line and Data Point Special Functions Table 7-11 Limit Line and Data Point Special Functions Commands Action Mnemonic Syntax ? Description LIMIT TEST STATUS BY CHANNEL Limit test: ch1 OUTPLIM1 1 Outputs status∗ of limit test for channel 1. Limit test: ch2 OUTPLIM2 1 Outputs status∗ of limit test for channel 2. LIMIT TEST STATUS BY SEGMENT Segment SELSEG 3 Selects the segment number for the OUTPSEGF and OUTPSEGM commands to report on.
Programming Examples Limit Line and Data Point Special Functions Figure 7-3 Limit Segments Versus Limit Lines Limit Segments The values in the table below were used to create the limit lines in Figure 7-3. Table 7-12 Limit Segment Table for Figure 7-3 Segment Num. Stimulus (Frequency) Upper Limit (dB) Lower Limit (dB) Limit Type Channel 1 1 200 MHz 2 −2 Flat Line (FL) 2* 500 MHz 2 −2 Single Point (SP) 3 1000 MHz 0.5 −0.
Programming Examples Limit Line and Data Point Special Functions Table 7-12 Limit Segment Table for Figure 7-3 Segment Num. Stimulus (Frequency) Upper Limit (dB) Lower Limit (dB) Limit Type * No test limit-segment is created. Note that if a single point limit is used to terminate slope lines, no test limit-segment is created. (See Figure 7-3: CH1, Seg4.) Also, if a single point limit is used to terminate a flat line, no test limit-segment is created. (See Figure 7-3: CH1, Seg2.
Programming Examples Limit Line and Data Point Special Functions Constants Used Throughout This Document The logic values attached to pass and fail indicators were chosen to be consistent with the current logic used in the standard OUTPLIML and OUTPLIMF commands. NOTE Table 7-14 Pass/Fail/No_Limit Status Constants Status Definition Status Indicator PASS 1 FAIL 0 NO_LIMIT −1 Table 7-14 is an interpretation of the Pass/Fail/No_Limit status constants.
Programming Examples Limit Line and Data Point Special Functions Example: Sending SELSEG3 and OUTPSEGF may return the following: 1 (segment number 3 passed) NOTE The output is ASCII. Currently, the formatting for integer numbers appears to append a trailing space. Output Pass/Fail Status for All Segments The GPIB command OUTPSEGAF will return the number of segments being reported, followed by pairs of data consisting of the segment number and its status.
Programming Examples Limit Line and Data Point Special Functions Example Program of OUTPSEGAF Using BASIC The following program is not included on the “Programming Examples” CD-ROM: 10 OUTPUT 716; "outpsegaf;" 20 ENTER 716; Numsegs 30 PRINT "Receiving status for"; Numsegs; "segments.
Programming Examples Limit Line and Data Point Special Functions Example: Sending SELSEG3 and OUTPSEGM may return the following: 3, 1.900000000E+09, −9.900000E−01, 2.123456789E+09, 2.123456E+00 For an explanation of these results, see Table 7-17. Table 7-17 Example Output: OUTPSEGM (min/max per segment) Segment Min Pt Stimulus (Frequency) Min Pt Value (dB) Max Pt Stimulus (Frequency) Max Pt Value (dB) 3 1.9 GHz −.99 2.12 GHz 2.
Programming Examples Limit Line and Data Point Special Functions Example: Sending OUTPSEGAM may return the following: 5, 1, 1.900000000E+09, −9.900000E−01, 2.123456789E+09, 2.123456E+00 3, 2.300000000E+09, −10.00000E−01, 2.600000000E+09, 3.100000E+00 5, 3.200000000E+09, −10.00000E−01, 3.400000000E+09, 3.100000E+00 7, 4.300000000E+09, −10.00000E−01, 4.700000000E+09, 3.100000E+00 8, 5.000000000E+09, −10.00000E−01, 5.400000000E+09, 3.100000E+00 For an explanation of these results, see Table 7-18.
Programming Examples Limit Line and Data Point Special Functions Example Program of OUTPSEGAM Using BASIC The following program is not included on the Programming Examples CD-ROM: 10 Minmax: ! 20 Mm: IMAGE DD,":",2X,D.DDDE,2X,SD.DDDE,2X,D.DDDE,2X,SD.
Programming Examples Limit Line and Data Point Special Functions Output Data Per Point The GPIB command OUTPDATP returns the value of the selected point using FORM4 (ASCII). The point is selected using the SELPT command. This returns the last point if the selected point is out of range. Otherwise, it uses the same format as that used by the marker value command.
Programming Examples Limit Line and Data Point Special Functions Output Data Per Range of Points The GPIB command OUTPDATR returns the value of the selected points using FORM4 (ASCII). This ASCII format requires many data bytes per point for transfer. For a large number of points, it may be faster to make trace data dumps (OUTPDATA) using a binary format. The range of points is selected using the SELMINPT and SELMAXPT commands (select minimum point, select maximum point of desired point range).
A Preset Conditions A-1
Preset Conditions Preset State Preset State When the Preset key is pressed, the analyzer reverts to a known state called the factory preset state. This state is defined in the tables in this chapter. See “PRES” on page 1-183 and “RST” on page 1-212.
Preset Conditions Preset State Table A-1 Analyzer Mode Preset Conditions Preset Value Analyzer Mode Network Analyzer Mode Frequency Offset Operation1 Off Offset Value1 0 High Power:2 External R Channel Off Attenuator A 0 dB Attenuator B 0 dB Harmonic Operation3 Off 1. Frequency offset operation is standard on 8753ET/ES analyzers, and available with Option 089 on 8720E series analyzers. 2. High power is available with Option 085 on 8719/20/22ES analyzers only. 3.
Preset Conditions Preset State Table A-2 Stimulus Conditions Preset Conditions Preset Value Sweep Type Linear Frequency Step Sweep (8720E series only) Off1 Step Sweep (8719/20/22ES Opt. 085 only) On Display Mode Start/Stop Trigger Type Continuous External Trigger Off Sweep Time 100 ms, Auto Mode Start Frequency: 8720E series 50 MHz 8753ES 30 kHz 8753ES Option 011 300 kHz 8753ES Option 011 w/ Option 006 30 kHz 8753ET 300 kHz Stop Frequency: 8719ET/ES 13.51 GHz 8720ET/ES 20.
Preset Conditions Preset State Table A-2 Stimulus Conditions Preset Conditions Preset Value Start Power: 8719ET/ES and 8720ET/ES −15.0 dBm 8719ET/ES and 8720ET/ES Option 007 −10.0 dBm 8719ET/ES and 8720ET/ES Option 400 −20.0 dBm 8722ET/ES −20.0 dBm 8722ET/ES Option 007 −15.0 dBm 8722ET/ES Option 400 −25.0 dBm 8753ET/ES −15.
Preset Conditions Preset State Table A-3 Response Conditions Preset Conditions Preset Value Meas Parameter (ES models): Channel 1 S11 Channel 2 S21 Channel 3 S12 Channel 4 S22 Meas Parameter (ET models): Channel 1 Reflection Channel 2 Transmission Channel 3 Reflection Channel 4 Transmission Conversion Off Format Log Magnitude (all inputs) Display Data Color Selections Same as before Preset Dual Channel Off Active Channel Channel 1 Auxiliary Channel Off Frequency Blank Disab
Preset Conditions Preset State Table A-3 Response Conditions Preset Conditions Preset Value Title: Channel 1 Empty Channel 2 Empty IF Bandwidth 3700 Hz (8753ET/ES) 3000 Hz (8720 E series) IF Averaging On/Off Off IF Averaging Factor 16 Smoothing Aperture On/Off Off Smoothing Aperture Setting 1% SPAN Phase Offset 0 Degrees Electrical Delay 0 ns Scale/Division 10 dB/Division 1. 8720E series only.
Preset Conditions Preset State Table A-4 Calibration Conditions Preset Conditions Preset Value Correction Off Calibration Type None Calibration Kit: (8719/20) 8719ET/ES and 8720ET/ES 3.5-mm 8722ET/ES 2.
Preset Conditions Preset State Table A-5 Electronic Calibration (ECal) Conditions Preset Conditions Preset Value Module A (information may not be loaded) Omit Isolation On Isolation Averages 10 Manual Thru Off Table A-6 Marker Conditions Preset Conditions Preset Value Markers On/Off All Markers Off Marker Setting (all markers) 1 GHz Last Active Marker 1 Reference Marker None Marker Mode Continuous Display Markers On Delta Marker Mode Off Coupling On Marker Search Off Marker Ta
Preset Conditions Preset State Table A-7 Limit Conditions Preset Conditions Preset Value Limit Lines Limit Lines Off Limit Testing Off Limit List Empty Edit Mode Upper/Lower Limits Stimulus Offset 0 Hz Amplitude Offset 0 dB Limit Type Sloping Line Beep Fail Off Ripple Limit Ripple Limit Off Ripple Test Off Bandwidth Limit A-10 Bandwidth Test Off Bandwidth Display Off Bandwidth Marker Off Appendix A
Preset Conditions Preset State Table A-8 Time Domain Conditions (Option 010 only) Preset Conditions Preset Value Transform Off Transform Type Bandpass Start Transform: 8720 E series analyzers −1 nanoseconds 8753ET/ES analyzers −20 nanoseconds Transform Span: 8720 E series analyzers 4 nanoseconds 8753ET/ES analyzers 40 nanoseconds Gating Off Gate Shape Normal Gate Span: 8720 E series analyzers 500 picoseconds 8753ET/ES analyzers 20 nanoseconds Gate Start: 8720 E series analyzers −500
Preset Conditions Preset State Table A-10 Copy Configuration Conditions Preset Conditions Preset Value Parallel Port Last Active State Plotter Type Last Active State Plotter Port Last Active State Plotter Baud Rate Last Active State Plotter Handshake Last Active State GPIB Address Last Active State Printer Type Last Active State Printer Port Last Active State Printer Baud Rate Last Active State Printer Handshake Last Active State Printer GPIB Address Last Active State Table A-11 Dis
Preset Conditions Preset State Table A-12 Sequencing Conditions Preset Conditions Current Sequence Preset Value Pressing Preset turns off sequencing modify (edit) mode and stops any running sequence.
Preset Conditions Preset State Table A-14 Plot Conditions Preset Conditions Preset Value Plot Data On Plot Memory On Plot Graticule On Plot Text On Plot Marker On Autofeed On Plot Quadrant Full Page Scale Plot Full Plot Speed Fast Pen Number: Ch1/Ch3 Data 2 Ch2/Ch4 Data 3 Ch1/Ch3 Memory 5 Ch2/Ch4 Memory 6 Ch1/Ch3 Graticule 1 Ch2/Ch4 Graticule 1 Ch1/Ch3 Text 7 Ch2/Ch4 Text 7 Ch1/Ch3 Marker 7 Ch2/Ch4 Marker 7 Line Type: A-14 Ch1/Ch3 Data 7 Ch2/Ch4 Data 7 Ch1/Ch3
Preset Conditions Preset State Table A-15 Print Conditions Preset Conditions Preset Value Printer Mode Last Active State Auto-Feed On Printer Colors: Ch1/Ch3 Data Magenta Ch1/Ch3 Mem Green Ch2/Ch4 Data Blue Ch2/Ch4 Mem Red Graticule Cyan Warning Black Text Black Reference Line Black Table A-16 Format Conditions Preset Conditions Preset Value Scale Reference Position Reference Value Log Magnitude (dB) 10.0 5.0 0.0 Phase (degrees) 90.0 5.0 0.0 Group Delay (ns) 10.0 5.0 0.
Preset Conditions Preset State A-16 Appendix A
B Command Listings B-1
Command Listings Alphabetical List of Commands Alphabetical List of Commands AB BWLIMDISP CALK716 ADAP1 BWLIMMAX CALKN75 ADDRCONT BWLIMIN CALKTRLK ADDRDISC BWLIMSTAT CALKUSED ADDRLSRC BWLIMTEST CALN ADDRPERI BWLIMVAL CALPOW ADDRPLOT C0 CALSPORT1 ADDRPOWM C1 CALSPORT2 ADDRPRIN C2 CALZLINE ADPTCOAX C3 CALZSYST ADPTWAVE CAL1 CBRI ALC CALFCALF CENT ALTAB CALFFREQ CHAN1 ANAB CALFSENA CHAN2 ANAI CALFSENB CHAN3 AR CALIERC CHAN4 ASEG CALIEREFL CHOPAB ASSS CALIFUL
Command Listings Alphabetical List of Commands COAX D4XUPCH3 ECALFUL2 COLOCH1D DATI ECALISOAVG COLOCH1M DCONV ECALMANTHRU COLOCH2D DEBU ECALMODID COLOCH2M DECRLOOC ECALMODINF COLOCH3D DEFC ECALMODSELA COLOCH3M DEFLPRINT ECALMODSELB COLOCH4D DEFLTCPIO ECALNFREQS COLOCH4M DEFS ECALOMII COLOGRAT DELA ECALPAUSED COLOLREF DELO ECALRERC COLOR DELR ECALS11 COLOTEXT DELRFIXM ECALS22 COLOWARN DEMOAMPL EDITDONE CONS DEMOOFF EDITLIML CONT DEMOPHAS EDITLIST CONV1DS DFLT
Command Listings Alphabetical List of Commands FIXE INCRLOOC LABES22C FORM1 INID LABETLFM FORM2 INIE LABETLFT FORM3 INPUCALC LABETLRM FORM4 INPUCALK LABETLRT FORM5 INPUDATA LABETRFM FORMATDOS INPUFORM LABETRLL FORMATLIF INPULEAS LABETRLR FREO INPUPMCAL1 LABETRLT FREQOFFS INPUPMCAL2 LABETRRM FRER INPURAW1 LABETTFM FULP INPURAW2 LABETTFT FWDI INPURAW3 LABETTRM FWDM INPURAW4 LABETTRT FWDT INSMEXSA LABK GATECENT INSMEXSM LABS GATEO INSMNETA LEFL GATESPAN INSMT
Command Listings Alphabetical List of Commands LISTTYPELSTP MARKFVAL MINMAX LISTTYPELSWP MARKMAXI MINU LISV MARKMIDD MODI1 LOAD MARKMINI MODS LOADSEQ MARKOFF NEWSEQ LOAN MARKREF NEXP LOAO MARKSPAN NOOP LOCONT MARKSTAR NUMG LOFREQ MARKSTIM NUMR LOFSTAR MARKSTOP OFLD LOFSTOP MARKUNCO OFLS LOFSWE MARKZERO OFSD LOGFREQ MAXF OFSL LOGM MEASA OFSZ LOOC MEASB OMII LOPOWER MEASR OPC LOPSTAR MEASTAT OPEP LOPSTOP MENUAVG OUTPACTI LOPSWE MENUCAL OUTPAMAX LOWPIMPU
Command Listings Alphabetical List of Commands OUTPLIM PCOLGRAT PORTA OUTPLIMF PCOLMEMO PORTB OUTPLIML PCOLREFL PORTP OUTPLIMM PCOLTEXT PORTR OUTPMARK PCOLWARN PORTT OUTPMEMF PDATA POWE OUTPMEMO PENNDATA POWLFREQ OUTPMSTA PENNGRAT POWLLIST OUTPMWID PENNMARK POWLLOSS OUTPMWIL PENNMEMO POWM OUTPOPTS PENNTEXT POWR OUTPPLOT PGRAT POWS OUTPPMCAL PHAO POWT OUTPPRE PHAS PRAN OUTPPRIN PLOSFAST PREP OUTPPRNALL PLOSSLOW PRES OUTPRAF PLOT PRIC OUTPRAW PLTHNDSHK PRIN
Command Listings Alphabetical List of Commands PWMCOFF RLIMM SEGIFBW PWMCONES RLIMSTP SEGPOWER PWRLOSS RLIMSTR SELBND PWRMCAL RLIMTEST SELL PWRR RLIMVAL SELMAXPT Q RSCO SELMINPT RAID RST SELPT RAIISOL S11 SELSEG RAIRESP S12 SEQ RAWOFFS S21 SEQWAIT READDATE S22 SETBIT READTIME SADD SETDATE REAL SAMC SETF RECA SAV1 SETRREFL RECAREG SAV2 SETRTHRU RECO SAVC SETTIME REFD SAVE SETZ REFL SAVECSV SHOM REFOP SAVEJPG SING REFP SAVERC SLID REFT SAVEREG SLIL
Command Listings Alphabetical List of Commands SPECFWDT STB? TRAN SPECRESI STDD TRAOP SPECRESP STDTARBI TRAP SPECREVM STDTDELA TRLL1 SPECREVT STDTLOAD TRLL2 SPECS11A STDTOPEN TRLR1 SPECS11B STDTSHOR TRLR2 SPECS11C STEPSWP TRLT SPECS22A STOP TSSWI SPECS22B STOR TST? SPECS22C STORSEQ TSTIOFWD SPECTLFM STPSIZE TSTIOREV SPECTLFT SVCO TSTP SPECTLRM SWEA TTLHPULS SPECTLRT SWET TTLLPULS SPECTRFM SWPSTART TTLOH SPECTRLL SWR TTLOL SPECTRLR TAKCS UCONV SPECTRLT T
Command Listings OPC-Compatible List of Commands OPC-Compatible List of Commands AUXC ISOD CHAN1 MANTRIG CHAN2 NOOP CHAN3 NUMG CHAN4 PRES CLASS11A RAID CLASS11B RECA CLASS11C RECAREG CLASS22A REFD CLASS22B RERCDONE CLASS22C RESPDONE CLEA REVI CLEARALL REVM CLEAREG REVT DATI RST DONE SAV1 ECALMODSELA SAV2 ECALMODSELB SAVC EDITDONE SAVE ERCDONE SAVEJPG EXTTOFF SAVERC EXTTON SAVEREG EXTTPOIN SAVRERC FREQOFFS SAVT FWDI SING FWDM SLIS FWDT STAN GATEO SWPSTA
Command Listings OPC-Compatible List of Commands B-10 Appendix B
Index Symbols *CLS, 3-16 *ESE, 3-16 *ESE?, 3-16 *ESR?, 3-16 *IDN?, 3-16 *LRN?, 3-16 *OPC, 3-16 *OPC?, 3-16 *OPT?, 3-16 *PCB, 3-16 *PSC, 3-16 *RST, 3-16 *SRE, 3-16 *SRE?, 3-16 *STB?, 3-16, 3-17 *TRG, 3-17 *TST?, 3-17 *WAI, 3-17 ? command, 4-2 Numerics 2.4 mm 85056 softkey , 1-28 2.92* 85056K softkey, 1-28 2.92mm other kits softkey , 1-28 3.5mmC 85033C softkey, 1-28 3.5mmD 85033D/E softkey, 1-28 3.
Index averaging, 1-14 restart, 1-14 averaging factor, 1-14 averaging factor softkey, 1-14 averaging on off softkey, 1-14 averaging restart softkey, 1-14 AVERFACT, 1-14 AVERO, 1-14 AVERREST, 1-14 B B, 1-141 B/R, 1-17 BACI, 1-15 background intensity, 1-15 BANDPASS, 1-15 bandwidth search, marker, 1-276 bandwidth test display of measurement status, 1-20 display of measurement value, 1-18 maximum width, 1-19 minimum width, 1-19 on/off control, 1-20 returning measured value, 1-21 setting dB point amplitude, 1-18
Index CALK716, 1-27 CALK7MM, 1-27 CALKN50, 1-27 CALKN75, 1-27 CALKTRLK, 1-27 CALKUSED, 1-27 CALN, 1-29 CALPOW, 1-29 CALSPORT1, 1-30 CALSPORT2, 1-30 CALZ, 1-31 CALZLINE , 1-31 CALZSYST, 1-31 capacitance, open, 1-22 CBRI, 1-32 CD-ROM, part number, 7-2 CENT, 1-32 center frequency, 1-32 chain for data processing , 5-1 chan power coupling, 1-46 CHAN1, 1-33 CHAN2, 1-33 CHAN3, 1-33 CHAN4, 1-33 channel, 1-33 channels coupled, 1-46 characters that are valid, 3-3 chop a and b, 1-34 chop A and B softkey, 1-34 chop re
Index CW time, 1-48 CWFREQ, 1-48 CWTIME, 1-48 D SELSEG, 7-126 D1/D2 to channel 2, 1-49 D1DIVD2, 1-49 D2XUPCH2, 1-50 D2XUPCH3, 1-50 D4XUPCH2, 1-51 D4XUPCH3, 1-51 data include with disk files, 1-87 data array, 1-87 data arrays, 5-3 data bus, 3-9 data channel 1 color, 1-166 data channel 2 color, 1-166 data channel 3 color, 1-166 data channel 4 color, 1-166 data for markers, 4-4 data formats and transfers, 7-56 data levels, 5-6 data only include with disk files, 1-87 data rate, 3-10 data reading , 4-1 data tak
Index down converter, 1-52, 1-271 DT1 (responds to a group execute trigger), 3-11 DUAC, 1-68 dual channel display, 1-68 duplicate sequence, 1-69 DUPLSEQ, 1-69 E E2 (tri-state drivers), 3-11 each sweep, 1-190 ECal check all module information, 1-75 check module factory frequency values, 1-72 check module factory number of frequency points, 1-77 check module identification, 1-74 continue, 1-70 do forward enhance calibration, 1-78 do forward enhanced calibration, 1-71 do full 2-port calibration, 1-72 do one-p
Index firmware revision identification , 4-2 FIXE , 1-90 fixed (load) softkey, 1-90 fixed load, 1-90 fixed mkr, 1-137 flat line type, 1-123 form 4 data-transfer character string, 4-3 form feed plotter, 1-170 printer, 1-187 FORM1, 1-91 FORM1 format, 4-6 FORM2, 1-91 FORM2 format, 4-6 FORM3, 1-91 FORM3 format, 4-6 FORM4, 1-91 FORM4 format, 4-6 FORM5, 1-91 FORM5 format, 4-6 format disk, 1-92 format display units, 1-161, 4-5 format external disk, 1-105 format internal disk, 1-105 FORMATDOS, 1-92 FORMATLIF, 1-92
Index display off, 3-20 display on, 3-21 draw to x,y, 3-21 erase display, 3-20, 3-21 label display, 3-20 line type, 3-20 output scaling limits, 3-21 pen down, 3-21 pen up, 3-21 plot relative, 3-21 select pen, 3-22 HP-GL subset, 3-20 I identification of analyzer, 4-2 of firmware revision, 4-2 identification string, 1-101 identifying the analyzer, 3-16 IDN?, 1-101, 4-2 IDN?. See *IDN? IEEE 488.2, 3-16 IEEE 488.
Index limit line amplitude offset, 1-122 limit line and data point special functions, 7-126 limit line list clear, 1-37 limit line on/off, 1-122 limit line stimulus offset, 1-122 limit lines, 7-96 setting up, 7-96 limit list editing for ripple test, 1-81 limit table, 7-96 edit, 1-80 limit test beeper, 1-16 limit test fail, 1-102 limit test on/off, 1-122 limit test pass, 1-102 limit tests setting up, 7-96 LIMITEST, 1-122 limit-line table, 7-96 limit-line testing, 7-87 list frequency table, selecting a singl
Index off, 1-223 right, 1-223 target, 1-223 tracking, 1-265 marker statistics, 1-142 marker to center, 1-137 marker to CW frequency, 1-137 marker to delay, 1-137 marker to limit offset, 1-122 marker to middle segment, 1-137 marker to reference, 1-137 marker to start, 1-137 marker to stimulus segment, 1-137 marker to stop, 1-137 marker width, 1-276 marker zero, 1-137 markers continuous, 1-137 discrete, 1-137 displayed, 1-64 markers coupled, 1-137 markers off, 1-137 markers uncoupled, 1-137 MARKFAUV , 1-137
Index offset loss, 1-151 offset Z0, 1-151 offsets, sampler and attenuator, 1-194 OFLD, 1-150 OFLS, 1-150 OFSD , 1-151 OFSL , 1-151 OFSZ , 1-151 OI, 3-22 OMII, 1-152 omit isolation, 1-152 on/off control bandwidth test, 1-20 ripple test, 1-210 one sweep, 1-190 one-grid display , 1-244 one-path 2-port cal, 1-25 one-path 2-port softkey, 1-26 one-port calibration, 1-23, 1-25, 1-215 OP, 3-21 op param, 1-153 OPC, 1-152 OPC-compatible commands, 3-6 open std type, 1-249 open capacitance values, 1-22 OPEP, 1-153 ope
Index PCOLDATA3, 1-166 PCOLDATA4, 1-166 PCOLGRAT, 1-166 PCOLMEMO1, 1-166 PCOLMEMO2, 1-166 PCOLMEMO3, 1-166 PCOLMEMO4, 1-166 PCOLREFL , 1-166 PCOLTEXT, 1-166 PCOLWARN, 1-166 PD , 3-21 PDATA, 1-162 pen number data, 1-167 graticule, 1-167 markers, 1-167 memory, 1-167 text, 1-167 PENNDATA, 1-167 PENNGRAT, 1-167 PENNMARK, 1-167 PENNMEMO, 1-167 PENNTEXT, 1-167 peripheral address, 1-4 peripheral addresses, 3-14 PG , 3-21 PGRAT, 1-162 PHAO , 1-168 PHAS, 1-168 phase, 1-168 phase and amplitude tracking, 7-122 phase
Index address, 1-4 auto feed, 1-187 baud rate, 1-187 form feed, 1-187 handshake, 1-187 printer default setup, 1-55 printer port GPIB , 1-187 parallel, 1-187 serial, 1-187 printer type, 1-187 printing using the serial port, 7-107 printing plot files stored on disk example program, 7-111 printing, remote, 7-102, 7-104 PRIS, 1-184 PRNHNDSHK, 1-187 PRNPRTHPIB, 1-187 PRNPRTPARA , 1-187 PRNPRTSERI, 1-187 PRNTRAUTF, 1-187 PRNTRBAUD, 1-187 PRNTRFORF , 1-187 PRNTYP540, 1-187 PRNTYPDJ, 1-187 PRNTYPEP, 1-187 PRNTYPLJ
Index reverse transmission, 1-205 REVI, 1-205 revision, firmware, 1-237 REVM, 1-205 REVT , 1-205 RF > LO, 1-206 RF LO, 1-206 RFGTLO , 1-206 RFLP, 1-207 RFLTLO , 1-206 right lower, 1-208 right upper, 1-208 RIGL, 1-208 RIGU, 1-208 ripple test band start frequency, 1-210 band stop frequency, 1-209 clear frequency band list, 1-39 display limits, 1-208 display measured value, 1-211 edit limit list, 1-81 maximum ripple, 1-209 on/off control, 1-210 output all band measured values, 1-158 output measured value, 1-1
Index thru, 1-230 set seconds softkey , 1-230 set year softkey, 1-230 set z0 softkey, 1-230 SETBIT, 1-230 SETDATE, 1-230 SETF , 1-230 SETRREFL , 1-230 SETRTHRU, 1-230 SETTIME, 1-230 setting GPIB addresses, 3-14 setting up the instrument, 7-3 setup diagram, mixer measurements, 1-273 SETZ, 1-230 SH1 (full-source handshake), 3-11 SHOM, 1-231 short std type, 1-249 show menus, 1-231 SIh,w, 3-21 simmcal, 7-38 SING, 1-232 single bus concept, 3-12 single point type, 1-123 single seg sweep, 1-245 single sweep, 1-23
Index STPSIZE, 1-253 string for calibration kit, 5-7 structure of command syntax , 3-4 structure of GPIB bus, 3-8 structure of status reporting , 6-3 SVCO, 1-254 SWEA, 1-255 sweep hold, 1-101 power, 1-181 segment, 1-9, 1-245 sweep start, 1-256 sweep time, 1-255 sweep user-controlled, 7-8 sweep, stepped, 1-250 swept list mode, 1-127, 7-90 SWET, 1-255 SWPSTART, 1-256, 7-42 SWR, 1-256 synchronization, 7-69 syntax for commands, 3-2 syntax for output, 4-3 syntax structure, 3-4 syntax types, 3-5 system controlle
Index TTLLPULS, 1-270 TTLOH, 1-270 TTLOL, 1-270 tuned receiver mode, 1-109 two channel display, 1-50 two-grid display , 1-244 two-port calibration , 1-25, 1-198, 1-205, 1-215, 1-264, 1-266 types of syntax, 3-5 U units, 3-4 units as a function of display format, 1-161, 4-5 universal commands, 3-14 UP, 1-271 up arrow key, 1-271 upper limit segment, 1-120 use pass control, 1-272 use sensor A, 1-272 use sensor B, 1-272 USEPASC , 1-272 user graphics include with disk files, 1-87 user kit softkey, 1-28 user-cont