Agilent 4294A Precision Impedance Analyzer Programming Manual Eighth Edition FIRMWARE REVISIONS This manual applies directly to instruments that have the firmware revision 1.11. For additional information about firmware revisions, see Appendix A. Part No.
Notices The information contained in this document is subject to change without notice. This document contains proprietary information that is protected by copyright. All rights are reserved. No part of this document may be photocopied, reproduced, or translated to another language without the prior written consent of Agilent Technologies. Agilent Technologies Japan, Ltd.
Sample Program Disk A sample program disk (Agilent Part Number 04294-18020) is supplied with this manual. The disk contains the sample programs listed in this manual. The customer shall have the personal, nontransferable rights to use, copy, or modify SAMPLE PROGRAMS in this manual for the Customer’s internal operations.
Contents 1. To make effective use of this manual Contents of this manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 How To Use This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Sample programs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Deleting a segment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Moving offset ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Saving/Recalling Measurement Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A Sample Program for Setting Measurement Conditions . . . . . .
Contents Specifying a location for save/recall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Saving data into a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Recalling a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Copying/deleting a file . . . . . . . . . . . . . . . . .
Contents A sample graphics program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Character entry keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cursor control and display control . . . . . . . . . .
Contents Measurement procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 Sample program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 File Transfer Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents ANARANG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ANARFULL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ANASEGM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AUTO . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents DCOMLOAD{R|L} . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292 DCOMOPEN{G|C} . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 DCOMSHOR{R|L} . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294 DCRNG. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents FSIZE? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HIDI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HOLD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . INID . . . . . . . . . . . . . . .
Contents MKRAUV? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351 MKRCENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351 MKRCOUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352 MKRDSPAN . . . . . . . . . . . . . . . .
Contents OUTFIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OUTGIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OUTHIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OUTPCALC{1-3}? . . . . . . . . . . . . . .
Contents PKPOL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400 POIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401 PORE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401 PORTL . . . . . . . . .
Contents SEAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SEAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SEANPK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SEANPKL . . . . . . . . . . . . . . . .
Contents WIDFVAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460 WIDSIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460 WIDSOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461 WIDT . . . . . . . . . . . . . . .
Contents 18
of this manual To make effective use of this manual This chapter describes the contents and the use of this manual and makes references to various other manuals. 19 1.
To make effective use of this manual Contents of this manual Contents of this manual This manual is a guide to writing BASIC programs for the Agilent 4294A precision impedance analyzer. Chapter 1 , “To make effective use of this manual.” This chapter describes the contents and the use of this manual and makes references to various other manuals. Chapter 2 , “Remote Control, Overview.” This chapter describes how to set up a GPIB remote control system and the basic use of GPIB commands.
This chapter gives an overview of HP Instrument BASIC and explains how to use the keyboard. Read this chapter before using the HP Instrument BASIC program installed in the Agilent 4294A. Chapter 12 , “Using LAN.” This chapter describes LAN (Local Area Network)-based file transfer and remote control. Chapter 13 , “Application Sample Programs.” This chapter provides sample measurements (sample programs). Chapter 14 , “Using Printer.
To make effective use of this manual How To Use This Manual How To Use This Manual This manual may be used as follows depending on how familiar you are with writing BASIC programs. 1. If you have experience in writing programs for the GPIB system, pick sample programs suitable for your application out of those given in this manual. 2. If you have no experience in writing programs for GPIB equipment, it is best for you to read this manual thoroughly from the beginning.
Read the manuals below when using the Agilent 4294A. Operation Manual (part number: 04294-900x0) Most basic information necessary for using the Agilent 4294A is described in this manual. It includes installation procedures, explanations of measurement operations, example measurements, performances (specifications), and information on options and accessories. For GPIB programming, see this manual together with “HP Instrument BASIC User's Handbook”.
To make effective use of this manual Other manuals attached to this unit 24 Chapter 1
1. Chapter Title 2. Remote Control, Overview 3. Chapter Title 4. Chapter Title 2 Remote Control, Overview 5. Chapter Title This chapter describes how to set up a GPIB remote control system and the basic use of GPIB commands.
Remote Control, Overview GPIB Remote Control System, Overview GPIB Remote Control System, Overview This section describes the configuration of the GPIB remote control system. System configuration Connect the Agilent 4294A and an external controller (computer) with a GPIB cable. Figure 2-1 shows an overview of the configuration of an GPIB remote control system.
Necessary equipment 1. The Agilent 4294A precision impedance analyzer and accessories necessary for measuring test samples 1. Chapter Title Remote Control, Overview GPIB Remote Control System, Overview 2. GPIB system controller or To use an external computer as a system controller: a. set the 4294A in addressable-only mode. Press [Local] - ADDRESSABLE ONLY. 3. Chapter Title You can use an external computer as a system controller.
Remote Control, Overview GPIB Remote Control System, Overview The system size you can set up • You can connect up to 15 devices with a single GPIB system. • The length of a cable that connects one device with another must not be more than 4 meters. The total length of connection cables used in a single GPIB system should not be more than 2 meters times the number of devices (counting the controller as one device). You cannot set up a system makeup in which the total cable length exceeds 20 meters.
Sending GPIB Command Messages 1. Chapter Title Remote Control, Overview Sending GPIB Command Messages GPIB commands GPIB commands can be grouped into two classes: IEEE common commands Agilent 4294A commands Commands specific to the Agilent 4294A. These include all of the measurement functions and some of the general-purpose functions. 2. Remote Control, Overview Commands defined by IEEE488.
Remote Control, Overview The Basics of Writing/Running Programs The Basics of Writing/Running Programs An easy way to write a program The following describes a procedure for writing an Instrument BASIC program as an example of simple programming. For more on how to use Instrument BASIC, see Chapter 11 , “Using HP Instrument BASIC.” This example sets the Agilent 4294A as shown below.
Step 6. Press the following instrument state key to enter the preset command. [Preset] 1. Chapter Title Remote Control, Overview The Basics of Writing/Running Programs The GPIB command “;PRES” to be used for presetting the equipment automatically appears at the cursor position. 10 ASSIGN @Hp4294 TO 800 20 OUTPUT @Hp4294;";PRES" NOTE To send two or more commands within a single OUTPUT statement, you need to delimit the commands by a semicolon.
Remote Control, Overview The Basics of Writing/Running Programs Step 10. Enter the END command to quit the program. [System] - IBASIC - END - [×1] 10 ASSIGN @Hp4294 TO 800 20 OUTPUT @Hp4294;";PRES" 30 OUTPUT @Hp4294;";MEAS CSR" 40 OUTPUT @Hp4294;";CENT 70E6;SPAN 100E3" 50 OUTPUT @Hp4294;";AUTO" 60 END 70 _ Step 11. Press the following soft key to exit edit mode. done The measurement screen returns.
Saving and Reading the Program 1. Chapter Title Remote Control, Overview Saving and Reading the Program Saving the program generated A simple saving procedure is given here. For details see “Saving a Program (SAVE)” on page 145. 2. Remote Control, Overview Step 1. First, connect the keyboard. Step 2. Press the key and soft keys as given below to switch the screen. [Display] - more 1/2 - ALLOCATION - ALL BASIC Step 3. Select a storage unit in which to save the program.
Remote Control, Overview Remote Control using a LAN Remote Control using a LAN The Agilent 4294A can be connected to a local area network (LAN). Connecting the 4294A to its external controller via a LAN allows you to efficiently send GPIB commands to and read data from the external controller. For how to connect to a LAN and how to set up remote control, see Chapter 12 , “Using LAN.
1. Chapter Title 2. Chapter Title 3. Setting Measurement Conditions 4. Chapter Title Setting Measurement Conditions 3 5. Chapter Title This chapter describes how to set measurement conditions.
Setting Measurement Conditions Setting Measurement Parameters Setting Measurement Parameters To set measurement parameters, use the command given below. This command sets measurement parameters for both trace A and trace B at the same time. • “MEAS” on page 348 You can set measurement parameters in the combinations shown in Table 3-1 depending on the parameters used at the time of sending a command.
The following gives brief descriptions of the measurement parameters in Table 3-1: |Y| Admittance amplitude (absolute value) θ Impedance phase (for |Z|-θ), Admittance phase (for |Y|-θ) Z Impedance (complex number (R+jX)) Y Admittance (complex number (G+jB)) R, Rs Equivalent series resistance X Equivalent series reactance Ls Equivalent series inductance Cs Equivalent series capacitance Rp Equivalent parallel resistance G Equivalent parallel conductance B Equivalent parallel susceptance
Setting Measurement Conditions Setting Measurement Signals Setting Measurement Signals Setting the oscillator To set an oscillator level, use the commands given below. • “POWMOD” on page 404 • “POWE” on page 403 Either a voltage or a current can be used to set the oscillator level. First, specify whether you use voltage or a current with the “POWMOD” command and then set a level with the “POWE” command.
Setting a Sweep Condition 1. Chapter Title Setting Measurement Conditions Setting a Sweep Condition Setting a sweep parameter Choose a sweep parameter from among the oscillator frequency, oscillator level, and dc bias level. To set the parameter, use the command given below. • “SWPP” on page 449 Setting a sweep range There are two ways to set the sweep range: by specifying the central value and span of the sweep range or by specifying the start point and endpoint of the sweep range.
Setting Measurement Conditions Setting the On-screen Arrangement Setting the On-screen Arrangement You carry out most of the on-screen arrangement settings independently for trace A and trace B. After made, these will take effect on the active trace. Thus you need to use the command given below to properly switch the active trace settings from one trace to the other.
Setting a display scale If both a data trace and a memory trace are concurrently displayed, you can separately set different scales to these traces. Use the commands given below to specify whether to use the same scale for both data and memory traces or to specify which trace to set a scale to when not using the same scale.
Setting Measurement Conditions Setting the On-screen Arrangement Figure 3-1 Commands for setting display scale parameters Polar chart format Make the settings by using the full-scale value (the value of the outermost circle) only. To make the settings, use the command given below. • “REFV” on page 409 Complex plane format Set the scale parameters by using the commands given below.
Setting Averaging 1. Chapter Title Setting Measurement Conditions Setting Averaging Setting a measurement bandwidth To set a measurement bandwidth, use the command given below. • “BWFACT” on page 274 2. Chapter Title Setting averaging Setting sweep averaging To set or control sweep averaging, use the command given below. • “AVER” on page 269 • “AVERFACT” on page 269 • “AVERREST” on page 269 3.
Setting Measurement Conditions Combining Two or More Sweep Conditions (List Sweep) Combining Two or More Sweep Conditions (List Sweep) You can carry out a sweep (list sweep) by combining the segments that set the sweep condition; these segments can provide up to 18 identical sweep parameters. To carry out a list sweep, prepare a table of segments. At the start and the end of the table, send the commands given below.
Deleting a segment To delete a segment, use the commands given below. • “SDEL” on page 425 • “CLEL” on page 279 1. Chapter Title Setting Measurement Conditions Combining Two or More Sweep Conditions (List Sweep) The “SDEL” command deletes a specified segment from the table (if no table is specified, then he segment to be worked on at the time of executing the command involved). The “CLEL” command deletes all segments from the table. 2.
Setting Measurement Conditions Setting the Limit Test Functions Setting the Limit Test Functions To turn on or off the limit test functions, use the command given below. • “LIMITEST” on page 328 To use the limit test functions, you need to make a limit line table, which includes the limits of sweep ranges (segments) defined by start points and endpoints. When beginning and finishing a table, send the commands given below.
To turn on or off the ranges for limiting individual segments, use the command given below. • 1. Chapter Title Setting Measurement Conditions Setting the Limit Test Functions “LIMSTEST” on page 335 After setting the parameters, send the command given below to finish setting segments.
Setting Measurement Conditions Saving/Recalling Measurement Conditions Saving/Recalling Measurement Conditions You can save the measurement conditions in a file. By saving frequently used measurement conditions, you can set the Agilent 4294A to a desired measurement condition by merely recalling the corresponding file when needed, avoiding the need to send a number of commands. To save or recall measurement conditions, use the commands given below.
A Sample Program for Setting Measurement Conditions 1. Chapter Title Setting Measurement Conditions A Sample Program for Setting Measurement Conditions The following is a sample program for setting measurement conditions. The program is given the file name setup.bas and stored on the sample program disk. This program resets the Agilent 4294A, then makes the settings shown below, and finally delivers the completion message when the settings are completed. Setting 2.
Setting Measurement Conditions A Sample Program for Setting Measurement Conditions Lines 90 to 130 These lines distinguish between an external controller and the Instrument BASIC and set the GPIB address. Lines 150 to 180 These lines substitute the settings of adapter selection, measurement parameters, and limits of dc bias output and of dc bias range to the variables Adapter$, Meas_para$, Dc_b_max, Dc_b_rng$, respectively.
List_star(1)=1.0E+6 List_stop(1)=2.0E+7 Nop(1)=21 Osc_mode$(1)="VOLT" Osc_pow(1)=1.0 Dc_b_mode$(1)="CVOLT" Dc_bias(1)=10.0 Bw_fact$(1)="1" P_ave(1)=1 ! -- Segment 2 -List_star(2)=2.0E+7 List_stop(2)=4.0E+7 Nop(2)=51 Osc_mode$(2)="VOLT" Osc_pow(2)=1.0 Dc_b_mode$(2)="CVOLT" Dc_bias(2)=10.0 Bw_fact$(2)="5" P_ave(2)=4 ! -- Segment 3 -List_star(3)=4.0E+7 List_stop(3)=1.0E+8 Nop(3)=21 Osc_mode$(3)="VOLT" Osc_pow(3)=1.0 Dc_b_mode$(3)="CVOLT" Dc_bias(3)=10.
Setting Measurement Conditions A Sample Program for Setting Measurement Conditions 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 1150 1160 1170 1180 1190 1200 1210 1220 1230 52 OUTPUT @Hp4294a;"POIN ";Nop(I) OUTPUT @Hp4294a;"POWMOD "&Osc_mode$(I) OUTPUT @Hp4294a;"POWE ";Osc_pow(I) OUTPUT @Hp4294a;"DCMOD "&Dc_b_mode$(I) OUTPUT @Hp4294a;"DCV ";Dc_bias(I) OUTPUT @Hp4294a;"BWFACT "&Bw_fact$(I) OUTPUT @
1. Chapter Title 2. Chapter Title 3. Chapter Title 4. Getting Ready For Accurate Measurement 4 Preparing For Accurate Measurement 53 5. Chapter Title This chapter describes how to apply adapter setting, user calibration, fixture compensation, and port extension compensation.
Preparing For Accurate Measurement Adapter Setting Adapter Setting To select an adapter, use the command given below. • “E4TP” on page 309 If you select any adapter other than NONE, you need to measure the data indicated in the table below to calculate the setup data.
Lines 210 to 310 These lines measure phase data, open data, short data and load data by using the subprogram FNAdap_setup. If an error is detected after any measurement, the program is terminated. Lines 330 to 350 These lines calculate setup data and store them in non-volatile memory. Lines 360 to 380 These lines indicate the message of completion and terminate the program. This line clears the status byte register.
Preparing For Accurate Measurement Adapter Setting 200 ! 210 Result=FNAdap_setup(@Hp4294a,Scode,"Phase") 220 IF Result<>0 THEN Prog_end 230 ! 240 Result=FNAdap_setup(@Hp4294a,Scode,"Open") 250 IF Result<>0 THEN Prog_end 260 ! 270 Result=FNAdap_setup(@Hp4294a,Scode,"Short") 280 IF Result<>0 THEN Prog_end 290 ! 300 Result=FNAdap_setup(@Hp4294a,Scode,"Load") 310 IF Result<>0 THEN Prog_end 320 ! 330 OUTPUT @Hp4294a;"ECALDON" 340 OUTPUT @Hp4294a;"*OPC?" 350 ENTER @Hp4294a;Buff$ 360 PRINT "All Data Measurement Co
780 790 800 RETURN -1 END IF FNEND 2. Chapter Title 3. Chapter Title 4. Getting Ready For Accurate Measurement 5. Chapter Title 57 Chapter 4 1.
Preparing For Accurate Measurement User Calibration User Calibration Selecting either 7mm or PROBE while setting the adapter allows you to use the user calibration functions. To turn the user calibration functions on or off, use the command given below. If no user calibration coefficients have been retained, the user calibration functions cannot be turned on.
To read measured open data, short data or load data, use the command given below. • 1. Chapter Title Preparing For Accurate Measurement User Calibration “OUTPCALC{1-3}?” on page 373 You can calculate the user calibration coefficients by entering open data, short data and load data (data read by the above or a similar command). To enter data, use the command given below. • “INPUCALC{1-3}” on page 320 NOTE To use the input data, you need to enter all of the open data, short data and load data.
Preparing For Accurate Measurement User Calibration volatile memory. Lines 530 to 540 These lines indicate the message of completion and terminate the program. The following describes FNUser_cal, a data measurement subprogram for user calibration, which is shown in lines 580 to 920. Line 610 This line clears the status byte register. Lines 620 to 630 These lines prompt for the connection of the standard for measurement specified by Standard$ and wait for you to press the y key and the return key.
Example 4-2 Data measurement for user calibration 3. Chapter Title 4. Getting Ready For Accurate Measurement 5. Chapter Title Chapter 4 2.
Preparing For Accurate Measurement User Calibration 560 ! User Calibration Data Measurement Function 570 ! 580 DEF FNUser_cal(@Hp4294a,INTEGER Scode,Standard$) 590 DIM Inp_char$[9],Err_mes$[50] 600 INTEGER Err_no 610 OUTPUT @Hp4294a;"*CLS" 620 PRINT "Set "&Standard$&"-Connection" 630 INPUT "OK? [Y/N]",Inp_char$ 640 IF UPC$(Inp_char$)="Y" THEN 650 ON INTR Scode GOTO Meas_end 660 ENABLE INTR Scode;2 670 SELECT Standard$ 680 CASE "Open" 690 OUTPUT @Hp4294a;"CALA" 700 CASE "Short" 710 OUTPUT @Hp4294a;"CALB" 720
Fixture Compensation 1. Chapter Title Preparing For Accurate Measurement Fixture Compensation To turn on or off the open/short/load compensation of the fixture compensation functions, use the command given below. You can set open/short/load compensations independently. However, if no compensation coefficients are retained, the functions cannot be turned on. • “COMST{A|B|C}” on page 282 • NOTE “COM{A|B|C}” on page 281 2.
Preparing For Accurate Measurement Fixture Compensation Example 4-3 shows a sample program for measuring data to be used for calculating a fixture compensation coefficient. This program is given the file name com_meas.bas and is stored on the sample program disk. Enter standard values for open data, short data and load data.
Standard$ and wait for you to press the y key and the return key. Lines 1090 to 1100 These lines set the branch target for an SRQ interrupt to make the SRQ interrupt effective. 1. Chapter Title Preparing For Accurate Measurement Fixture Compensation Lines 1110 to 1180 These lines send the commands to execute the standard measurement specified by Standard$. Line 1200 This line waits for measurement to finish.
Preparing For Accurate Measurement Fixture Compensation 440 OUTPUT @Hp4294a;"ESNB 256" 450 OUTPUT @Hp4294a;"*SRE 4" 460 ! 470 Result=FNFixt_comp(@Hp4294a,Scode,"Open") 480 IF Result<>0 THEN Prog_end 490 ! 500 Result=FNFixt_comp(@Hp4294a,Scode,"Short") 510 IF Result<>0 THEN Prog_end 520 ! 530 Result=FNFixt_comp(@Hp4294a,Scode,"Load") 540 IF Result<>0 THEN Prog_end 550 ! 560 ! Data Reading 570 ! 580 OUTPUT @Hp4294a;"FORM3" 590 ! 600 OUTPUT @Hp4294a;"OUTPCOMC1?" 610 ENTER @Hp4294a USING "#,2A";Buff$ 620 ENTER
IF UPC$(Inp_char$)="Y" THEN ON INTR Scode GOTO Meas_end ENABLE INTR Scode;2 SELECT Standard$ CASE "Open" OUTPUT @Hp4294a;"COMA" CASE "Short" OUTPUT @Hp4294a;"COMB" CASE "Load" OUTPUT @Hp4294a;"COMC" END SELECT PRINT "Now measuring...
Preparing For Accurate Measurement Fixture Compensation Example 4-4 shows a sample program that takes in data for use in fixture compensation. This sample program is given the file name com_inpu.bas and is stored on the sample program disk. This program reads open data, short data and load data from the files (COM_DATA and STD_VAL) retained by the program shown in Example 4-3 and sets them.
Cal_point$="FIXED" Point=100 File$="COM_DATA" Std_file$="STD_VAL" ! ! Initial Setting ! OUTPUT @Hp4294a;"PRES" OUTPUT @Hp4294a;"*OPC?" ENTER @Hp4294a;Buff$ OUTPUT @Hp4294a;"CALP ";Cal_point$ ! ! Load Data ! ASSIGN @File TO File$ ENTER @File;Com_o(*),Com_s(*),Com_l(*) ASSIGN @File TO * ! ASSIGN @File TO Std_file$ ENTER @File;Open_g,Open_c,Short_r,Short_l,Load_r,Load_l ASSIGN @File TO * ! ! Define Standard Value ! OUTPUT @Hp4294a;"DCOMOPENG ";Open_g OUTPUT @Hp4294a;"DCOMOPENC ";Open_c/1.
Preparing For Accurate Measurement Port Extension Compensation Port Extension Compensation With either 7 mm or PROBE selected as the adapter, you can compensate the delay time due to port extension by using the port extension compensation functions when connecting an extension cable to the adapter.
1. Chapter Title 2. Chapter Title 3. Chapter Title 4. Chapter Title 5 This chapter describes how to generate a trigger to start a measurement and how to detect the completion of a measurement. 71 5.
Starting a Measurement (Trigger) and Detecting the Completion of a Measurement (End of Sweeps) Triggering a Measurement (Starting a Measurement) Triggering a Measurement (Starting a Measurement) Trigger system The trigger system of the Agilent 4294A has three states: “Idle,” “Waiting for Trigger,” and “Measurement” as shown in Figure 5-1. Figure 5-1 Trigger system The state transitions in the trigger system are described below. Executing the following command causes a transition to the “Idle” state.
Trigger source setting Method of generating a trigger Automatically generates an internal trigger. External trigger (EXT) Enters a trigger signal from the EXT TRIGGER terminal on the rear panel to generate a trigger. GPIB/LAN trigger (BUS) Executes the “*TRG” command on page 261 or the HP BASIC TRIGGER command to generate a trigger. Manual trigger (MAN) Uses the following key sequence on the front panel to generate a trigger: [Trigger] - SOURCE[ ] - MANUAL 2.
Starting a Measurement (Trigger) and Detecting the Completion of a Measurement (End of Sweeps) Waiting for the Completion of One or More Sweeps (Detecting the Completion of a Measurement) Waiting for the Completion of One or More Sweeps (Detecting the Completion of a Measurement) Using the status register You can detect the state of the Agilent 4294A through its status register. The completion of one or more sweeps is indicated by the instrument event status register.
Lines 110 to 130 Sets the trigger source to the internal trigger and sets the sweep averaging factor to 4. Lines 150 to 160 Enables Bit 0 (sweep completion bit) in the instrument event status register and sets Bit 2 in the service request enable register to 1. In addition to the sweep completion bit, another bit is provided separately to indicate the completion of data measurements for adapter setting, user calibration, and fixture compensation.
Starting a Measurement (Trigger) and Detecting the Completion of a Measurement (End of Sweeps) Waiting for the Completion of One or More Sweeps (Detecting the Completion of a Measurement) Using the *OPC? command The “SING” command on page 437 and “NUMG” command on page 364 are overlap commands whose executions are finished at the completion of one or more sweeps. Therefore, if you start one or more sweeps with these commands, you can detect their completion with the following command.
6. Reading/Writing Measurement Data 2. Chapter Title 3. Chapter Title 4. Chapter Title 6 Reading/Writing Measurement Data 5. Chapter Title This chapter describes how to read and write measurement data and how to obtain level monitoring and limit test results.
Reading/Writing Measurement Data Data Transfer Format Data Transfer Format The format applicable when you read measurement parameter settings from the Agilent 4294A (as when you read the sweep start point with “STAR?”) is the ASCII format, regardless of which data transfer format has been specified.
• Floating Point Format Figure 6-2 shows this format. Numbers are expressed with floating points. For example, 1000 is expressed as “1.0E3.” Figure 6-2 6. Reading/Writing Measurement Data Reading/Writing Measurement Data Data Transfer Format Floating Point Format 2. Chapter Title IEEE 32-bit floating point format (Form 2) Figure 6-3 IEEE 32-bit Floating Point Data Transfer Format 3. Chapter Title In this format, each number is expressed by four bytes.
Reading/Writing Measurement Data Data Transfer Format IEEE 64-bit floating point format (Form 3) With this format, each number is expressed with eight bytes. Therefore, data containing 201 measured values is 3,216 bytes long (2 pieces of data per measurement point). Numbers are transferred in the format shown in Figure 6-4.
Internal Data Processing 6. Reading/Writing Measurement Data Reading/Writing Measurement Data Internal Data Processing Data processing sequence Figure 6-5 outlines the sequence of data processing performed within the Agilent 4294A. Figure 6-5 Agilent 4294A Data Processing Sequence 2. Chapter Title 3. Chapter Title The following describe each of the data arrays shown in Figure 6-5. Internal data arrays Data array • “OUTPDATA?” on page 375 • “OUTPDATAP?” on page 375 • “INPUDATA” on page 321 4.
Reading/Writing Measurement Data Internal Data Processing Data trace array The data trace array contains data that appears on the screen as data trace, that is, the result of measurement parameter conversion and arithmetic performed on the data array. Each result is stored as a complex number, regardless of whether the data is a scalar or vector. Therefore, if the data is a scalar, “0” is stored in the imaginary number part. Use the following commands to read or write the data trace array.
Compensation data array The compensation data array contains open, short and load measurement data used for calculation of the fixture compensation coefficient. These data are stored as complex numbers. Three different types of arrays are available to choose from depending on the type of measurement data (open, short, or load data). Array Number*1 6.
Reading/Writing Measurement Data Reading/Writing Data Reading/Writing Data Reading/writing measurement data Reading/writing array in ASCII format Example 6-1 shows the process of reading and writing array data in the ASCII format. This program is available under the filename of “data_b2a.bas” on the sample program disk. This program reads the data trace array for trace B in ASCII format and writes it to the data trace array for trace A.
240 250 260 270 280 290 OUTPUT OUTPUT OUTPUT OUTPUT ! END @Hp4294a;"TRAC A" @Hp4294a;"FMT "&Fmt$ @Hp4294a;"INPUDTRC ";Trc(*) @Hp4294a;"AUTO" 6. Reading/Writing Measurement Data Reading/Writing Measurement Data Reading/Writing Data Reading/writing data array in a binary format This program reads the memory trace array for trace A in the IEEE 64-bit floating point format and writes it to the data trace array.
Reading/Writing Measurement Data Reading/Writing Data Example 6-2 Reading/Writing Data Trace Array in a Binary Format 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 86 DIM Trc(1:201,1:2),Act_trc$[9],Err_mes$[50],Header$[9],Buff$[9] INTEGER Err_no,Nop IF SYSTEM$("SYSTEM ID")="HP4294A" THEN ASSIGN @Hp4294a TO 800 ASSIGN @Binary TO 800;FORMAT OFF ELSE ASSIGN @Hp4294a TO 717 ASSIGN @Binary TO 717;FORMAT OFF END IF ! Act_
Reading level monitoring results To read monitoring results of oscillator (OSC) power and dc bias levels, you need to use the following commands to turn ON the level monitor function before starting measurements: • “OMON” on page 365 • “BMON” on page 272 6.
Reading/Writing Measurement Data Reading/Writing Data Lines 580 to 630 Example 6-3 Displays the contents of “Swp_prm(*)”, “Mon_osc_v(*)”, “Mon_osc_i(*)”, and “Mon_bias(*).
590 600 610 620 I) 630 640 PRINT "LEVEL MONITOR RESULT" PRINT "Freq[Hz] OscV[V] OscI[A] DC V[V]" FOR I=1 TO 11 PRINT USING Img$;Swp_prm(I),Mon_osc_v(I),Mon_osc_i(I),Mon_bias( 6. Reading/Writing Measurement Data Reading/Writing Measurement Data Reading/Writing Data NEXT I END 2.
Reading/Writing Measurement Data Reading/Writing Data Line 870 to 890 Specifies trace B as the active trace and sets the maximum and minimum value of the screen for trace B to Top_b and Btm_b, respectively. Lines 900 to 1030 Creates a limit line table for trace B and turns ON the limit test function. Lines 1050 to 1070 Performs a sweep once and waits for the sweep to be completed.
Example 6-4 Reading Limit Test Results REAL Star,Stop,Top_a,Btm_a,Top_b,Btm_b REAL Fail_res_a(1:41,1:4),Fail_res_b(1:41,1:4) REAL Lim_star_a(1:3),U_lim_star_a(1:3),L_lim_star_a(1:3) REAL Lim_stop_a(1:3),U_lim_stop_a(1:3),L_lim_stop_a(1:3) REAL Lim_star_b(1:3),U_lim_star_b(1:3),L_lim_star_b(1:3) REAL Lim_stop_b(1:3),U_lim_stop_b(1:3),L_lim_stop_b(1:3) DIM Meas_para$[9],Buff$[9] INTEGER Nop,Fail_nop CLEAR SCREEN IF SYSTEM$("SYSTEM ID")="HP4294A" THEN ASSIGN @Hp4294a TO 800 ELSE ASSIGN @Hp4294a TO 717 END IF
Reading/Writing Measurement Data Reading/Writing Data 620 OUTPUT @Hp4294a;"PRES" 630 OUTPUT @Hp4294a;"MEAS "&Meas_para$ 640 OUTPUT @Hp4294a;"STAR ";Star 650 OUTPUT @Hp4294a;"STOP ";Stop 660 OUTPUT @Hp4294a;"POIN ";Nop 670 OUTPUT @Hp4294a;"SPLD ON" 680 ! 690 OUTPUT @Hp4294a;"TRAC A" 700 OUTPUT @Hp4294a;"TOPV ";Top_a 710 OUTPUT @Hp4294a;"BOTV ";Btm_a 720 OUTPUT @Hp4294a;"EDITLIML" 730 FOR I=1 TO 3 740 OUTPUT @Hp4294a;"LIMSADD" 750 OUTPUT @Hp4294a;"LIMSTAR ";Lim_star_a(I) 760 OUTPUT @Hp4294a;"LIMUSTAR ";U_lim_
If a read command is executed while a sweep is in progress, the data available when the command execution starts is read. To ensure the accuracy of the data you obtain, be sure to wait until the current sweep is complete before executing a read command. Considering the time it takes for your program to be executed to completion, an efficient approach is to synchronize the execution of a read command with the completion of the current sweep.
Reading/Writing Measurement Data Reading/Writing Data 94 Chapter 6
1. Chapter Title 7. Processing Measurement Results 3. Chapter Title 4. Chapter Title 7 Processing Measurement Results 95 5. Chapter Title This chapter describes how to process measurement results using the marker function, the equivalent circuit analysis function, the trace bandwidth analysis function, and analysis commands.
Processing Measurement Results Reading Measurement Data at Specific Measurement Points (Using the Marker Function) Reading Measurement Data at Specific Measurement Points (Using the Marker Function) You can use the marker to read measurement data at specific points on the trace or search for the point that meets a specific condition such as the maximum value. You need to use the following command to turn ON the marker before using it. • “MKR” on page 350 You can use the main marker (marker No.
• “SEANPK” on page 427 • “SEANPKL” on page 427 • “SEANPKR” on page 428 • “SEAL” on page 426 • “SEAR” on page 428 • “PKDLTX” on page 399 • “PKDLTY” on page 400 • “PKPOL” on page 400 You can use the following command to set ΔX and ΔY respectively to |XL| and |YL| at the marker-specified measurement point. • Figure 7-1 7. Processing Measurement Results With the marker’s search function, you can search for measurement points, expressed as peaks, that meet the definitions given in Figure 7-1.
Processing Measurement Results Reading Measurement Data at Specific Measurement Points (Using the Marker Function) Reading the marker-specified value Use the following commands to read the marker-specified measurement or sweep parameter value.
for the peak and moves the marker to that negative peak, and positions submarker 2 at the peak. Lines 360 to 430 Example 7-1 1. Chapter Title Processing Measurement Results Reading Measurement Data at Specific Measurement Points (Using the Marker Function) Reads and displays submarker-specified measurement parameter values.
Processing Measurement Results Analyzing Measurement Results Analyzing Measurement Results Equivalent circuit analysis With the Agilent 4294A, five different circuit models are available for equivalent circuit analysis as shown below depending on the type of measurement results obtained.
When you execute the “CALECPARA” command, the analysis results will be automatically displayed. You can use the following command to select whether to display these results on the screen. • 1. Chapter Title Processing Measurement Results Analyzing Measurement Results “DISECPARA” on page 299 Use the following command for query to read equivalent circuit analysis results (equivalent circuit parameters: R1, C1, L1, C0).
Processing Measurement Results Analyzing Measurement Results 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 Cent=6.0E+7 Span=2.
Bandwidth analysis The Agilent 4294A provides a trace bandwidth analysis function and allows you to analyze the active trace’s bandwidth. Use the following command to turn ON this function. • NOTE 1. Chapter Title Processing Measurement Results Analyzing Measurement Results “WIDT” on page 461 The trace bandwidth analysis function is available when the marker function is ON. The applicable range for bandwidth search is the same as the range searched by the marker.
Processing Measurement Results Analyzing Measurement Results Figure 7-2 Trace bandwidth analysis Use the following command to read the results of trace bandwidth analysis. • “OUTPMWID?” on page 390 You can use the following command to search for a measurement point that meets the cutoff point requirements and that is located outside the cutoff point found during the initial search.
Turns ON the marker function, searches for a peak, and moves the marker to the peak. Lines 250 to 260 Specifies the measurement parameter at the cut-off point to 1 ⁄ 2 of that obtained at the marker position and then turns ON the bandwidth search function. Lines 270 to 280 Reads the analysis results and substitutes the obtained values into the corresponding variables B_wid, B_cent, B_q, Peak, Delta_l, and Delta_r. Lines 310 to 370 Displays analysis results if the content of B_wid is not 0.
Processing Measurement Results Analyzing Measurement Results Various analysis methods available with waveform analysis commands The Agilent 4294A provides waveform analysis commands that allow you, for example, to search for the maximum and minimum values on the waveform and analyze waveform ripples and resonator parameters. Use the following commands to specify the applicable range for analysis and the trace to be analyzed.
You can perform the same function by using the marker search function to move the marker to each of the peaks and reading the marker-specified value. NOTE 1. Chapter Title Processing Measurement Results Analyzing Measurement Results The analysis range and the peak definition for waveform analysis commands are specified separately from those for marker search. Therefore, you may obtain different results if the ranges or the definitions are different.
Processing Measurement Results Analyzing Measurement Results information on the parameters you can analyze. Example 7-4 shows a sample program for ceramic resonator parameter analysis using the “OUTPCERR?” command. This program is available under the filename “ana_com.bas” on the sample program disk. This program performs a sweep once, uses the “OUTPCERR?” command to analyze ceramic resonator parameters, and reads and displays the analysis results.
! OUTPUT @Hp4294a;"ANARFULL" OUTPUT @Hp4294a;"ANAO"&Ana_trc$ OUTPUT @Hp4294a;"THRR ";Thrr OUTPUT @Hp4294a;"OUTPCERR?" ENTER @Hp4294a;Zr,Fr,Za,Fa,R1,R2,R3 ! PRINT " --- Analysis Result ---" PRINT "Resonant :";Zr;"[ohm]",Fr;"[Hz]" PRINT "Anti-Resonant:";Za;"[ohm]",Fa;"[Hz]" PRINT "Ripple L :";R1;"[ohm]" PRINT "Ripple M :";R2;"[ohm]" PRINT "Ripple R :";R3;"[ohm]" END 7. Processing Measurement Results 260 270 280 290 300 310 320 330 340 350 360 370 380 390 1.
Processing Measurement Results Analyzing Measurement Results 110 Chapter 7
1. Chapter Title 2. Chapter Title 8. Saving/Recalling a Measurement Result/ Measurement Set up 4. Chapter Title 8 Saving/Recalling a Measurement Result/Measurement Setup 111 5. Chapter Title This chapter describes how to save/recall a measurement result, measurement setup, and other data into/from a file.
Saving/Recalling a Measurement Result/Measurement Setup Save/Recall of a File Save/Recall of a File Specifying a location for save/recall You can select a mass storage for saving/recalling a file from the flash disk (non-volatile), the RAM disk (volatile), or a diskette. To select a mass storage, use the following command. • “STOD” on page 445 To change the current directory, use the following command.
An extension is added to a filename depending on the contents of the file. Table 8-1 Filename extension Extension 1. Chapter Title Saving/Recalling a Measurement Result/Measurement Setup Save/Recall of a File Contents of a file File of a measurement result and calibration/compensation data (internal data arrays) saved in ASCII format .DAT File of a measurement result and calibration/compensation data (internal data arrays) saved in binary format .
Saving/Recalling a Measurement Result/Measurement Setup Save/Recall of a File Copying/deleting a file To copy a file, use the following command. • “FILC” on page 315 To delete a file, use the following command. • NOTE “PURG” on page 406 To copy/delete a file, specify a filename with its extension. Creating a directory To create a directory, use the following command.
Sample Program for Save/Recall 1. Chapter Title Saving/Recalling a Measurement Result/Measurement Setup Sample Program for Save/Recall Example 8-1 shows a sample program to save a file. This program is stored on the sample program disk as the file_sav.bas file. This program sets the save destination mass storage to the flash disk and saves data the user specified using a user specified filename.
Saving/Recalling a Measurement Result/Measurement Setup Sample Program for Save/Recall Line 820 Allows the user to return to the entry start line and enter the data again if an error occurs due to, for example, a typing error. Lines 830 to 840 Prompts the user to enter a save filename (without extension) and waits for the entry of a filename. Line 860 If the entered filename exceeds 8 characters, returns to the entry start line.
Example 8-1 Save/recall 4. Chapter Title 5. Chpter Title 117 2. Chapter Title Chapter 8 8.
Saving/Recalling a Measurement Result/Measurement Setup Sample Program for Save/Recall 620 CALL Inp_file_name(File$) 630 GOTO Save_file 640 END IF 650 IF UPC$(Inp_char$)="P" THEN 660 OUTPUT @Hp4294a;"PURG """&File$&Extension$&"""" 670 GOTO Save_file 680 END IF 690 PRINT "Save NOT Complete" 700 ELSE 710 PRINT "Save Complete" 720 PRINT " Save File Name: "&File$&Extension$ 730 END IF 740 ! 750 END 760 ! 770 ! File Name Input Function 780 ! 790 SUB Inp_file_name(Inp_name$) 800 DIM Inp_char$[30] 810 ON ERROR GOT
1. Chapter Title 2. Chapter Title 3. Chapter Title Communication with External Equipment (Using the I/O Ports) 9. Communication with Exernal Equipment (Using the I/O Ports) 9 5. Chapter Title This chapter describes how to use the 8-bit I/O port and the 24-bit I/O port of the Agilent 4294A to communicate with external equipment (for example, handlers in production lines).
Communication with External Equipment (Using the I/O Ports) Using the I/O Ports Using the I/O Ports 8-bit I/O port The 8-bit I/O port of the 4294A consists of the following TTL signal lines. • OUT0 to OUT7 (8-bit output) • IN0 to IN3 (4-bit input) • GND (ground) Definition of the I/O pins Each signal of the 8-bit I/O port is described below. Figure 9-1 shows the pin assignment diagram. Figure 9-1 OUT 0 to 7 Signal lines that can be set freely from the controller.
8-bit I/O port control commands To output 8-bit data through the OUT0 to OUT7 lines, use the following command. Data is outputted as 8-bit binary, assuming that OUT0 is LSB (least significant bit) and OUT7 is MSB (most significant bit). GPIB command “OUT8IO” on page 368 Instrument BASIC command “WRITEIO 15,0;” GPIB command “INP8IO?” on page 319 Instrument BASIC command “READIO(15,0)” 2. Chapter Title To read out 4-bit data through the IN0 to IN3 lines, use the following command.
Communication with External Equipment (Using the I/O Ports) Using the I/O Ports 24-bit I/O port The 24-bit I/O port of the 4294A consists of 4 independent data input/output parallel ports, several control signal lines, and a power line. All the signals provide TTL level. The data input/output port consists of 2 sets of 8-bit output ports and 2 sets of 4-bit bi-directional ports. You can use these ports as up to a 24-bit output port or up to a 8-bit input port, by using them concurrently.
Input/output port The 24-bit I/O port of the 4294A consists of 2 sets of output ports and 2 sets of bi-directional ports as shown below. • 1. Chapter Title Communication with External Equipment (Using the I/O Ports) Using the I/O Ports Output port Port A: 8-bit width (LSB: A0, MSB: A7) Port B: 8-bit width (LSB: B0, MSB: B7) The signals provide TTL level and latched when used as output.
Communication with External Equipment (Using the I/O Ports) Using the I/O Ports When this input falls (a pulse is inputted), the OUTPUT1 output and the OUTPUT2 output go LOW or HIGH. The delay between the fall of the input and the state transition of both outputs is 200 ns (typical). To select LOW or HIGH of both outputs, use the GPIB command. The pulse width of a signal inputted to INPUT1 must be 1 μs or more.
Table 9-1 Signal assignment Pin number Signal name Signal specification GND 0V 2 INPUT1TTL TTL level, pulse input (width: 1 μs or more) 3 OUTPUT1 TTL level, latch output 4 OUTPUT2 TTL level, latch output 5 Output port A0 TTL level, latch output 6 Output port A1 TTL level, latch output 7 Output port A2 TTL level, latch output 8 Output port A3 TTL level, latch output 9 Output port A4 TTL level, latch output 10 Output port A5 TTL level, latch output 11 Output port A6 TTL leve
Communication with External Equipment (Using the I/O Ports) Using the I/O Ports Basic input/output circuit Table 9-2 Basic input/output circuit of the 24-bit I/O port Basic circuit Input port I/O pin INPUT1 Ports C, D (input)*1 Basic circuit Output port Other I/O pin OUTPUT1, 2 +5V pull-up Port A*1, B*1, C (output)*1, D (output)*1 Write strobe signal SWEEP END signal Port C status, port D status *1.
Preset states at power-on The 24-bit I/O port is set at power-on as follows (not affected at reset). Logic 1. Chapter Title Communication with External Equipment (Using the I/O Ports) Using the I/O Ports Negative logic Write strobe signal HIGH SWEEP END signal HIGH Negative 0 Æ HIGH Port B Negative 0 Æ HIGH Port C Input Port D Input OUTPUT1 HIGH, HIGH at the fall of the INPUT1 input OUTPUT2 HIGH, HIGH at the fall of the INPUT1 input PASS/FAIL signal (Negative) Æ HIGH 2.
Communication with External Equipment (Using the I/O Ports) Using the I/O Ports To read out data from each input port (C to E) to the controller, use the following commands. GPIB command Instrument BASIC command Description “OUTPINPCIO?” on page 381 “READIO(16,2)” Reads out 4-bit width data from port C. “OUTPINPDIO?” on page 382 “READIO(16,3)” Reads out 4-bit width data from port D. “OUTPINPEIO?” on page 382 “READIO(16,4)” Reads out 8-bit width data from port E.
Sample Program to Use the I/O Port 1. Chapter Title Communication with External Equipment (Using the I/O Ports) Sample Program to Use the I/O Port Communication with external equipment shows a sample program to communicate with external equipment through the 8-bit I/O. This program is stored on the sample program disk as the io_port.bas file. Identifies the external controller and Instrument BASIC and sets the GPIB address.
Communication with External Equipment (Using the I/O Ports) Sample Program to Use the I/O Port 130 Chapter 9
1. Chapter Title 2. Chapter Title 3. Chapter Title 4. Chapter Title 10 Handling Errors 131 10. Handling Errors This chapter describes how to handle errors that may occur in the Agilent 4294A while running a program.
Handling Errors Using the Status Register Using the Status Register Status of the 4294A can be detected using the status register. Occurrence of an error will be reflected to the standard event status register. SRQ (Service Request) is used to detect occurrence of an error in your program with information in this register. Use the command below to detect completion of sweep via SRQ. • “*SRE” on page 260 • “*ESE” on page 258 Here described is how to work with SRQ in your program. Step 1.
Using the Error Queue 1. Chapter Title Handling Errors Using the Error Queue When an error occurred, its number and message will be stored in the error queue. Thus, reading contents of the error queue will enable it to verify which error occurred. Use the command below to read contents of the error queue. • “OUTPERRO?” on page 380 1. Use the error queue to branching control of the program in response to an error. If no error occurred.
Handling Errors Sample program for error handling Sample program for error handling Example 10-1 is a sample program for detecting an error via SRQ. This program is saved in the file “error.bas” on the sample program disk. This program performs necessary settings for SRQ, intentionally sends a command that the 4294A does not support to cause an error, then handles the error occurred.
Example 10-1 Detecting of an error via SRQ 2.
Handling Errors Sample program for error handling 136 Chapter 10
11. Using HP Instrument BASIC 2. Chapter Title 3. Chapter Title 4. Chapter Title 11 Using HP Instrument BASIC 137 5. Chapter Title This chapter gives an overview of HP Instrument BASIC and explains how to use the keyboard. Read this chapter before using the HP Instrument BASIC program installed in the Agilent 4294A.
Using HP Instrument BASIC HP Instrument BASIC, Overview HP Instrument BASIC, Overview You can use HP Instrument BASIC in a wide variety of applications from mere automation of a measurement procedure to external GPIB equipment control. HP Instrument BASIC, although incorporated in the 4294A, works as independent system control. Thus it can communicate, using GPIB commands, with external GPIB measuring equipment, computers, peripheral devices, let alone the 4294A's main unit via the GPIB interface.
Reserving an Area for BASIC on the Screen When the 4294A is powered on, the measurement screen (ALL INSTRUMENT) shows up. The BASIC screen is made ready so as to use HP Instrument BASIC. In the 4294A, four screen layouts are available. Let's go over these four screen layouts. 11. Using HP Instrument BASIC Using HP Instrument BASIC Reserving an Area for BASIC on the Screen Step 1. Press the following key and softkeys. 2. Chapter Title [Display] - more 1/2 - ALLOCATION Step 2.
Using HP Instrument BASIC Editing a Program Editing a Program Starting up and exiting edit mode Starting up edit mode with key operation on the front panel The following key operation allows you to start up edit mode regardless of the layout displayed on the screen. [System] - IBASIC - Edit Starting up edit mode by use of the keyboard Enter the following command and parameter (a line number), then press the [Enter] key.
Inserting characters In edit mode, character insertion mode is constantly ready. What you type on the keyboard is inserted at the cursor position (not in overwrite mode). Moving the cursor 11. Using HP Instrument BASIC Using HP Instrument BASIC Editing a Program You can move the cursor either leftward or rightward by the key operation given below. Front panel operation 2. Chapter Title Turn the rotary knob. Keyboard operation Press either the [←] key or the [→] key.
Using HP Instrument BASIC Editing a Program Clearing a line Pressing the [End] key while holding down the [Shift] key on the keyboard allows you to delete characters from the current cursor position to the end of that line. Re-numbering a line number The procedure given below allows you to re-number a line number of the program. Step 1. Carry out the following key operation on the front panel. [System] - IBASIC - more 1/3 - more 2/3 - RENUMBER or type REN by use of the keyboard. Step 2.
Running a Program Step 1. Reserve the BASIC area. For the procedure, see “Reserving an Area for BASIC on the Screen” on page 139. 11. Using HP Instrument BASIC Using HP Instrument BASIC Running a Program Step 2. Read the program that you want to execute. For the procedure, see “Reading a Program (GET)” on page 147. 2. Chapter Title Step 3. Carry out the following key operation on the front panel. Then the program is run. [System] - IBASIC - Run Or type RUN on the keyboard, then press the [Enter] key.
Using HP Instrument BASIC Listing a Program (LIST) Listing a Program (LIST) You can output a program listing either on the screen or to the printer. Displaying a program listing on the screen You output a program listing on the screen as described below. Step 1. Since a program listing is output on the BASIC area of the 4294A's LCD screen, you need to reserve the BASIC area before outputting a listing. For the procedure, see “Reserving an Area for BASIC on the Screen” on page 139. Step 2.
Saving a Program (SAVE) Step 1. To use the built-in floppy disk drive, insert a 2DD disk or 2HD disk into the floppy disk drive. (If the disk is not initialized, initialize it in DOS format. For the procedure see Operation Manual.) Step 3. Decide on which storage unit to use a floppy disk, RAM disk (volatile), or flash disk (non-volatile). If you decide on it by use of the front panel, follow the procedure given below. 1. Carry out the key operation given below. 2. Chapter Title Step 2.
Using HP Instrument BASIC Listing File Names (CAT) Listing File Names (CAT) Here follows how to list file names saved in the storage unit (the intended disk you save a file in) Displaying a list of file names on the screen Step 1. Since the list of file names is output on the BASIC area of the 4294A's LCD screen, you need to reserve the BASIC area before outputting the list. For the procedure, “Reserving an Area for BASIC on the Screen” on page 139. Step 2.
Reading a Program (GET) Here follows the procedure of reading a program from the storage unit. 11. Using HP Instrument BASIC Using HP Instrument BASIC Reading a Program (GET) Step 1. To read a program from a floppy disk, inert it into the floppy disk drive. Step 2. Reserve a BASIC area on the screen. For the procedure, see “Reserving an Area for BASIC on the Screen” on page 139. 2. Chapter Title Step 3. Decide on which storage unit to use a floppy disk, RAM disk (volatile), or flash disk (non-volatile).
Using HP Instrument BASIC ON KEY LABEL Functions ON KEY LABEL Functions HP Instrument BASIC provides you with a means to define softkeys within a program. Softkeys defined in a program will be displayed in the softkey label area if you press the [F10] while holding down the [Shift] key on the keyboard or if you press the keys [System] - IBASIC - ON KEY LABELS on the front panel. The labels are displayed only when the program is being run. An example is given below.
Pass Control Involved with an External Controller Here follows the description of how to exchange the control priority (pass control) between Instrument BASIC and an external controller. 11. Using HP Instrument BASIC Using HP Instrument BASIC Pass Control Involved with an External Controller Pass control PASS CONTROL 717 When the 4294A has the control priority, the 4294A can specify another device on the GPIB bus to freely exchange (talk/listen) data.
Using HP Instrument BASIC Pass Control Involved with an External Controller Communicating with an external controller Example 11-1 shows an example of communication between an external controller and the 4294A Instrument BASIC. This example shows a program executable only on the external controller. It is given a file name prg_xfer.bas and is stored in the sample program disk.
Usable I/O Interfaces and Select Code Interfaces usable in the 4294A Instrument BASIC and their select codes are as follow. Select code 11. Using HP Instrument BASIC Using HP Instrument BASIC Usable I/O Interfaces and Select Code Device LCD 2 Keyboard 7 External GPIB interface 8 Internal GPIB interface 2. Chapter Title 1 External RUN/CONTinue Connector 3.
Using HP Instrument BASIC Displaying Graphics Displaying Graphics You can draw graphics on the screen of the 4294A by use of HP Instrument BASIC. the 4294A has two screens, that is, the instrument screen and the graphics screen. These screens are both always displayed on the LCD, and you cannot choose either of them to display. The instrument screen is made up of the area for displaying traces and the area for displaying softkey labels.
Hard copy You can produce hard copy output of graphics by use of the printing feature. Press the START key located under the [Copy] key. Default setting 11. Using HP Instrument BASIC Using HP Instrument BASIC Displaying Graphics The default setting when the power is turned on is as follows. MOVE 0,0 2. Chapter Title • A sample graphics program Here follows a simple example to draw a line on the graphics screen.
Using HP Instrument BASIC Keyboard Keyboard Here is the description of key bindings of the keyboard. Character entry keys The character keys are laid out the same as U.S. 101 keyboard. Additional features are as follows. [Caps] Pressing this key switches between uppercase characters (default) and lowercase characters. [Shift] With this key held down, uppercase characters entered turn to lowercase characters, lowercase characters entered turn to uppercase characters.
Numeric keys The numeric keys are useful for entering numbers and operators. Simply typing an expression in the command line and pressing the Enter key displays the result at the lower left part of the screen. This key works the same as the [Enter] key. [0]-[9] The numeric keys work the same as those on the front panel of the 4294A. [Num Lock] This key has no effect. Pressing this key turns LED on or off, but the numeric keys can be used for entering numeric values only.
Using HP Instrument BASIC Keyboard or the key combination [Alt]+[F4]. The reason for this is that either the [Pause] key or the key combination [Alt] + [F4] doesn't work until the System finishes processing the current program line. System control keys [Shift]+[Page Up] Pressing the [Page Up] key while holding down the [Shift] key calls again the program line last entered (history feature).
Softkeys accessed from [Shift]+[F9] key. Pressing the [F9] key while holding down the [Shift] key calls the BASIC menu to be used for controlling a program. Pressing this softkey allows you to run a command or to generate program source code instead of keyboard entries. Each menu item is described below. Executes the program line by line. Useful for debugging. Continue Cancels the temporary stop of the program. Run Runs the program.
Using HP Instrument BASIC Keyboard The [Ctrl] in edit mode Pressing a certain key while holding down the [CTRL] key in edit mode works equivalently to one of the control keys such as [↑], [↓] or [Insert]. Description of how these keys work is given below. Key operation Working [Ctrl]+[a] Moves the cursor to the beginning of the line. (Equivalent to [Shift]+[¨]) [Ctrl]+[b] Moves the cursor backward one character space. (Equivalent to [¨]) [Ctrl]+[d] Erases the character over the cursor.
Instrument BASIC Commands Specific to the Agilent 4294A The commands given below are not carried on “HP Instrument BASIC Language Reference” in HP Instrument BASIC User's Handbook, but they are available on HP Instrument BASIC of the 4294A. They can be run both by use of the keyboard and within programs. They, if used in a program, can be used in a single IF ... THEN .... line. 2. Chapter Title DATE This function converts a date (day, month, year) into Julian seconds.
Using HP Instrument BASIC Instrument BASIC Commands Specific to the Agilent 4294A READIO This command reads the content of I/O ports. Syntax: READIO(,) Parameter Description Select code Range of setting One of 15, and 16 15: 8-bit I/O port 16: 24-bit I/O port • Register number With the select code set to 15: 0 only With the select code set to 16: 2 to 4 Example of use Ioport=READIO(15,0) ! Assigns data in the 8-bit I/O port to ! the variable Ioport.
TIME This function indicates the elapsed time from 00:00 a.m. in seconds. • Examples of use Seconds=TIME("8:37:20") ! The elapsed time expressed in seconds ! from 00:00 a.m. to 08:37:20 a.m. SET TIME TIME("8:37:20") ! Sets the real time clock to 08:37:20. ON TIME TIME("12:10") GOSUB Lunch ! Jumps to Lunch when 12:10 comes. This function returns the elapsed time from 00:00 a.m. in the form of HH:MM:SS. • Examples of use DISP "The time is: ";TIME$(TIMEDATE) ! Current time set in the real ! time clock.
Using HP Instrument BASIC Instrument BASIC Commands that Cannot be Run on the Agilent 4294A Instrument BASIC Commands that Cannot be Run on the Agilent 4294A The commands given below are carried on “HP Instrument BASIC Language Reference” in HP Instrument BASIC User's Handbook, but they cannot be run on HP Instrument BASIC of the 4294A.
1. Chapter Title 12. Using LAN 3. Chapter Title 4. Chapter Title 12 Using LAN 163 5. Chapter Title This chapter describes LAN (Local Area Network)-based file transfer and remote control.
Using LAN Advantages of LAN Connection Advantages of LAN Connection You can connect the Agilent 4294A with LAN. Connecting it with LAN allows you to make use of the functions given below. • You can easily transfer files between an external computer and the 4294A. You can transfer files held in the 4294A to an external computer or vice versa bypassing floppy disks. You can directly save settings or measurement data held in the 4294A into an external computer.
Getting Ready for Using LAN 1. Chapter Title Using LAN Getting Ready for Using LAN Getting ready for LAN connection NOTE Obtain the settings of IP address, gateway address, and sub-net mask from your network administrator. NOTE If your network doesn’t need to be connected with devices on different physical networks, usually you need to set neither the gateway IP address nor the sub-net mask.
Using LAN Getting Ready for Using LAN Setting a gateway IP address Here follows the way of setting a gateway IP address. Step 1. Press the [Local] key in the INSTRUMENT STATE block on the front panel, and press the GATEWAY ADRESS key. Step 2. Press the 1st key, and enter the first number of the gateway IP address delimited by a period. Step 3. Press the 2nd key, the 3rd key, and the 4thkey, and similarly enter the second, the third, and the fourth numbers of the gateway IP address delimited by a period.
Transferring Files 1. Chapter Title Using LAN Transferring Files You can transfer files from the 4294A, if connected to LAN, to an external computer connected to the same LAN or vice versa by use of FTP (file transfer protocol). NOTE File transfer procedure using ftp A file transfer procedure that uses ftp (an FTP-based file transfer program) is described here by taking up an example in which you transfer a file (name: ex_pc.
Using LAN Transferring Files Step 8. Type put ex_pc.sta at the ftp prompt and press the Return key. This completes the transfer from an external computer to flash memory. Step 9. Type get ex_ins.sta at the ftp prompt and press the Return key. This completes the transfer from flash memory to an external computer. Step 10. Type quit at the ftp prompt and press the Return key to quit ftp. The chief commands used in ftp are briefly described below.
File transfer procedure using a file transfer application Using a file transfer application in a Windows environment allows you to easily transfer files thanks to the mouse. A general operation procedure in which such an application is used is briefly given below. 1. Chapter Title Using LAN Transferring Files Step 1. Start up an applicable file transfer application. A screen as it is before connecting the 4294A (a screen like Figure 12-1, for example) appears.
Using LAN Transferring Files Figure 12-2 A sample screen of file transfer application (after connected with the 4294A) Step 4. Copy files, similarly to the usual procedure for copying files by use of Windows 95 Explorer, from the external computer side (the window labeled 1 in Figure 12-2) to the 4294Aside (the window labeled 2 in Figure 12-2), or from the 4294A side to the external computer.
Saving/Recalling a File in/from an External Computer 1. Chapter Title Using LAN Saving/Recalling a File in/from an External Computer The dynamic data disk of the 4294A holds measurement data together with virtual files to be used to read the state of equipment settings or to make settings.
Using LAN Saving/Recalling a File in/from an External Computer Table 12-1 shows virtual files in the dynamic data disk and workings of file transfer. Table 12-1 Virtual files held in the dynamic data disk and the workings of file transfer File name Description get/put*1 get Saves the current settings and internal data arrays of the 4294A in files held on an external computer. put Recalls the files held on an external computer containing the settings and internal data arrays into the 4294A.
*2.If user calibration data haven't been measured or haven't been entered by use of applicable commands, the values of calibration arrays will not be contained in the files saved. *3.This operation is ignored if an Instrument BASIC program is being edited or run on the 4294A. *4.If an Instrument BASIC program is being edited or run on the 4294A, the process of editing or running is suspended, and Instrument BASIC is reset, then the programs are downloaded and run. 1.
Using LAN Controlling the Agilent 4294A Controlling the Agilent 4294A You can control the 4294A, if connected to LAN, from an external controller. The communication between an external controller and the 4294A is achieved by means of connecting sockets created by individual processes and by forming a network path between the process of the external controller and that of the 4294A.
Figure 12-3 An example of control using telnet 1. Chapter Title Using LAN Controlling the Agilent 4294A 12. Using LAN NOTE Two transfer modes are available in telnet. In line mode, pressing the Return key sends characters entered up to that time to the 4294A. That is, characters are sent line by line. Thus if you make a mistake in typing a command, you can correct it by use of the Backspace key. 3. Chapter Title Step 5.
Using LAN Controlling the Agilent 4294A Control from a program To control the 4294A from a program stored on an external controller, make connection by use of the socket of Port 5025. NOTE You cannot use some of functions usable within GPIB, such as service request, by way of LAN. Control with HP VEE In HP VEE, using To/From Socket makes connection with the socket of Port 5025 so that you can control the 4294A. Figure 12-4 shows an example (in which the IP address 1.10.100.50 is assigned to the 4294A).
Figure 12-5 ctrl_lan.xls 1. Chapter Title Using LAN Controlling the Agilent 4294A 12. Using LAN 3. Chapter Title In the part 1, type the version No. of WinSock API into the cell at the right to “WinSock Version.” Determine this version No. by multiplying the major version No. by 256, then adding this product to the minor version No. In the case of Version 1.1, for example, 256 × 1 + 1 = 257. Type the IP address of the 4294A into the cell at the right to “IP address.
Using LAN Controlling the Agilent 4294A Clicking the Read Data Trace button in the part 4 will read values of data trace to display them in tabular and graphical formats. If the measurement parameter is COMPLEX Z-Y, these table and graph will not be displayed properly. In the part 5, the List Sweep Table is set. Clicking the Set button will create the List Sweep Table, like the Settings Table; clicking the Query button will read the existing List Sweep Table of the 4294A.
wHighVersion As Integer szDescription As String * WSA_DescriptionSize szSystemStatus As String * WSA_SysStatusSize iMaxSockets As Integer iMaxUdpDg As Integer lpVendorInfo As String * 200 End Type 1.
Using LAN Controlling the Agilent 4294A Public Declare Function recv Lib "wsock32.dll" (ByVal s As Long, ByVal buf As Any, ByVal buflen As Long, ByVal flags As Long) As Long Public Declare Function recvB Lib "wsock32.dll" Alias "recv" (ByVal s As Long, buf As Any, ByVal buflen As Long, ByVal flags As Long) As Long Public Declare Function send Lib "wsock32.dll" (ByVal s As Long, buf As Any, ByVal buflen As Long, ByVal flags As Long) As Long Public Declare Function socket Lib "wsock32.
Below are described subprograms corresponding to each step in Figure 12-6: 1. Chapter Title Using LAN Controlling the Agilent 4294A Startup The subprogram corresponding to Startup is StartIt (Example 12-2). StartIt uses the version of WinSock API entered into the part 1 of Figure 12-5 to start up and initialize WinSock API with the WSAStartup function of WinSock API. This WSAStartup function must always be executed at the start of WinSock. Parameters for this function are version No.
Using LAN Controlling the Agilent 4294A MsgBox ("ERROR: socket = " + Str$(socketId)) OpenSocket = COMMAND_ERROR Exit Function End If '...................(2) ' ' ' 'Open a connection to a server I_SocketAddress.sin_family I_SocketAddress.sin_port = I_SocketAddress.sin_addr = I_SocketAddress.sin_zero = = AF_INET htons(PortNumber) ipAddress String$(8, 0) ' '...................
Example 12-5 RecvAscii Function RecvAscii(dataBuf As String, ByVal maxLength As Integer) As Integer 1. Chapter Title Using LAN Controlling the Agilent 4294A Dim c As String * 1 Dim length As Integer If c = Chr$(10) Then dataBuf = dataBuf + Chr$(0) RecvAscii = NO_ERROR Exit Function End If length = length + count dataBuf = dataBuf + c Wend ' ' '...................(1) ' ' ' ' '...................(2) ' ' ' 12.
Using LAN Controlling the Agilent 4294A Example of control Like autoscale (subprogram executed when the Auto Scale button is pressed) shown in Example 12-8, executing subprograms above in the sequence above will allow you to control the 4294A.
1. Chapter Title 2. Chapter Title 13. Application Sample Programs 4. Chapter Title Application Sample Programs 13 5. Chapter Title This chapter provides sample measurements (sample programs).
Application Sample Programs Basic Measurement Basic Measurement Example 13-1 shows a sample program of a basic capacitor measurement. This program is stored on the sample program disk as the bsc_meas.bas file. This program performs the same measurement described in “Learning basic operations” of the Agilent 4249A Operation Manual. Connect the Agilent 16047E test fixture for lead parts to the Agilent 4294A, and then start the program.
Performs a single sweep and waits for its completion. Lines 670 to 700 Executes the auto scale on trace A and trace B to automatically set the scale parameters so that waveforms fit on the screen. Lines 740 to 760 Searches for the minimum value (self-resonant point) on trace A using the marker. Lines 780 to 860 Reads out the measurement parameter value (impedance) and the sweep parameter value (frequency) at the marker on trace A and displays them.
Application Sample Programs Basic Measurement 460 ! 470 ! Display Setting 480 ! 490 OUTPUT @Hp4294a;"TRAC A" 500 OUTPUT @Hp4294a;"FMT "&Fmt_a$ 510 OUTPUT @Hp4294a;"TRAC B" 520 OUTPUT @Hp4294a;"FMT "&Fmt_b$ 530 OUTPUT @Hp4294a;"SPLD "&Spl_disp$ 540 ! 550 Meas_start: ! Single Sweep Start 560 ! 570 PRINT "Set DUT, then Push [Enter] key" 580 INPUT "",Inp_char$ 590 ! 600 OUTPUT @Hp4294a;"SING" 610 PRINT "Now measuring...
Figure 13-1 An example of the execution result of the program in Example 13-1 (when executed using IBASIC) 2. Chapter Title 1100 OUTPUT @Hp4294a;"COMC" 1110 END SELECT 1120 PRINT "Now measuring..." 1130 Meas_wait: GOTO Meas_wait 1140 Meas_end: ! 1150 PRINT Standard$&" Data Measurement Complete" 1160 RETURN 0 1170 ELSE 1180 PRINT "Program Interruption" 1190 RETURN -1 1200 END IF 1210 FNEND 1. Chapter Title Application Sample Programs Basic Measurement 13. Application Sample Programs 4. Chapter Title 5.
Application Sample Programs Measuring Dielectric Material Measuring Dielectric Material This section describes how to measure dielectric material using the 4294A and the 16451B dielectric test fixture. Measurement Procedure Figure 13-2 shows the flow of dielectric measurement. Figure 13-2 Flow of Dielectric Measurement Step 1. Prepare the dielectric material Fabricate the MUT to the appropriate size.
Step 3. Perform the adapter setup function Select 4TP 1M as the adapter, measure the phase data for calculating the setup data, calculate the setup data, and store it into the nonvolatile memory. NOTE 1. Chapter Title Application Sample Programs Measuring Dielectric Material For details on how to set up the adapter when connecting the 16451B, refer to “Preparing Accessories for Measurement” in the 4294A Operation Manual. Step 4. Adjust the electrodes 2.
Application Sample Programs Measuring Dielectric Material Step 7. Insert the MUT Insert the MUT between the 16451B’s electrodes. Step 8. Cp-D measurement Measure the equivalent parallel capacitance (Cp) and the dissipation factor (D). When using the non-contacting electrode method, perform the Cp-D measurement twice in this step: one with the MUT connected and the other not connected. Step 9.
Sample Program for Contacting Electrode Method Example 13-2 shows a sample program to measure dielectric materials (contacting electrode method) (for HP Instrument BASIC). You can find the source file of this program, named permi_c.bas, on the sample program disk. 1. Chapter Title Application Sample Programs Measuring Dielectric Material The steps to use the program are described below: Step 1. Connect the 16451B dielectric test fixture to the 4294A, and start this program.
Application Sample Programs Measuring Dielectric Material Figure 13-3 Example of the Result of Executing the Program of Example 13-2 The program is described in detail below: Line 90 Sets the GPIB address. Lines 100 to 110 Assigns the upper half of the LCD screen to measurement result display and the lower half to the HP Instrument BASIC, and terminates the sweep. Line 130 Stores the permittivity of vacuum into the E0 variable.
be parallel. Passes control to a subroutine named Compen to execute fixture compensation. Lines 570 to 580 Passes control to subroutines named Input_t and Input_d to set the MUT thickness and the electrode diameter. Line 590 Passes control to a subroutine named Sweep to perform measurement. Line 600 Passes control to a subroutine named Calc to calculate each parameter. Line 610 Jumps to the Display line and displays each parameter. Lines 640 to 960 The Select_elec subroutine.
Application Sample Programs Measuring Dielectric Material air capacitor is used as the LOAD standard. Lines 2230 to 2260: Waits until you adjust the distance between the electrodes so that the limit test results display PASS (an appropriate air capacitor value is obtained) and press the Continue key. Lines 2270 to 2300: Checks the limit test result. Lines 2330 to 2340: Retrieves the measurement result (Cp) and stores it into the Load_c variable for the LOAD standard value.
2 2 ( ε r' + ε r'' ) as trace A and the dielectric dissipation factor as trace B. 1. Chapter Title Application Sample Programs Measuring Dielectric Material Lines 3830 to 4040 Processing when the softkey labeled as “er' - er''” is pressed. Displays the real part of the complex relative permittivity ( ε r' ) as trace A and the imaginary part of the complex relative permittivity ( ε r'' ) as trace B. Lines 4210 to 4310 Processing when the softkey labeled as “Re-measure” is pressed.
Application Sample Programs Measuring Dielectric Material 450 PRINT "[ ] Select the main electrode of 16451B" 460 PRINT "[ ] Perform the adapter setup (1m cable)" 470 PRINT "[ ] Adjust the electrodes (Parallelizing)" 480 PRINT "[ ] Perform fixture compensation" 490 PRINT "x: done, s: skip, n: not required.
4. Chapter Title 5. Chapter Title 199 13. Application Sample Programs 13 2. Chapter Title 1090 PAUSE 1100 DISP "Wait until the setup is finished.
Application Sample Programs Measuring Dielectric Material 1730 IF Ans=1 THEN 1740 PRINT TABXY(2,7);"s] " 1750 RETURN 1760 END IF 1770 END IF 1780 PRINT TABXY(4,7);"->" 1790 Input_config:! 1800 DISP "Start frequency [Hz] = ?"; 1810 INPUT "",Start 1820 DISP "Stop frequency [Hz] = ?"; 1830 INPUT "",Stop 1840 DISP "Sweep type? 0:Linear, 1:Log"; 1850 INPUT Ans 1860 IF Ans=1 THEN 1870 Swe_type$="LOG" 1880 ELSE 1890 Swe_type$="LIN" 1900 END IF 1910 DISP "OSC level [V] =?"; 1920 INPUT "",Vosc 1930 DISP "Number of p
13. Application Sample Programs 4. Chapter Title 5. Chapter Title 13 2. Chapter Title 2350 ! 2360 OUTPUT @Agt4294a;"STAR ";Start 2370 OUTPUT @Agt4294a;"STOP ";Stop 2380 OUTPUT @Agt4294a;"SWPT ";Swe_type$ 2390 OUTPUT @Agt4294a;"POIN ";Nop 2400 OUTPUT @Agt4294a;"BWFACT ";Bw 2410 OUTPUT @Agt4294a;"POWMOD VOLT;POWE ";Vosc 2420 OUTPUT @Agt4294a;"DCOMOPENG ";Load_g 2430 OUTPUT @Agt4294a;"DCOMOPENC ";Load_c/1.
Application Sample Programs Measuring Dielectric Material 2990 3000 3010 3020 3030 3040 3050 3060 3070 3080 3090 3100 3110 3120 3130 3140 3150 3160 3170 3180 3190 3200 3210 3220 3230 3240 3250 3260 3270 3280 3290 3300 3310 3320 3330 3340 3350 3360 3370 3380 3390 3400 3410 3420 3430 3440 3450 3460 3470 3480 3490 3500 3510 3520 3530 3540 3550 3560 3570 3580 3590 3600 3610 3620 202 OUTPUT @Agt4294a;"*OPC?" ENTER @Agt4294a;Opc DISP "Now getting data...
13. Application Sample Programs 4. Chapter Title 5. Chapter Title 13 2.
Application Sample Programs Measuring Dielectric Material 4270 4280 4290 4300 4310 4320 4330 4340 4350 4360 4370 4380 4390 4400 4410 4420 4430 4440 4450 4460 4470 4480 4490 4500 4510 4520 4530 4540 4550 4560 4570 4580 4590 4600 4610 4620 4630 4640 4650 4660 4670 4680 4690 4700 4710 4720 4730 4740 4750 4760 4770 4780 4790 4800 4810 4820 204 CASE 1 GOTO Display CASE ELSE GOTO Re_meas END SELECT ! Quit: ! DISP "Really quit the program? 0:Yes, 1:Cancel"; INPUT "",Ans SELECT Ans CASE 0 DISP "Bye.
Sample Program for Non-Contacting Electrode Method Example 13-3 shows a sample program to measure dielectric materials (non-contacting electrode method) (for HP Instrument BASIC). You can find the source file of this program, named permi_nc.bas, on the sample program disk. This programs is very similar to Example 13-2, and therefore only its listing is given here. Example 13-3 1.
Application Sample Programs Measuring Dielectric Material 550 Meas: ! 560 GOSUB Input_t 570 GOSUB Input_d 580 DISP "Create the electrode gap Tg.
4. Chapter Title 5. Chapter Title 207 13. Application Sample Programs 13 2. Chapter Title 1190 PAUSE 1200 DISP "Wait until the setup is finished.
Application Sample Programs Measuring Dielectric Material 1830 IF Ans=1 THEN 1840 PRINT TABXY(2,7);"s] " 1850 RETURN 1860 END IF 1870 END IF 1880 PRINT TABXY(4,7);"->" 1890 Input_config:! 1900 DISP "Start frequency [Hz] = ?"; 1910 INPUT "",Start 1920 DISP "Stop frequency [Hz] = ?"; 1930 INPUT "",Stop 1940 DISP "Sweep type? 0:Linear, 1:Log"; 1950 INPUT Ans 1960 IF Ans=1 THEN 1970 Swe_type$="LOG" 1980 ELSE 1990 Swe_type$="LIN" 2000 END IF 2010 DISP "OSC level [V] =?"; 2020 INPUT "",Vosc 2030 DISP "Number of p
13. Application Sample Programs 4. Chapter Title 5. Chapter Title 13 ! OUTPUT @Agt4294a;";STAR ";Start OUTPUT @Agt4294a;";STOP ";Stop OUTPUT @Agt4294a;";SWPT ";Swe_type$ OUTPUT @Agt4294a;"POIN ";Nop OUTPUT @Agt4294a;";BWFACT ";Bw OUTPUT @Agt4294a;";POWMOD VOLT;POWE ";Vosc OUTPUT @Agt4294a;"DCOMOPENG ";Load_g OUTPUT @Agt4294a;"DCOMOPENC ";Load_c/1.
Application Sample Programs Measuring Dielectric Material 3090 OUTPUT @Agt4294a;"TRAC A" 3100 OUTPUT @Agt4294a;"AUTO" 3110 OUTPUT @Agt4294a;"OUTPDTRC?" 3120 ENTER @Agt4294a USING "%,K";Cp_data(*) 3130 OUTPUT @Agt4294a;"TRAC B" 3140 OUTPUT @Agt4294a;"AUTO" 3150 OUTPUT @Agt4294a;"OUTPDTRC?" 3160 ENTER @Agt4294a USING "%,K";D_data(*) 3170 RETURN 3180 ! 3190 Calc: ! 3200 FOR I=1 TO Nop 3210 D_data3(I,1)=(D_data2(I,1)+Err_data(I,1)*(D_data2(I,1)-D_data1(I,1))*((T g/T_dut)-1)) 3220 D_data3(I,2)=0 3230 Err_data(I,
13. Application Sample Programs 4. Chapter Title 5. Chapter Title 13 2.
Application Sample Programs Measuring Dielectric Material 4350 4360 4370 4380 4390 4400 4410 4420 4430 4440 4450 4460 4470 4480 4490 4500 4510 4520 4530 4540 4550 4560 4570 4580 4590 4600 4610 4620 4630 4640 4650 4660 4670 4680 4690 4700 4710 4720 4730 4740 4750 4760 4770 4780 4790 4800 4810 4820 4830 4840 4850 4860 4870 4880 4890 4900 4910 212 GOTO Meas CASE 1 GOTO Display CASE ELSE GOTO Re_meas END SELECT ! Quit: ! DISP "Really quit the program? 0:Yes, 1:Cancel"; INPUT "",Ans SELECT Ans CASE 0 DISP "Bye
Measuring Magnetic Materials 1. Chapter Title Application Sample Programs Measuring Magnetic Materials This section describes how to measure magnetic materials using the 4294A (and the 42942A terminal adapter) and the 16454A magnetic material test fixture. Measurement Procedure Figure 13-4 2. Chapter Title Figure 13-2 shows the flow of magnetic material measurement. Flow of Magnetic Material Measurement 13. Application Sample Programs 4. Chapter Title Step 1.
Application Sample Programs Measuring Magnetic Materials Step 3. Connect the 16454A Connect either the small of large electrode of 16454A (whose size is suitable for the shape of the magnetic material (MUT) you want to measure) to the 42942A. NOTE For details on how to handle the 16454A (the dimensions of the MUT suitable for measurement in each size (small or large)), refer to the 16454A Operation and Service Manual. Step 4.
Sample Program Example 13-4 shows a sample program to measure magnetic materials (for HP Instrument BASIC). You can find the source file of this program, named permeabi.bas, on the sample program disk. 1. Chapter Title Application Sample Programs Measuring Magnetic Materials How to use the program is described below: Step 2. When the message “Connect OPEN (0S) to the 7mm port and press 'Continue'.” is displayed, connect OPEN to the 42942A and press the Continue key (2nd softkey from the top).
Application Sample Programs Measuring Magnetic Materials Figure 13-5 Example of the Result of Executing the Program of Example 13-4 The program is described in detail below: Lines 100 to 110 Sets the GPIB address and select code. Lines 120 to 130 Assigns the upper half of the LCD screen to measurement result display and the lower half to the HP Instrument BASIC, and stops the sweep. Line 150 Stores the permeability of vacuum into the U0 variable.
Lines 510 to 630: When you finish connecting OPEN and press the Continue key, measures phase and OPEN with the same connection. 1. Chapter Title Application Sample Programs Measuring Magnetic Materials Lines 640 to 810: Measures SHORT and LOAD in the same way. Lines 820 to 850: Calculates the setup data and saves it into the nonvolatile memory. Lines 880 to 1400 The Fixt_compen subroutine. Lines 920 to 970: Asks you if you want to execute fixture compensation.
Application Sample Programs Measuring Magnetic Materials Lines 2750 to 2880 Processing when the softkey labeled as “Cole-cole Plot” is pressed Displays the COLE-COLE plot on the complex plane. Lines 2900 to 3000 Processing when the softkey labeled as “Re-measure” is pressed. Lines 3020 to 3120 Processing when the softkey labeled as “Quit” is pressed.
4. Chapter Title 5. Chapter Title 219 13. Application Sample Programs 13 2. Chapter Title 560 Phase_meas_end: ! 570 OUTPUT @Agt4294a;"*CLS" 580 ON INTR Scode GOTO Open_meas_end 590 ENABLE INTR Scode;2 600 DISP "Now measuring OPEN data..." 610 OUTPUT @Agt4294a;"ECALA" 620 Open_meas_wait: GOTO Open_meas_wait 630 Open_meas_end: ! 640 OUTPUT @Agt4294a;"*CLS" 650 ON INTR Scode GOTO Short_meas_end 660 ENABLE INTR Scode;2 670 DISP "Connect SHORT (0-OHM) to the 7mm port and press 'Continue'.
Application Sample Programs Measuring Magnetic Materials 1190 PRINT TABXY(1,11);"Sweep Type: ";Swe_type$;" OSC Level: ";Vosc;"[V] BW: ";Bw; 1200 DISP "Measurement condition is OK? 0:OK, 1:NO"; 1210 INPUT "",Ans 1220 IF Ans<>0 THEN Input_config 1230 ! 1240 OUTPUT @Agt4294a;"CALP USER" 1250 OUTPUT @Agt4294a;"MEAS IRIM" 1260 OUTPUT @Agt4294a;"STAR ";Start 1270 OUTPUT @Agt4294a;"STOP ";Stop 1280 OUTPUT @Agt4294a;"SWPT ";Swe_type$ 1290 OUTPUT @Agt4294a;"POIN ";Nop 1300 OUTPUT @Agt4294a;"BWFACT ";Bw 1310 OUTPUT @
13. Application Sample Programs 4. Chapter Title 5.
Application Sample Programs Measuring Magnetic Materials 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 2830 2840 2850 2860 2870 2880 2890 2900 2910 2920 2930 2940 2950 2960 2970 2980 2990 3000 3010 3020 3030 3040 3050 3060 3070 3080 3090 222 OUTPUT @Agt4294a;"AUTO" OUTPUT @Agt4294a;"TRAC A" BEEP DISP "A: |ur| B: tan d " RETURN ! Disp_ur_ui: ! DISP "Now loading data...
2.
Application Sample Programs Measurement controlling oscillator level Measurement controlling oscillator level Example 13-5 shows a sample program of a measurement by correctly applying specified test signal level at DUT using the oscillator level monitor function. This program is stored on the sample program disk as the alc.bas file. Connect the Agilent 16047E test fixture for lead parts to the Agilent 4294A, and then start this program.
Turns on the manual sweep function and the level monitor function, and sets the oscillator level mode to Power_mode$. Lines 520 to 600 According to the oscillator level mode, substitutes the command name for reading the level monitor value, the range (lower limit and upper limit) of level setting into the variables: Command$, Range_l, and Range_u, respectively. Lines 640 to 650 Prompts the user to connect a DUT, and waits for a press of the [Enter] key after the connection.
Application Sample Programs Measurement controlling oscillator level 230 Fmt_b$="LINY" 240 Pow_mode$="CURR" 250 Level=.001 260 Err_limit=1.
13. Application Sample Programs 4.
Application Sample Programs Measurement controlling oscillator level Figure 13-6 An example of the output at the execution of the program in Example 13-5 ############# Measurement Result ############# Frequency Monitor: CURR Trace A Trace B 1.00000E+03 1.0051E-03 5.7868E-01 1.7915E+02 1.58489E+03 1.0021E-03 5.7978E-01 1.7871E+02 2.51189E+03 1.0014E-03 5.8124E-01 1.7816E+02 3.98107E+03 9.9914E-04 5.8055E-01 1.7681E+02 6.30957E+03 1.0075E-03 5.7941E-01 1.7607E+02 1.00000E+04 9.9661E-04 5.8421E-01 1.
Measurement using scanner 1. Chapter Title Application Sample Programs Measurement using scanner To perform measurement using the scanner while switching differnet channels, compensation for each channel must have been done. The 4294A lets you perform measurement while scanning channels, by making the connection as shown in 4294A and using functions including the list sweep, reading/writing compensation coefficients, and the manual sweep.
Application Sample Programs Measurement using scanner Figure 13-8 shows the flow of measurement with scanning. Figure 13-8 Scanning measurement flow Step 1. Connecting the instruments Connect the instruments as shown in Figure 13-9. Figure 13-9 Connection between 4294A and 3499A Step 2. Setting up the adapter Select 4TP 2M as the adapter and perform setup.
performed here. Because the phase compensation is common to all the channels, perform it for one channel. For the phase compensation, you need to bring the measurement terminal into the open state as shown in Figure 13-10. Figure 13-10 1. Chapter Title Application Sample Programs Measurement using scanner Open state 2. Chapter Title Step 3. Setting the measurement conditions Step 4.
Application Sample Programs Measurement using scanner variables Adapter$, Meas_para$, Swp_type$, Pow_mod$, and Dc_mod$, respectively. Lines 340 to 370 Performs setting the 3499A. Make setting so that the system mode is 3488A mode, modules 1 and 2 are coupled, and channel 0 is closed. Lines 410 to 450 Performs setting to set up the adapter.
Lines 1200 to 1340 Performs the load compensation in the same way as the open compensation and creates the multiple channel support compensation coefficient. 1. Chapter Title Application Sample Programs Measurement using scanner Lines 1380 to 1430 Enters the created compensation coefficient to the 4294A. Lines 1470 to 1480 Sets the trigger source to the internal trigger and stops the sweep.
Application Sample Programs Measurement using scanner Example 13-6 Measurement with channel switching (scanning) 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 234 DIM Adapter$[9],Meas_para$[5],Swp_type$[9] DIM Fmt_a$[9],Fmt_b$[9],Start$[9],Stop$[9],Nop$[5],Osc$[9] DIM Bias$[9],Bw$[5],Avg$[5],Header$[9],Buff$[9] INTEGER Max_chan,Point(4),S
13. Application Sample Programs 4. Chapter Title 5. Chapter Title 13 2.
Application Sample Programs Measurement using scanner 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 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 236 NEXT J PRINT NEXT I CLEAR SCREEN PRINT "##### Load Compensation #####" OUTPUT @Agt4294a;"DCOMLOADR 100OHM" OUTPUT @Agt4294a;"DCOMLOADL 0H" FOR I=0 TO Max_chan OUT
13. Application Sample Programs 4. Chapter Title 5. Chapter Title 13 2. Chapter Title 1710 WAIT .
Application Sample Programs Measurement using scanner 2280 Setup_start: ! 2290 PRINT "Set "&Standard$&"-Connection" 2300 INPUT "OK? [Y/N]",Inp_char$ 2310 OFF ERROR 2320 IF UPC$(Inp_char$)="Y" THEN 2330 ON INTR Scode GOTO Meas_end 2340 ENABLE INTR Scode;2 2350 PRINT "Now measuring...
File Transfer Function 1. Chapter Title Application Sample Programs File Transfer Function This section describes how to use the file transfer function, showing you a sample program. The file transfer function uses the external controller to transfer files between the selected storage device of this instrument (RAM disk, flash disk or diskette) and an external storage device (such as hard disk). This function allows you to: Directly access data you want to use on the external controller.
Application Sample Programs File Transfer Function File Transfer from 4294A to External Controller This program transfers a specified file in the current directory (RAM disk in the sample program of Example 13-7 ) of the 4294A to the current directory of the storage device (A drive in the sample program of Example 13-7 ) connected to the external controller, giving a file name you desire. When executed, this program first prompts you to enter a source file name, as shown below.
Accept the entry of the source file name and the destination file name. Line 190 Calls the subprogram to transfer a file from the 4294A to the external controller. Lines 280 to 320 Prepare for writing to the destination file. Lines 340 to 370 Prepare for reading the source file to the external controller. Line 400 Executes the query command to read data. Lines 410 to 430 Read the part indicating the length of the fixed length block data (see 13 241 5. Chapter Title Lines 110 to 170 4.
Application Sample Programs File Transfer Function Figure 16-7 on page 407 to obtain the length of the data to be transferred. Lines 450 to 500 Check the data length. If the data length is 0, the transfer process is terminated. Lines 530 to 550 Adjusts the format and reads the data part. Line 560 Writes the data to the destination file. The maximum length of data transferred at a time is 16 Kbytes.
4. Chapter Title 5. Chapter Title 243 13. Application Sample Programs 13 2.
Application Sample Programs File Transfer Function 710 720 730 740 750 760 770 780 790 NOTE OUTPUT @Agt4294;"OUTPERRO?" ENTER @Agt4294;Err_no,Err$ IF Err_no<>0 THEN PRINT "ERROR: ";Str$;" RETURN -1 ELSE RETURN 0 END IF FNEND ";Err$ Lines 80 to 90 Set the current directory of the external controller to A drive and sets the current directory of the 4294A to the RAM disk. You can set the current directory of the 4294A to the internal flexible disk using the STODDISK command.
Line 70 Calls the subprogram to display the list of the files in the current directory. Lines 160 to 200 Check the storage device currently selected and its current directory name, and then display the result. Lines 230 to 240 Check the number of the files in the current directory. Lines 250 to 330 If there are any files in the current directory, check the name and size of every file and display them. 4.
Application Sample Programs File Transfer Function 246 13
1. Chapter Title 2. Chapter Title 3. Chapter Title 14. Using Printer 14 Using Printer 247 5. Chapter Title This chapter describes the procedures for printing out your measurement results with a printer.
Using Printer Printing onto a Printer Directly Connected to Agilent 4294A Printing onto a Printer Directly Connected to Agilent 4294A The Agilent 4294A provides direct connection to a printer, allowing you to print a hardcopy of the LCD screen. The printer can be connected to the printer parallel port on the rear panel of the 4294A. See Operation Manual for detailed information on the connection and supported printers.
How to print screen Set the LCD screen as you desired then use the command below to start printing. • 1. Chapter Title Using Printer Printing onto a Printer Directly Connected to Agilent 4294A “PRINALL” on page 405 Use the command below to abort your printing. • “COPA” on page 282 The following items can be set for the printing.
Using Printer Printing onto a Printer Available on an External Computer Printing onto a Printer Available on an External Computer The 4294A can be connect to LAN (Local Area Network). NOTE When a printer is directly connected to LAN (not a computer connected to LAN), it is not possible to print onto the computer from the 4294A connected to LAN. From the 4294A connected to LAN, images on the LCD or files on the 4294A can be transferred to other computers connected to the same LAN.
1. Chapter Title 2. Chapter Title 3. Chapter Title 4. Chapter Title 15 Setting the Display (LCD) 251 15. Setting the Display (LCD) This chapter describes the procedures for setting the displayed colors of traces and characters as well as the brightness of the LCD display.
Setting the Display (LCD) Setting the LCD Screen Setting the LCD Screen Setting colors for images on the LCD screen Colors can be separately specified for the following images on the LCD screen. • • • • • • • • • • • • • • NOTE Trace A (data trace type) Trace A (memory trace type) Trace B (data trace type) Trace B (memory trace type) Grid and part of softkey labels Text strings for warning notification Text strings other than measurement values and warning notification Text strings for Instrument BASIC.
Sample program for setting the LCD screen 1. Chapter Title Setting the Display (LCD) Sample program for setting the LCD screen Example 15-1 shows a sample program for setting colors for the LCD screen. This program is saved in the file “color.bas” on the sample program disk. This program allows you to change the color of the data trace A to green and to increase the whiteness of colors for the pens 2 to 6 in the Instrument BASIC screen.
Setting the Display (LCD) Sample program for setting the LCD screen 254 Chapter 15
16. GPIB Command Reference (*,A-E) 16 GPIB Command Reference This chapter is the GPIB command reference for the Agilent 4294A. The IEEE common commands, the 4294A commands, and the Instrument BASIC control commands are described in alphabetical order.
GPIB Command Reference Syntax Notational conventions in this command reference This section describes the rules to read the description of the commands in this chapter. Syntax Part with heading “Syntax” describes the syntax to send a command from the external controller to the 4294A. A syntax consists of a command part and a parameter part. The separator between the command part and the parameter part is a space. If there are several parameters, the separator between adjacent parameters is a comma (,).
Corresponding key Part with heading “Corresponding key” shows the operational procedure of the front panel keys that has the same effect as this command. Chapter 16 257 16.
GPIB Command Reference *CLS IEEE common command This section describes the IEEE common commands. *CLS Syntax *CLS Description Clears the error queue, Status Byte Register, Operation Status Register, Standard Event Status Register, and Instrument Event Status Register. This command has the same function as the “CLES” command on page 279. (No query) Corresponding key No front panel key is available to execute this function.
*ESR? Syntax *ESR? Description Reads out the value of the Standard Event Status Register. Executing this command clears the register value. (Query only) Query response {numeric}<^END> Corresponding key No front panel key is available to execute this function. *IDN? Syntax *IDN? Description Reads out the manufacturer, model number, serial number, and firmware version number of the 4294A.
GPIB Command Reference *OPT? *OPT? Syntax *OPT? Description Reads out the identification number of an option installed in the 4294A. (Query only) Query response {string}<^END> If there is no installed option, a blank ("") is read out. Corresponding key No front panel key is available to execute this function. *RST Syntax *RST Description Triggers a reset to the preset state.
*STB? Syntax *STB? Description Reads out the value of the Status Byte Register. (Query only) Query response {numeric}<^END> Corresponding key No front panel key is available to execute this function. *TRG Syntax *TRG Description If the trigger mode is set to GPIB/LAN (set to BUS with the “TRGS” command on page 459), triggers the 4294A waiting for a trigger. (No query) Corresponding key No front panel key is available to execute this function.
GPIB Command Reference *WAI *WAI Syntax *WAI Description Waits for the execution of all overlap commands sent before this command to be completed. Overlap commands include the following.
The Agilent 4294A commands This section describes the GPIB commands specific to the 4294A. ACCUD Syntax ACCUD {ON|OFF|1|0} ACCUD? Description Enables/disables the display mode to accumulate traces in which they are not cleared at each sweep. Parameters Description ON or 1 Enables the trace accumulating display. OFF or 0 (Initial value) Disables the trace accumulating display (the trace is cleared at each sweep and only the latest trace is displayed).
GPIB Command Reference ADDRGW ADDRGW Syntax ADDRGW <1st>,<2nd>,<3rd>,<4th> ADDRGW? Description Sets the gateway IP address when using the 4294A connected to LAN. NOTE To bring the setting of the changed gateway IP address to take effect, reboot (turn off and then on again) the 4294A after the setting.
ADDRIP Syntax ADDRIP <1st>,<2nd>,<3rd>,<4th> ADDRIP? Description Sets the LAN IP address of the 4294A when using the 4294A connected to LAN. NOTE To bring the setting of the changed IP address to take effect, reboot (turn off and then on again) the 4294A after the setting.
GPIB Command Reference ANAODATA ANAODATA Syntax ANAODATA ANAODATA? Description Selects the data trace as the target trace when performing analysis using the waveform analysis command. Only either the data trace or memory trace can be specified as the analysis target. After the execution of this command, executing the “ANAOMEMO” command makes the data trace to be no longer the analysis target. When the measurement parameter is COMPLEX Z-Y, the analysis target is |Z| (for trace A) or |Y| (for trace B).
ANARANG Syntax ANARANG ,[HZ|MHZ|V|A] ANARANG? Description Sets the analysis range when performing waveform analysis using the waveform analysis command. You specify the analysis range using the lower limit and the upper limit (or, the upper limit and the lower limit).
GPIB Command Reference ANARFULL ANARFULL Syntax ANARFULL Description Sets the analysis range to the entire sweep range when performing waveform analysis using the waveform analysis command. (No query) Corresponding key No front panel key is available to execute this function.
AVER Syntax AVER {ON|OFF|1|0} AVER? Description Enables/disables the sweep averaging function. Parameters Description ON or 1 Enables the sweep averaging function. OFF or 0 (Initial value) Disables the sweep averaging function. Query response {1|0}<^END> Corresponding key [Bw/Avg] - AVERAGING on OFF AVERFACT Syntax AVERFACT AVERFACT? Description Sets the averaging factor of the sweep averaging function.
GPIB Command Reference BACI BACI Syntax BACI [PCT] BACI? Description Sets the brightness of the background color on the display screen. You specify the brightness in a percentage of the white level (the level of white, larger means brighter).
BEEPFAIL Syntax BEEPFAIL {ON|OFF|1|0} BEEPFAIL? Description Enables/disables the beep when the limit test result is FAIL. Parameters Description ON or 1 Enables the beep. OFF or 0 (initial value) Disables the beep. Query response {1|0}<^END> Corresponding key [System] - LIMIT TEST - BEEP FAIL on OFF BEEPWARN Syntax BEEPWARN {ON|OFF|1|0} BEEPWARN? Description Enables/disables the beep when an error message is displayed or when an invalid key is pressed.
GPIB Command Reference BLIGHT BLIGHT Syntax BLIGHT {ON|OFF|1|0} BLIGHT? Description Toggles on and off the backlight of the LCD screen. If the backlight is off, you cannot read displayed information on the screen. Parameters Description ON or 1 (initial value) Turns on the backlight. OFF or 0 Turns off the backlight. Query response {1|0}<^END> Corresponding key No front panel key is available to execute this function.
BOTV Syntax BOTV [OHM|DEG|RAD|SIE|H|F|PCT] BOTV? Description Sets the minimum value on the display screen in the Y axis (vertical axis) direction (the value of the bottom of the grid).
GPIB Command Reference BWFACT BWFACT Syntax BWFACT {1|2|3|4|5} BWFACT? Description Sets the bandwidth. To set the bandwidth of each segment when creating the list sweep table, also use this command. Parameters Description 1 (Initial value) Specifies bandwidth 1 (shortest measurement time). 2 Specifies bandwidth 2. 3 Specifies bandwidth 3. 4 Specifies bandwidth 4. 5 Specifies bandwidth 5 (longest measurement time, accurate measurement).
CALECPARA Syntax CALECPARA Description Executes the equivalent circuit analysis depending on the equivalent circuit model specified with the “EQUC” command on page 311, and displays the analysis result (equivalent circuit parameters). The analysis range is the same as that of the marker search function.
GPIB Command Reference CALST CALST Syntax CALST {ON|OFF|1|0} CALST? Description Toggles on and off the user calibration function. If the user calibration data is not stored (executed with the “CALDON” command on page 274), executing this command to turn on the calibration causes an error and the command is ignored. Parameters Description ON or 1 Turns on the user calibration function. OFF or 0 (initial value) Turns off the user calibration function.
CENT Syntax CENT [HZ|MHZ|V|A] CENT? Description Sets the sweep range center value. To set the center value of each segment when creating the list sweep table, also use this command. Parameters Description Center value Range When the sweep parameter is frequency Initial value 55.
GPIB Command Reference CHAD CHAD Syntax CHAD Description Change the current directory under which file operation is performed. To change it to a directory in a different mass storage, use the “STOD” command on page 445 to change the file operation target mass storage, and then execute this command. (No query) Parameters Description Change destination directory name Range 8 characters or less Use ".." (2 periods) as the directory name to move to the one-level upper directory.
CLEL Syntax CLEL Description In the creation/edit of the list sweep table, deletes all segments. Executing this command during the execution of segment creation/edit causes an error. If list sweep table creation/edit has not been started, executing this command automatically starts table creation/edit and then deletes all segments. (No query) NOTE Executing the “EDITDONE” command on page 310 brings the created/edited list sweep table to take effect.
GPIB Command Reference CLOSE CLOSE Syntax CLOSE Description Returns a file, which has been read/write-enabled using the “ROPEN”(412page) command or “WOPEN”(462page) command, to access-disabled status. If this command is executed before reading process using the “READ?”(407page) command completes, an error occurs.
COLOR Syntax COLOR [PCT] COLOR? Description Sets the vividness (chroma) of the display color of the item selected with the “COLO” command on page 280. Parameters Description Percentage of the most vivid status (status in which white and black are not mixed completely) Range 0 to 100 Initial value Varies depending on the display item selected with the “COLO” command on page 280.
GPIB Command Reference COMST{A|B|C} COMST{A|B|C} Syntax COMST{A|B|C} {ON|OFF|1|0} COMST{A|B|C}? Description Toggles on and off the OPEN/SHORT/LOAD compensation of the fixture compensation function. The “COMSTA” command is used to set the OPEN compensation; the “COMSTB” command, the SHORT compensation; the “COMSTC” command, the LOAD compensation.
COPT Syntax COPT {ON|OFF|1|0} COPT? Description Enables/disables the output of the time and date to a printer. Parameters Description ON or 1 Enables the output of the time and date. OFF or 0 (Initial value) Disables the output of the time and date. Query response {1|0}<^END> Corresponding key [Copy] - SETUP - more 1/2 - TIME on OFF COUT Syntax COUT COUT? Description Sets the input/output direction of port C of the 24-bit I/O port to output.
GPIB Command Reference CRED CRED Syntax CRED Description Creates a new directory under the current directory. To change the current directory, use the “CHAD” command on page 278. (No query) Parameters Description Name of a new directory Range 8 characters or less If the specified file name has characters that exceed the maximum length, only the string of up to the maximum length is valid and the remaining characters are ignored.
CWFREQ Syntax CWFREQ [HZ|MHZ] CWFREQ? Description Sets the frequency of the oscillator for the oscillator (OSC) level sweep and dc bias level sweep. Parameters Description Frequency of the oscillator Range 40 to 110E6 Initial value 1E6 Unit Hz Resolution 1E-3 If the specified parameter is out of the allowable setting range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.
GPIB Command Reference DATOVAL DATOVAL Syntax DATOVAL DATOVAL? Description For the active trace (set with the “TRAC” command on page 457), if the measurement parameter is a scalar value, sets a value that is subtracted from the data trace (offset value). The contents of the data trace is the result of subtracting the offset value from the measured data (if the contents of the data trace is an operation result depending on the setting with the “DISP” command on page 301, the operation result).
DCALLOAD{R|L} Syntax DCALLOADR [OHM] DCALLOADL [H] DCALLOAD{R|L}? Description For user calibration data measurement (“CAL{A|B|C}” command on page 274), sets the resistance value (the “DCALLOADR” command) and the inductance value (the “DCALLOADL” command) of the LOAD standard of the calibration kit used to measure LOAD calibration data.
GPIB Command Reference DCALOPEN{G|C} DCALOPEN{G|C} Syntax DCALOPENG [SIE] DCALOPENC DCALOPEN{G|C}? Description For user calibration data measurement (“CAL{A|B|C}” command on page 274), sets the conductance value (“DCALOPENG” command) and the capacitance value (“DCALOPENC” command) of the OPEN standard of the calibration kit used to measure OPEN calibration data.
DCALSHOR{R|L} Syntax DCALSHORR [OHM] DCALSHORL [H] DCALSHOR{R|L}? Description For user calibration data measurement (“CAL{A|B|C}” command on page 274), sets the resistance value (“DCALSHORR” command) and the inductance value (“DCALSHORL” command) of the SHORT standard of the calibration kit used to measure SHORT calibration data.
GPIB Command Reference DCI DCI Syntax DCI [A] DCI? Description Sets the dc bias output level when the dc bias output mode is the current mode or constant-current mode. To set the dc bias output level of each segment when creating the list sweep table, also use this command. Parameters Description Output current value of dc bias Range -0.1 to 0.
DCMOD Syntax DCMOD {VOLT|CURR|CVOLT|CCURR} DCMOD? Description Selects the dc bias output mode. To set the dc bias output mode of each segment when creating the list sweep table, also use this command. Parameters Description VOLT (initial value) Specifies the voltage mode. CURR Specifies the current mode. CVOLT Specifies the constant-voltage mode. CCURR Specifies the constant-current mode.
GPIB Command Reference DCOMLOAD{R|L} DCOMLOAD{R|L} Syntax DCOMLOADR [OHM] DCOMLOADL [H] DCOMLOAD{R|L}? Description For fixture compensation data measurement (“COM{A|B|C}” command on page 281), sets the resistance value (“DCOMLOADR” command) and the inductance value (“DCOMLOADL” command) of the LOAD standard used to measure LOAD compensation data.
DCOMOPEN{G|C} Syntax DCOMOPENG [SIE] DCOMOPENC DCOMOPEN{G|C}? Description For fixture compensation data measurement (“COM{A|B|C}” command on page 281), sets the conductance value (“DCOMOPENG” command) and the capacitance value (“DCOMOPENC” command) of the OPEN standard used to measure OPEN compensation data.
GPIB Command Reference DCOMSHOR{R|L} DCOMSHOR{R|L} Syntax DCOMSHORR [OHM] DCOMSHORL [H] DCOMSHOR{R|L}? Description For fixture compensation data measurement (“COM{A|B|C}” command on page 281), sets the resistance value (“DCOMSHORR” command) and the inductance value (“DCOMSHORL” command) of the SHORT standard used to measure SHORT compensation data.
DCV Syntax DCV [V] DCV? Description Sets the dc bias output level when the dc bias output mode is the voltage mode or constant-voltage mode. To set the dc bias output level of each segment when creating the list sweep table, also use this command.
GPIB Command Reference DEFEC{R1|C1|L1|C0} DEFEC{R1|C1|L1|C0} Syntax DEFECR1 [OHM] DEFEC{C1|C0} [F] DEFECL1 [H] DEFEC{R1|C1|L1|C0}? Description Defines an R1/C1/L1/C0 equivalent circuit parameter. The “DEFECR1” command defines R1; the “DEFECC1” command, C1; the “DEFECL1” command, L1; the “DEFECC0” command, C0, respectively. For equivalent circuit parameters, refer to “Equivalent circuit analysis” on page 100.
DFLT Syntax DFLT Description Returns the settings related to printout to the initial states (refer to the table below).
GPIB Command Reference DISA DISA Syntax DISA {ALLI|HIHB|ALLB|BASS} DISA? Description Sets the allocation of the measurement result display screen and the HP Instrument BASIC (IBASIC) screen on the LCD screen. Parameters Description ALLI (initial value) Uses the entire LCD screen as the measurement result display screen. HIHB Uses the upper half of the LCD screen as the measurement result display screen and the lower half as the HP IBASIC screen. ALLB Uses the entire LCD screen as the HP IBASIC.
DISECPARA Syntax DISECPARA {ON|OFF|1|0} DISECPARA? Description Toggles on and off the equivalent circuit parameter display. Executing equivalent circuit analysis (by the execution of “CALECPARA” command on page 275) automatically turns on the equivalent circuit parameter display. Parameters Description ON or 1 Turns on the equivalent circuit parameter display. OFF or 0 (initial value) Turns off the equivalent circuit parameter display.
GPIB Command Reference DISMAMP DISMAMP Syntax DISMAMP {UL|MD} DISMAMP? Description Sets the limit range display format to display the limit line table. Parameters Description UL (initial value) Specifies the range display format using the limit range upper limit and lower limit. MD Specifies the range display format using the limit range central value and range width.
DISP Syntax DISP {DATA|MEMO|DATM|DMNM|DELP|DDVM} DISP? Description For the active trace (set with the “TRAC” command on page 457), makes the setting related to the displayed trace. If a parameter other than DATM is set, the scale setting target trace (set with the “SCAF” command on page 422) and the marker use target trace (set with the “MKRO” command on page 356) are also changed.
GPIB Command Reference DMKR DMKR Syntax DMKR {ON|FIX|TRAC|OFF} DMKR? Description For the active trace (set with the “TRAC” command on page 457), makes the setting of the Δ marker. In the coupled marker mode (set with the “MKRCOUP” command on page 352), the setting is applied to both the A and B traces regardless of the active trace setting. If the marker function is off, executing this command causes an error and the command is ignored.
DMKRAUV Syntax DMKRAUV [OHM|DEG|RAD|SIE] DMKRAUV? Description For the active trace (set with the “TRAC” command on page 457), if the measurement parameter is a vector value (for COMPLEX Z-Y), moves the fixed Δ marker at the position of the specified measurement parameter value (subsidiary readout). Executing this command as Query reads out the measurement parameter value of the fixed Δ marker (subsidiary readout).
GPIB Command Reference DMKRP DMKRP Syntax DMKRP DMKRP? Description For the active trace (set with the “TRAC” command on page 457), moves the Δ marker to the specified measurement point. In the coupled marker mode (set with the “MKRCOUP” command on page 352), moves the Δ markers of both the A and B traces, regardless of the active trace setting. If this command is executed as Query, it reads out the measurement point number at the Δ marker position.
DMKRPRM Syntax DMKRPRM [HZ|MHZ|V|A] DMKRPRM? Description For the active trace (set with the “TRAC” command on page 457), moves the Δ marker on the trace to the position of the specified sweep parameter value. Note that, for the fixed Δ marker, the Y axis (vertical axis) value is not changed before and after the move. In the coupled marker mode (set with the “MKRCOUP” command on page 352), regardless of the active trace setting, moves the Δ marker of both the A and B traces.
GPIB Command Reference DMKRVAL DMKRVAL Syntax DMKRVAL [OHM|DEG|RAD|SIE|H|F|PCT] DMKRVAL? Description For the active trace (set with the “TRAC” command on page 457), moves the fixed Δ marker to the position of the specified measurement parameter value. Executing this command as Query reads out the measurement parameter value of the fixed Δ marker. If the Δ marker mode is off, executing this command causes an error and the command is ignored.
DMODE Syntax DMODE {DMY|MDY} DMODE? Description When the date printout setting is enabled (specified to ON with the “COPT” command on page 283), sets the display format of the date. Parameters Description DMY Specifies the setting to display the date in the order of Day/Month/Year. MDY (initial value) Specifies the setting to display the date in the order of Month/Day/Year.
GPIB Command Reference DPI DPI Syntax DPI DPI? Description Sets the print resolution (DPI) for printout. Parameters Description Print resolution Range 75 to 600 Initial value 75 Resolution 1 If the specified parameter is out of the allowable setting range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.
E4TP Syntax E4TP {OFF|M1|M2|APC7|PROBE} E4TP? Description Selects the adapter in the adapter setting. Parameters Description OFF (initial value) Specifies no adapter (NONE). M1 Specifies the Agilent 16048G (4TP 1M). M2 Specifies the Agilent 16048H (4TP 2M). APC7 Specifies the Agilent 42942A (7mm 42942A). PROBE Specifies the Agilent 42941A (PROBE 42941A).
GPIB Command Reference ECALQUI ECALQUI Syntax ECALQUI Description Aborts the measurement of data to calculate the setup data of the selected adapter. (No query) Corresponding key [Cal] - ADAPTER [ ] - SETUP - cancel EDITDONE Syntax EDITDONE Description Finishes the creation/edit of the list sweep table. Executing this command brings the created/edited table to take effect.
EQUC Syntax EQUC {CIRA|CIRB|CIRC|CIRD|CIRE} EQUC? Description Selects an equivalent circuit model (A to E) used when executing the equivalent circuit analysis with the “CALECPARA” command on page 275. For details on each equivalent circuit model, refer to “Equivalent circuit analysis” on page 100. Parameters Description CIRA (initial value) Specifies equivalent circuit model A. CIRB Specifies equivalent circuit model B. CIRC Specifies equivalent circuit model C.
GPIB Command Reference EQUCPARS4? EQUCPARS4? Syntax EQUCPARS4? Description If the sweep parameter is frequency and the measurement parameter is |Z|-θ, within the waveform analysis range specified with the “ANARANG” command on page 267, analyzes the 4-device equivalent circuit parameters of a crystal oscillator (refer to Figure 16-1) using the admittance characteristic circle diagram (refer to Figure 16-2), and reads out them.
GPIB Command Reference ESB? C0, C1, L1 and R1 are calculated using the following equations. C0 = C1 × fr2/(fa2 - fr2) C1 = 1 /(Q × R1 × 2 × π × fs) L1 = Q × R1 /(2 × π × fs) R1 = 1 / Gmax If there are no fa and fr points on the admittance chart, C0 is calculated using the following equation. C0 = Bfs /(2 × π × fs) Figure 16-2 Admittance characteristic circle diagram Corresponding key No front panel key is available to execute this function.
GPIB Command Reference ESNB ESNB Syntax ESNB ESNB? Description Sets the value of Instrument Event Status Enable Register (Event Status Enable Register B).
GPIB Command Reference FILC FILC Syntax FILC ,,, Description Copies a file. To specify a file, use a file name including its extension (refer to Table 8-1 on page 113).
GPIB Command Reference FNAME? FNAME? Syntax FNAME? Description Returns the file name corresponding to a specified number in the current directory. To each file, a number is assigned from 1 to "the number of the files" in alphabetical order. Use the “FNUM?”(316page) command to verify the number of the files in the current directory. (Query only) Parameters Description Specified file No.
GPIB Command Reference FORM4 FORM4 Syntax FORM4 Description Sets the transfer format for reading array data to the ASCII format (preset state). For details about transfer formats, refer to “Data Transfer Format” on page 78. (No query) Corresponding key No front panel key is available to execute this function. Syntax FORM5 Description Sets the transfer format for reading array data to the MS-DOS personal computer format.
GPIB Command Reference FSIZE? FSIZE? Syntax FSIZE? Description Returns the size of a specified file in bytes. If the file does not exist, this command returns -1. (Query only) Parameters Description File name of up to 12 characters including its extension Query response {numeric}<^END> Corresponding key No front panel key is available to execute this function. HIDI Syntax HIDI {ON|OFF|1|0} HIDI? Description Hides/shows the inactive trace and the grid.
GPIB Command Reference INID INID Syntax INID Description Initializes a disk inserted in the flexible disk drive, RAM disk, and flash disk. (No query) Corresponding key [Save] - FILE UTILITIES - FORMAT Syntax INP8IO? Description 4-bit data is inputted to the 4294A through IN0 to IN3 of the 8-bit I/O port and the data is read out to the external controller. This command has the same function as the READIO(15,0) command of Instrument BASIC.
GPIB Command Reference INPUCALC{1-3} INPUCALC{1-3} Syntax INPUCALC{1|2|3} ,,..,, Description Enters OPEN/SHORT/LOAD data for user calibration. Use the “INPUCALC1” command to enter OPEN data (G-B); the “INPUCALC2” command, SHORT data (R-X); the “INPUCALC3” command, LOAD data (R-X). When all the OPEN/SHORT/LOAD data is entered, the calibration coefficient is automatically calculated and it is stored into the non-volatile memory (backup memory).
GPIB Command Reference INPUCOMC{1-3} INPUCOMC{1-3} Syntax INPUCOMC{1-3} ,,..,, Description Enters the OPEN/SHORT/LOAD compensation data for fixture compensation, calculates the compensation coefficient, and stores it into the non-volatile memory (backup memory). The “INPUCOMC1” command is for OPEN compensation data (G-B); the “INPUCOMC2” command, SHORT compensation data (R-X); the “INPUCOMC3” command, for LOAD compensation data (R-X). 16.
GPIB Command Reference INPUDTRC INPUDTRC Syntax INPUDTRC ,,..,, Description Enters a data trace array (refer to “Internal data arrays” on page 81). A mismatch, between the number-of-points setting at the execution of the command and the number of entered parameters, causes an error and the command is ignored. (No query) Parameters Description The measurement parameter value of the n-th measurement point.
GPIB Command Reference KEY KEY Syntax KEY KEY? Executing this command performs the same operation as a press of a specified front panel key. To specify a front panel key, use a key code. For the relationship between each key and its key code, refer to Figure 16-3. Figure 16-3 Key code of each key on the front panel 16.
GPIB Command Reference LANDSCAPE LANDSCAPE Syntax LANDSCAPE {ON|OFF|1|0} LANDSCAPE? Description Enables/disables landscape printing for printout. Parameters Description ON or 1 Specifies landscape as the print direction. OFF or 0 (initial value) Specifies portrait as the print direction. Query response {1|0}<^END> Corresponding key [Copy] - SETUP - more 1/2 - LANDSCAPE on OFF LIMCLEL Syntax LIMCLEL Description In the creation/edit of the limit line table, deletes all segments.
GPIB Command Reference LIMDSTAR LIMDSTAR Syntax LIMDSTAR [DEG|RAD|OHM|SIE|H|F|PCT] LIMDSTAR? Description If segment creation/edit has not been started, executing this command automatically starts the edit of the edit target segment and then sets the limit width of the start point.
GPIB Command Reference LIMDSTOP LIMDSTOP Syntax LIMDSTOP [DEG|RAD|OHM|SIE|H|F|PCT] LIMDSTOP? Description In the creation/edit of the limit line table, sets the limit width (=upper value - central value) of the stop point of each segment (specified with the “LIMSTOP” command on page 336). Use this command, together with the “LIMVSTOP” command on page 340, when specifying the limits using the central value and the width.
GPIB Command Reference LIMIAMPO LIMIAMPO Syntax LIMIAMPO [DEG|RAD|OHM|SIE|H|F|PCT] LIMIAMPO? Description For the active trace (set with the “TRAC” command on page 457), sets an offset value of the limit for the measurement parameter value. 16.
GPIB Command Reference LIMITEST LIMITEST Syntax LIMITEST {ON|OFF|1|0} LIMITEST? Description For the active trace (set with the “TRAC” command on page 457), toggles on and off the limit test function. Parameters Description ON or 1 Turns on the limit test function. OFF or 0 (initial value) Turns off the limit test function.
GPIB Command Reference LIMLSTOP LIMLSTOP Syntax LIMLSTOP [DEG|RAD|OHM|SIE|H|F|PCT] LIMLSTOP? Description If segment creation/edit has not been started, executing this command automatically starts the edit of the edit target segment and then sets the lower limit of the stop point.
GPIB Command Reference LIMSADD LIMSADD Syntax LIMSADD [] Description In the creation/edit of the limit line table, adds a new segment, changes the edit target segment to the added segment, and starts edit. The position where a segment is added is as follows: • If a segment is specified: Added in the line below the specified segment. • If no segment is specified: Added in the line below the segment specified as the edit target (set with the “LIMSEGM” command on page 333).
GPIB Command Reference LIMSDEL LIMSDEL Syntax LIMSDEL [] Description In the creation/edit of the limit line table, deletes the specified segment (if no segment is specified, the segment specified as the edit target) from the table. During segment edit (after the execution of the “LIMSADD” command on page 330 or “LIMSEDI” command on page 332 and before the execution of the “LIMSDON” command on page 331), executing this command causes an error and the command is ignored.
GPIB Command Reference LIMSEDI LIMSEDI Syntax LIMSEDI Description In the creation/edit of the limit line table, starts the edit of the segment specified as the edit target (set with the “LIMSEGM” command on page 333). Note that, if a segment is specified, the edit target segment is changed to the specified segment and then the edit is started. After the completion of the parameter setting of the segment, execute the “LIMSDON” command on page 331 to finish the edit work.
GPIB Command Reference LIMSEGM LIMSEGM Syntax LIMSEGM LIMSEGM? Description If the creation/edit of the limit line table is not started, executing this command automatically starts table creation/edit and then sets the execution target segment.
GPIB Command Reference LIMSTAR LIMSTAR Syntax LIMSTAR [HZ|MHZ|V|A] LIMSTAR? Description In the creation/edit of the limit line table, sets the sweep parameter value of each segment start point. If segment creation/edit has not been started, executing this command automatically starts the edit of the edit target segment and then sets the sweep parameter value of the start point.
GPIB Command Reference LIMSTEST LIMSTEST Syntax LIMSTEST {ON|OFF|1|0} LIMSTEST? Description In the creation/edit of the limit line table for the active trace (set with the “TRAC” command on page 457), toggles on and off the limit test function for each segment. If the creation/edit of the limit line table has not been started, executing this command automatically starts table creation/edit, starts the edit of the edit target segment, and then turns on/off the function.
GPIB Command Reference LIMSTOP LIMSTOP Syntax LIMSTOP [HZ|MHZ|V|A] LIMSTOP? Description In the creation/edit of the limit line table, sets the sweep parameter value of each segment stop point. If segment creation/edit has not been started, executing this command automatically starts the edit of the edit target segment and then sets the sweep parameter value of the stop point.
GPIB Command Reference LIMUSTAR LIMUSTAR Syntax LIMUSTAR [DEG|RAD|OHM|SIE|H|F|PCT] LIMUSTAR? Description If segment creation/edit has not been started, executing this command automatically starts the edit of the edit target segment and then sets the upper limit of the start point.
GPIB Command Reference LIMUSTOP LIMUSTOP Syntax LIMUSTOP [DEG|RAD|OHM|SIE|H|F|PCT] LIMUSTOP? Description In the creation/edit of the limit line table, sets the upper limit of the stop point of each segment (specified with the “LIMSTOP” command on page 336). Use this command, together with the “LIMLSTOP” command on page 329, when specifying the limits using the upper limit and the lower limit.
GPIB Command Reference LIMVSTAR LIMVSTAR Syntax LIMVSTAR [DEG|RAD|OHM|SIE|H|F|PCT] LIMVSTAR? Description If segment creation/edit has not been started, executing this command automatically starts the edit of the edit target segment and then sets the limit central value of the start point.
GPIB Command Reference LIMVSTOP LIMVSTOP Syntax LIMVSTOP [DEG|RAD|OHM|SIE|H|F|PCT] LIMVSTOP? Description In the creation/edit of the limit line table, sets the limit central value of each segment stop point (specified with the “LIMSTOP” command on page 336). Use this command, together with the “LIMDSTOP” command on page 326, when specifying the limits using the central value and the width.
GPIB Command Reference LISPAN LISPAN Syntax LISPAN {SINGLE|SEGMENT} LISPAN? Description Sets the display of the frequency span at list sweep: using the range from the minimum value to the maximum value in all segments (single span), or using segment-by-segment allocation. Description SINGLE (initial value) Specifies the single span display as the display method of the frequency span. SEGMENT Specifies the segment-by-segment display as the display method of the frequency span.
GPIB Command Reference LMARG LMARG Syntax LMARG LMARG? Description Sets the left margin (white space) on printed forms for printout. Parameters Description Left margin Range 0 to 5 Initial value 1 Unit inch Resolution 0.01 If the specified parameter is out of the allowable setting range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.
GPIB Command Reference LMAXS? LMAXS? Syntax LMAXS? Description Reads out the measurement parameter value and sweep parameter value of the peak at the location specified with the order from the left edge of the sweep range among all peaks within the waveform analysis range set with the “ANARANG” command on page 267.
GPIB Command Reference LMINS? LMINS? Syntax LMINS? Description Reads out the measurement parameter value and sweep parameter value of the negative peak at the location specified with the order from the left edge of the sweep range among all negative peaks within the waveform analysis range set with the “ANARANG” command on page 267. The negative peak searched for at the execution of this command satisfies the condition set with the “THRR” command on page 452.
GPIB Command Reference MANP MANP Syntax MANP MANP? Description When the manual sweep function is on, sets a measurement point. Parameters Description A measurement point number (number assigned in order from the left end assuming that the left end measurement point is 1).
GPIB Command Reference MANR MANR Syntax MANR , MANR? Description When the manual sweep function is on, sets a measurement range. You need to turn on the manual sweep with the “MANS”(347page) command before executing this command. Parameters Description The number of the sweep start point The number of the sweep stop point Measurement point numbers are assigned in order from the left end assuming that the left end measurement point is 1.
GPIB Command Reference MANS MANS Syntax MANS {ON|OFF|1|0} MANS? Description Turns on/off the manual sweep function. Parameters 16. GPIB Command Reference (F-N) Description ON or 1 Turns on the manual sweep function. OFF or 0 (initial value) Turns off the manual sweep function.
GPIB Command Reference MEAS MEAS Syntax MEAS {IMPH|IRIM|LSR|LSQ|CSR|CSQ|CSD|AMPH|ARIM|LPG|LPQ|CPG|CPQ|CPD|COMP |IMLS|IMCS|IMLP|IMCP|IMRS|IMQ|IMD|LPR|CPR} MEAS? Description Selects impedance measurement parameters as a pair for trace A and trace B. Selecting COMP specifies the vector measurement; selecting others, the scalar measurement. There are functional differences between the vector measurement and the scalar measurement including available display formats and trace operations.
GPIB Command Reference MEASTAT Corresponding key [Meas] - {|Z|-θ | R - X | Ls - Rs | Ls - Q | Cs - Rs | Cs - Q | Cs - D} [Meas] - more 1/3 - {|Y|-θ | G - B | Lp - G | Lp - Q | Cp - G | Cp - Q | Cp - D} [Meas] - more 1/3 - more 2/3 - {COMPLEX Z-Y | |Z| - Ls | |Z| - Cs | |Z| - Lp | |Z| - Cs} [Meas] - more 1/3 - more 2/3 - other - {|Z| - Rs | |Z| - Q | |Z| - D | Lp - Rp | Cp - Rp} MEASTAT MEASTAT {ON|OFF|1|0} MEASTAT? Description For the active trace (set with the “TRAC” command on page 457), determines whe
GPIB Command Reference MINDCV MINDCV Syntax MINDCV [V] MINDCV? Description Sets the voltage limit minimum value when the dc bias output mode is the constant-voltage mode or constant-current mode (CVOLT or CCURR has been specified with the “DCMOD” command on page 291).
GPIB Command Reference MKRAMPO MKRAMPO MKRAMPO Description For the active trace (set with the “TRAC” command on page 457), sets the measurement parameter value at the marker position as the offset value of the limit for the measurement parameter value. (No query) Corresponding key [System] - LIMIT TEST - LIMIT LINE OFFSETS - MKR → AMP. OFST.
GPIB Command Reference MKRCOUP MKRCOUP Syntax MKRCOUP {ON|OFF|1|0} MKRCOUP? Description As the marker move setting, selects the mode in which the markers on traces A and B are coupled when they are moved (coupled marker mode) or the mode in which the markers on traces A and B are moved separately. (uncoupled marker mode).
GPIB Command Reference MKRLIMSTAR MKRLIMSTAR Syntax MKRLIMSTAR Description In the creation/edit of the limit line table, sets the sweep parameter value at the marker position as the sweep parameter value of the segment start point. This command is used, together with the “MKRLIMVSTAR” command on page 354, usually when setting the sweep parameter value and measured value at the marker position as the sweep parameter value and limit central value of the segment start point, respectively.
GPIB Command Reference MKRLIMVSTAR MKRLIMVSTAR Syntax MKRLIMVSTAR Description In the creation/edit of the limit line table, sets the measured value of the marker position as the limit central value of the segment start point. This command is used, together with the “MKRLIMSTAR” command on page 353, usually when setting the sweep parameter value and measured value at the marker position as the sweep parameter value and limit central value of the segment start point, respectively.
GPIB Command Reference MKRMON MKRMON Syntax MKRMON {OFF|ACV|ACI|DCV|DCI} MKRMON? Description Parameters Description OFF (initial value) Turns off the marker level monitor function. ACV Specifies the monitor value display of the oscillator voltage level. ACI Specifies the monitor value display of the oscillator current level. DCV Specifies the monitor value display of the dc bias voltage level. DCI Specifies the monitor value display of the dc bias current level.
GPIB Command Reference MKRO MKRO Syntax MKRO {DATA|MEMO} MKRO? Description For the active trace (set with the “TRAC” command on page 457), sets the trace on which you want to use the markers. The displayed traces are the settable trace. Executing this command to specify a trace not displayed causes an error and the command is ignored. Parameters Description DATA (initial value) Specifies the data trace. MEMO Specifies the memory trace.
GPIB Command Reference MKRP MKRP Syntax MKRP MKRP? Description Parameters Description Number of the measurement point to which the marker is moved (the number assigned in order from the left edge assuming that the number of the leftmost measurement point is 1) Range 1 to the number of points Resolution 1 If the specified parameter is out of the allowable setting range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of
GPIB Command Reference MKRPRM MKRPRM Syntax MKRPRM [HZ|MHZ|V|A] MKRPRM? Description For the active trace (set with the “TRAC” command on page 457), moves the marker to the specified sweep parameter value. In the coupled marker mode (set with the “MKRCOUP” command on page 352), regardless of the active trace setting, moves the markers on both the A and B traces. If this command is executed as Query, it reads out the sweep parameter value of the marker position.
GPIB Command Reference MKRSTAR MKRSTAR MKRSTAR Description For the active trace (set with the “TRAC” command on page 457), sets the sweep parameter value at the marker position as the sweep range start value. To set the start value of each segment when creating the list sweep table, also use this command. If the marker function is off, executing this command causes an error and the command is ignored.
GPIB Command Reference MKRTRMIN MKRTRMIN Syntax MKRTRMIN Description For the active trace (set with the “TRAC” command on page 457), sets the marker position as the partial search range lower border value. If the marker function is off, executing this command causes an error and the command is ignored.
GPIB Command Reference MKRXUNIT MKRXUNIT Syntax MKRXUNIT {STIM|TIME|RFREQ} MKRXUNIT? Description For the active trace (set with the “TRAC” command on page 457), selects the method to display X-axis (horizontal axis) values of the marker. If the sweep parameter is not frequency, executing this command to select the relief time causes an error and the command is ignored. Parameters Description STIM (initial value) Specifies the display in sweep parameter values. TIME Specifies the display in time*1.
GPIB Command Reference NEGL NEGL Syntax NEGL NEGL? Description Sets the input/output signals of the 24-bit I/O port (data and test PASS/FAIL output) to negative logic (preset state). To specify positive logic, use the “POSL” command on page 403. Query response {1|0}<^END> Description Corresponding key 1 Negative logic is specified. 0 Negative logic is not specified. In other words, positive logic is specified. No front panel key is available to execute this function.
GPIB Command Reference NEXP NEXP Syntax NEXP Description When the measurement results are listed as a result of the execution of the “LISV” command on page 341, displays the next page of the list. To display the previous page, execute the “PREP” command on page 404.
GPIB Command Reference NPEAK? NPEAK? Syntax NPEAK? Description Reads out the measurement parameter value and the sweep parameter value of the minimum negative peak within the waveform analysis range set with the “ANARANG” command on page 267. If there are several minimum negative peaks, reads out the value of the leftmost negative peak within the analysis range. If no negative peak exists, 0 is read out.
GPIB Command Reference OMON OMON Syntax OMON {ON|OFF|1|0} OMON? Description Toggles on and off the oscillator level monitor function. Parameters Description ON or 1 Turns on the oscillator level monitor function. OFF or 0 (initial value) Turns off the oscillator level monitor function.
GPIB Command Reference OSER? OSER? Syntax OSER? Description Reads out the value of the Operation Status Event Register. (Query only) Corresponding key No front panel key is available to execute this function. OSNT Syntax OSNT OSNT? Description Sets the value of the Negative Transition Filter of the Operation Status Register.
GPIB Command Reference OSPT OSPT Syntax OSPT OSPT? Description Sets the value of the Positive Transition Filter of the Operation Status Register. Parameters Description Value of the filter Range 0 to 65535 Initial value 0 Resolution 1 If the specified parameter is out of the allowable setting range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.
GPIB Command Reference OUT2{H|L} OUT2{H|L} Syntax OUT2{H|L} Description Sets the OUTPUT2 of the 24-bit I/O port to HIGH (or LOW). (No query) Corresponding key No front panel key is available to execute this function. OUT2ENV{H|L} Syntax OUT2ENV{H|L} OUT2ENV{H|L}? Description Makes the setting so that OUTPUT2 goes to HIGH (or LOW) when a pulse is inputted to INPUT1 of the 24-bit I/O port. Corresponding key No front panel key is available to execute this function.
GPIB Command Reference OUTAIO OUTAIO Syntax OUTAIO Description Outputs data to output port A (A0 to A7) of the 24-bit I/O port. Data is outputted as 8-bit binary, assuming that A0 is LSB and A7 is MSB. This command has the same function as the WRITEIO 16,0 command of Instrument BASIC.
GPIB Command Reference OUTCIO OUTCIO Syntax OUTCIO Description If input/output port C of the 24-bit I/O port has been set to an output port (by the execution of the “COUT” command on page 283), outputs data to port C (C0 to C3). Data is outputted as 4-bit binary, assuming that C0 is LSB and C3 is MSB. If port C is set to an input port, executing this command causes an error and the command is ignored. This command has the same function as the WRITEIO 16,2 command of Instrument BASIC.
GPIB Command Reference OUTEIO OUTEIO Syntax OUTEIO Description If input/output port E (port C + port D) of the 24-bit I/O port has been set to an output port (by the execution of the “COUT” command on page 283 and “DOUT” command on page 307), outputs data to port E. Data is outputted as 8-bit binary, assuming that C0 is LSB and D3 is MSB. If port C or port D is set to an input port, executing this command causes an error and the command is ignored.
GPIB Command Reference OUTGIO OUTGIO Syntax OUTGIO Description Outputs data to output port G (port A + port B + port C) of the 24-bit I/O port. Data is outputted as 20-bit binary, assuming that A0 is LSB and C3 is MSB. If port C is set to an input port, executing this command causes an error and the command is ignored. This command has the same function as the WRITEIO 16,6 command of Instrument BASIC.
GPIB Command Reference OUTPCALC{1-3}? OUTPCALC{1-3}? Syntax OUTPCALC{1-3}? Description Reads out the OPEN/SHORT/LOAD data for user calibration. Use the “OUTPCALC1” command to read out the OPEN data (G-B); the “OUTPCALC2” command, the SHORT data (R-X); the “OUTPCALC3” command, the LOAD data (R-X). (Query only) Query response {numeric 1},{numeric 2},..
GPIB Command Reference OUTPCOMC{1-3}? This command defines the minimum negative peak as the resonant point and the maximum peak as the anti-resonant point. For parameters not obtained because no peak and negative peak are detected, 0 is read out. The peak and negative peak used at the execution of this command satisfies the condition set with the “THRR” command on page 452. They are not related to the peak definition in the marker search function.
GPIB Command Reference OUTPDATA? OUTPDATA? Syntax OUTPDATA? Description Reads out the values (complex number) of all measurement points in a data array (refer to “Internal data arrays” on page 81). (Query only) Query response {numeric 1},{numeric 2},..,{numeric NOP×2-1},{numeric NOP×2}<^END> Reads out the real part and imaginary part of each measurement point value (complex number) separately. Where, NOP is the number of points, and n is an integer between 1 and NOP.
GPIB Command Reference OUTPDC? OUTPDC? Syntax OUTPDC? Description In the dc bias level monitor function, if monitoring voltage or current is enabled (VOLT or CURR has been specified with the “BMON” command on page 272), reads out the dc bias level voltage or current monitor value at all measurement points. (Query only) Query response {numeric 1},{numeric 2},..,{numeric NOP}<^END> Where, NOP is the number of points.
GPIB Command Reference OUTPDMKR? OUTPDMKR? Syntax OUTPDMKR? Description For the active trace (set with the “TRAC” command on page 457), reads out the measurement parameter value and sweep parameter value of the Δ marker position. If the Δ marker mode is off, executing this command causes an error and the readouts are invalid.
GPIB Command Reference OUTPDTRC? OUTPDTRC? Syntax OUTPDTRC? Description Reads out the values of all measurement points in a data trace array (refer to “Internal data arrays” on page 81). (Query only) Query response {numeric 1},{numeric 2},..,{numeric NOP×2-1},{numeric NOP×2}<^END> Reads out the readout and subsidiary readout of the measurement parameter value of each measurement point as shown below. Where, NOP is the number of points, and n is an integer between 1 and NOP.
GPIB Command Reference OUTPDTRCP? OUTPDTRCP? Syntax OUTPDTRCP? Description Reads out the value of the specified measurement point in a data trace array (refer to “Internal data arrays” on page 81).
GPIB Command Reference OUTPERRO? OUTPERRO? Syntax OUTPERRO? Description Reads out the oldest error among errors stored in the error queue of the 4294A. The size of the error queue is 10. (Query only) Query response {numeric},{string}<^END> {numeric} Description Error number {string} Error message (string with double quotation marks (")) If no error is stored in the error queue, the read-out error number is 0 and the error message is "No error.
GPIB Command Reference OUTPIACP? OUTPIACP? Syntax OUTPIACP? Description When the oscillator level monitor function is set to on (set to ON with “OMON” command on page 365), reads out the oscillator current level monitor value of the specified measurement point.
GPIB Command Reference OUTPINPDIO? OUTPINPDIO? Syntax OUTPINPDIO? Description When input/output port D of the 24-bit I/O port is set to an input port (by the execution of the “DIN” command on page 297), 4-bit data is inputted into the 4294A through port D (D0 to D3) and the data is read out to the external controller. If port D is set to an output port, executing this command causes an error and the command is ignored. This command has the same function as the READIO(16,3) command of Instrument BASIC.
GPIB Command Reference OUTPLIMF? OUTPLIMF? Syntax OUTPLIMF? Description For the active trace (set with the “TRAC” command on page 457), reads out the limit test results of measurement points that failed the test (FAIL). (Query only) Query response {numeric 1},{numeric 2},..,{numeric F_NOP×4}<^END> Where, F_NOP is the number of points that failed the test, which can be obtained using the “OUTPFAIP?” command on page 380.
GPIB Command Reference OUTPLIMM? OUTPLIMM? Syntax OUTPLIMM? Description For the active trace (set with the “TRAC” command on page 457), reads out the limit test result of measurement point of the marker position. If the marker function is off, executing this command causes an error and invalid values are read out.
GPIB Command Reference OUTPMEMO? OUTPMEMO? Syntax OUTPMEMO? Description Reads out the values (complex number) of all measurement points in the memory array (refer to “Internal data arrays” on page 81). (Query only) Query response {numeric 1},{numeric 2},..,{numeric NOP×2-1},{numeric NOP×2}<^END> Reads out the real part and imaginary part of each measurement point value (complex number) separately. Where, NOP is the number of points, and n is an integer between 1 and NOP.
GPIB Command Reference OUTPMIN? OUTPMIN? Syntax OUTPMIN? Description Reads out the value of the minimum measurement parameter value within the waveform analysis range set with the “ANARANG” command on page 267 and the sweep parameter value at the position. If there are several measurement points of the minimum measurement parameter value, reads out the value of the leftmost measurement point within the analysis range.
GPIB Command Reference OUTPMKR? OUTPMKR? Syntax OUTPMKR? Description For the active trace (set with the “TRAC” command on page 457), reads out the measurement parameter value and sweep parameter value at the marker position. If the marker function is off, executing this command causes an error and the read out values are invalid.
GPIB Command Reference OUTPMSTA? OUTPMSTA? Syntax OUTPMSTA? Description For the active trace (set with the “TRAC” command on page 457), calculates the statistics (mean value, standard deviation, and difference value between the maximum value and the minimum value) within the search range on the trace selected as the marker use target trace (set with the “MKRO” command on page 356), and reads out the result.
GPIB Command Reference OUTPMTRCP? OUTPMTRCP? Syntax OUTPMTRCP? Description Reads out the value of the specified measurement point in the memory trace array (“Internal data arrays” on page 81).
GPIB Command Reference OUTPMWID? OUTPMWID? Syntax OUTPMWID? Description For the active trace (set with the “TRAC” command on page 457), if the trace bandwidth analysis function is on (specified to ON with the “WIDT” command on page 461), reads out the result of the bandwidth search. (Query only) Query response {numeric 1},{numeric 2},{numeric 3},{numeric 4},{numeric 5},{numeric 6}<^END> The readouts are as follows: {numeric 1}: Bandwidth. {numeric 2}: Center frequency.
GPIB Command Reference OUTPRESO? OUTPRESO? Syntax OUTPRESO? Description If the sweep parameter is frequency and the measurement parameter is |Z|-θ, within the waveform analysis range specified with the “ANARANG” command on page 267, analyzes the resonant point and reads out the result. If the sweep parameter is not frequency or if the measurement parameter is not |Z|-θ, executing this command causes an error and all readouts are 0.
GPIB Command Reference OUTPRESR? OUTPRESR? Syntax OUTPRESR? Description If the sweep parameter is frequency and the measurement parameter is |Z|-θ, within the waveform analysis range specified with the “ANARANG” command on page 267, analyzes the resonant point and ripple, and reads out the result. If the sweep parameter is not frequency or if the measurement parameter is not |Z|-θ, executing this command causes an error and all readouts are 0.
GPIB Command Reference OUTPSMKR{1-7}? Figure 16-6 Analyzed parameters OUTPSMKR{1-7}? OUTPSMKR{1|2|3|4|5|6|7}? Description For the active trace (set with the “TRAC” command on page 457), reads out the measurement parameter value and sweep parameter value at the sub marker (marker number 1 to 7) position. If the sub marker is off, executing this command causes an error and the readouts are invalid.
GPIB Command Reference OUTPSWPRM? OUTPSWPRM? Syntax OUTPSWPRM? Description Reads out the sweep parameter values of all measurement points. (Query only) Query response {numeric 1},{numeric 2},..,{numeric NOP}<^END> Where, NOP is the number of points. Corresponding key No front panel key is available to execute this function. OUTPSWPRMP? Syntax OUTPSWPRMP? Description Reads out the sweep parameter value of the specified measurement point.
GPIB Command Reference OUTPVACP? OUTPVACP? Syntax OUTPVACP? Description When the oscillator level monitor function is set to on (set to ON with “OMON” command on page 365), reads out the oscillator voltage level monitor value of the specified measurement point.
GPIB Command Reference PAVER PAVER Syntax PAVER {ON|OFF|1|0} PAVER? Description Enables/disables the point averaging function. Parameters Description ON or 1 Enables the point averaging function. OFF or 0 (initial value) Disables the point averaging function. Query response {1|0}<^END> Corresponding key [Bw/Avg] - POINT AVG on OFF PAVERFACT Syntax PAVERFACT PAVERFACT? Description Sets the point averaging count when using the point averaging function.
GPIB Command Reference PDELT PDELT Syntax PDELT [S] PDELT? Description Sets the delay time for each measurement point. Parameters Description Delay time for each measurement point Range 0 to 30 Initial value 0 Unit s (second) Resolution 0.001 If the specified parameter is out of the allowable setting range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.
GPIB Command Reference PEAKCENT PEAKCENT Syntax PEAKCENT Description For the active trace (set with the “TRAC” command on page 457), searches for a peak using the marker and changes the sweep center value setting to the marker sweep parameter value (in other words, the sweep parameter value of the detected peak). If the marker function is off, executing this command causes an error and the command is ignored.
GPIB Command Reference PKDLTX PKDLTX Syntax PKDLTX [HZ|MHZ|V|A] PKDLTX? Description For the active trace (set with the “TRAC” command on page 457), sets the ΔX value (refer to Figure 7-1 on page 97) parameter to define the peak searched for in the marker search function.
GPIB Command Reference PKDLTY PKDLTY Syntax PKDLTY [OHM|DEG|RAD|SIE|H|F|PCT] PKDLTY? Description For the active trace (set with the “TRAC” command on page 457), sets the ΔY value (refer to Figure 7-1 on page 97) parameter to define the peak searched for in the marker search function. Parameters Description ΔY value Range 0 to 100E6 Initial value 1 Unit Varies depending on the measurement parameter (refer to the explanation of unit in “SCAL” on page 423).
GPIB Command Reference POIN POIN Syntax POIN POIN? Description Sets the number of points measured at each sweep. To set the number-of-points setting of each segment when creating the list sweep table, also use this command. Parameters Description Number of points Range 2 to 801 (Note on the number-of-points setting of a segment. The upper limit is the smaller value: value obtained by subtracting the sum of the numbers of points of already set segments from 801 or 201.
GPIB Command Reference PORTL PORTL Syntax PORTL [M] PORTL? Description Sets the port extension compensation amount in electrical length. Parameters Description Port extension compensation amount Range -10×2.998E8 to 10×2.
GPIB Command Reference POSL POSL Syntax POSL POSL? Description Sets the input/output signals of the 24-bit I/O port (data and test PASS/FAIL output) to positive logic. To set to negative logic, use the “NEGL” command on page 362. Query response {1|0}<^END> Description Corresponding key 1 Positive logic is specified. 0 Positive logic is not specified. In other words, negative logic (preset state) is specified. No front panel key is available to execute this function.
GPIB Command Reference POWMOD POWMOD Syntax POWMOD {VOLT|CURR} POWMOD? Description Selects voltage or current to set the oscillator (OSC) power level. To set the oscillator power level setting method of each segment when creating the list sweep table, use this command. Parameters Description VOLT (initial value) Specifies the voltage setting. CURR Specifies the current setting.
GPIB Command Reference PRIC PRIC Syntax PRIC {STAN|FIXE|VARI} PRIC? Description Sets the print color for printout.
GPIB Command Reference PURG PURG Syntax PURG Description Deletes the specified file on a built-in mass storage of the 4294A specified with the “STOD” command on page 445. When specifying a file, use a file name including its extension (refer to Table 8-1 on page 113). If the specified file does not exist, an error occurs.
GPIB Command Reference READ? READ? Syntax READ? Description Reads data from a file that has been read-enabled using the ``ROPEN'' command. The returned data is in the fixed length block format defined in IEEE488.2. The fixed length block format, as shown in Figure 16-7, consists of a header part indicating the data size and an actual data part. In the case of the 4294A, the number of digits to indicate the data size is 6 and the maximum length of the actual data part is 16 Kbytes.
GPIB Command Reference RECD RECD Syntax RECD Description Recalls an instrument state or measured data from the specified file on a built-in mass storage of the 4294A specified with the “STOD” command on page 445. When specifying a file, use a file name including its extension (refer to Table 8-1 on page 113). If the specified file does not exist, an error occurs and the command is ignored.
GPIB Command Reference REFV REFV Syntax REFV [OHM|DEG|RAD|SIE|H|F|PCT] REFV? Description Sets the value indicating the reference line in the linear Y axis format, or the full scale value in the polar chart format. To set the value indicating the reference line in the complex plane format, use the “REFX” command on page 410 and “REFY” command on page 410.
GPIB Command Reference REFX REFX Syntax REFX [OHM|SIE] REFX? Description Sets the X-axis reference value (center value) in the complex plane format. Parameters Description Range Initial value Unit X-axis reference value -1E9 to 1E9 0 For trace A: Ω (ohm) For trace B: S (siemens) Resolution 1E-15 *1 *1.This is the minimum value (when the set value is small). The resolution becomes larger as the set value becomes larger.
GPIB Command Reference RESAVD RESAVD Syntax RESAVD Description Updates the specified file on the built-in mass storage of the 4294A specified with the “STOD” command on page 445. When specifying a file, use a file name including its extension (refer to Table 8-1 on page 113). If the specified file does not exist, an error occurs and the command is ignored.
GPIB Command Reference ROPEN ROPEN Syntax ROPEN Description Makes a specified file read-enabled. If the file does not exist, an error occurs. Generally, this command is used in combination with the “READ?”(407page) command and the “CLOSE”(280page) command, as shown in Figure 16-8. (No query) Parameters Description File name of up to 12 characters including its extension Corresponding key No front panel key is available to execute this function.
GPIB Command Reference RPLHEI? RPLHEI? Syntax RPLHEI? Description Within the waveform analysis range specified with the “ANARANG” command on page 267, calculates ripples (measurement parameter value difference between the peak and its right and left adjacent negative peaks), and reads out the maximum value. If the value cannot be obtained because no peak or negative peak is detected, 0 is read out.
GPIB Command Reference RPLPPS? RPLPPS? Syntax RPLPPS? Description Within the waveform analysis range specified with the “ANARANG” command on page 267, reads out the difference between the maximum peak measurement parameter value and the minimum negative peak measurement parameter value and the sweep parameter value of the peaks (if there are several maximum peaks or minimum negative peaks, the value of the leftmost peak within the analysis range).
GPIB Command Reference SADD SADD Syntax SADD [] Description In creation/edit of the list sweep table, adds a new segment, change the edit target segment to the added segment, and starts edit. The position where a segment is added is as follows: • If a segment is specified: Added in the line below the specified segment. • If no segment is specified: Added in the line below the segment specified as the edit target segment (set with the “SEGM” command on page 435).
GPIB Command Reference SAVCAL SAVCAL Syntax SAVCAL {ON|OFF|1|0} SAVCAL? Description When saving the internal data array (refer to “Internal data arrays” on page 81) in a file with the “SAVDASC” command on page 416 and “SAVDDAT” command on page 417, enables/disables the save of the calibration data array and compensation data array. If user calibration data has not been measured or inputted using the command, the save file does not contain values in the calibration data array.
GPIB Command Reference SAVDAT SAVDAT Syntax SAVDAT {ON|OFF|1|0} SAVDAT? Description When saving the internal data array (refer to “Internal data arrays” on page 81) into a file with the “SAVDASC” command on page 416 and “SAVDDAT” command on page 417 commands, enables/disables the save of the data array. Parameters Description ON or 1 Enables the save of the data array. OFF or 0 (initial value) Disables the save of the data array.
GPIB Command Reference SAVDS1P SAVDS1P Syntax SAVDS1P Description Converts the data array into the touchstone format and saves it into a specified file. You can use a file name with or without the extension (refer to Table 8-1, “Filename extension,”) to specify a file. When you omit the extension, the extension ".S1P" is added to the specified file name. (No query) Parameters Description A file name you want to save.
GPIB Command Reference SAVDSTA SAVDSTA Syntax SAVDSTA Description Saves the instrument setting state, calibration data array, compensation data array, and memory array (refer to “Internal data arrays” on page 81) into the specified file. Regardless of the settings with the “SAVCAL”(416page), “SAVDAT”(417page), “SAVDTRC”(420page), “SAVMEM”(420page) and “SAVMTRC”(421page) commands, the arrays are saved.
GPIB Command Reference SAVDTRC SAVDTRC Syntax SAVDTRC {ON|OFF|1|0} SAVDTRC? Description When saving the internal data array (refer to “Internal data arrays” on page 81) into a file using the “SAVDASC” command on page 416 and “SAVDDAT” command on page 417, enables/disables the save of the data trace array. Parameters Description ON or 1 (initial value) Enables the save of the data trace array. OFF or 0 Disables the save of the data trace array.
GPIB Command Reference SAVMTRC SAVMTRC Syntax SAVMTRC {ON|OFF|1|0} SAVMTRC? Description When saving the internal data array (refer to “Internal data arrays” on page 81) into a file using the “SAVDASC” command on page 416 and “SAVDDAT” command on page 417, enables/disables the save of the memory trace array. Parameters Description ON or 1 (initial value) Enables the save of the memory trace array. OFF or 0 Disables the save of the memory trace array.
GPIB Command Reference SCAC SCAC Syntax SCAC {ON|OFF|1|0} SCAC? Description For the active trace (set with the “TRAC” command on page 457), enables/disables the use of the same scale for the data trace and memory trace. If the scale setting differs between the data trace and the memory trace, executing this command to specify the use of the same scale unifies the scale setting to that of the scale setting target trace (set with the “SCAF” command on page 422).
GPIB Command Reference SCAL SCAL Syntax SCAL [OHM|DEG|RAD|SIE|H|F|PCT] SCAL? Description Sets the value of 1 grid tick in the Y axis (vertical axis) direction in the linear Y axis format or the value of 1 grid tick in the X axis (horizontal axis) and Y axis directions in the complex plane format.
GPIB Command Reference SCOL SCOL Syntax SCOL SCOL? Description In the creation/edit of the list sweep table, specifies the trace color of each segment using pen number in the HP Instrument BASIC screen.
GPIB Command Reference SDEL SDEL Syntax SDEL [] Description In the creation/edit of the list sweep table, deletes the specified segment (if no segment is specified, the segment specified as the edit target) from the table. The segment number of each segment after the deleted segment decreases by 1. As a result, the segment, whose number was changed to the same number as the deleted segment, is set to the edit target.
GPIB Command Reference SDELT SDELT Syntax SDELT [S] SDELT? Description Sets the delay time for each sweep. Parameters Description Delay time for each sweep Range 0 to 30 Initial value 0 Unit s (second) Resolution 0.001 If the specified parameter is out of the allowable setting range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.
GPIB Command Reference SEAM SEAM Syntax SEAM {MAX|MIN|TARG|PEAK|OFF} SEAM? Description For the active trace (set with the “TRAC” command on page 457), executes the specified search function. If no search target is detected, the message saying “Not detected” is displayed (no error occurs). Parameters Description MAX Specifies the maximum value search. MIN Specifies the minimum value search. TARG Specifies the target search. The target closest to the current marker position is searched for.
GPIB Command Reference SEANPKR SEANPKR Syntax SEANPKR Description For the active trace (set with the “TRAC” command on page 457), moves the marker to a peak to the right of the current marker position. If no peak is detected, the message saying “Not detected” is displayed (no error occurs). If the marker function is off, executing this command causes an error and the command is ignored.
GPIB Command Reference SEARMAX SEARMAX Syntax SEARMAX [HZ|MHZ|V|A] SEARMAX? Description For the marker search function for the active trace (set with the “TRAC” command on page 457), if the partial search is enabled (specified to ON with the “PARS” command on page 395), sets the partial search range upper border value.
GPIB Command Reference SEARMAXP SEARMAXP Syntax SEARMAXP SEARMAXP? Description For the marker search function for the active trace (set with the “TRAC” command on page 457), if the partial search is enabled (specified to ON with the “PARS” command on page 395), sets the partial search range upper border value to the specified measurement point.
GPIB Command Reference SEARMIN SEARMIN Syntax SEARMIN [HZ|MHZ|V|A] SEARMIN? Description For the marker search function for the active trace (set with the “TRAC” command on page 457), if the partial search is enabled (specified to ON with the “PARS” command on page 395), sets the partial search range lower border value.
GPIB Command Reference SEARMINP SEARMINP Syntax SEARMINP SEARMINP? Description For the marker search function for the active trace (set with the “TRAC” command on page 457), if the partial search is enabled (specified to ON with the “PARS” command on page 395), sets the partial search range lower border value to the specified measurement point.
GPIB Command Reference SEATARG SEATARG Syntax SEATARG [DEG|RAD|OHM|SIE|H|F|PCT] SEATARG? Description For the active trace (set with the “TRAC” command on page 457), sets the target value (value in the Y axis direction) when performing the target search in the marker search function. In the Δ marker mode, the value set with this command is dealt as a relative value form the Δ marker. Therefore, to set the target value, use a relative value from the Δ marker.
GPIB Command Reference SEDI SEDI Syntax SEDI [] Description In the creation/edit of the list sweep table, starts the edit of the segment specified as the edit target (set with the “SEGM” command on page 435). Note that, if a segment is specified, the edit target segment is changed to the specified segment and then the edit is started. After the completion of the parameter setting of the segment, execute the “SDON” command on page 426 to finish the edit work.
GPIB Command Reference SEGM SEGM Syntax SEGM SEGM? Description Sets the execution target segment used when no segment is specified at the execution of the “SADD” command on page 415, “SDEL” command on page 425 and “SEDI” command on page 434. The setting of the execution target segment, when the creation/edit of the list sweep table is finished, is initialized.
GPIB Command Reference SEGMNUM SEGMNUM Syntax SEGMNUM SEGMNUM? Description For the active trace (set with the “TRAC” command on page 457), if the search range is set to a segment for the list sweep (specified to SEGMENT with the “SEARNG” command on page 432), sets a segment as the search range.
GPIB Command Reference SETCTIME SETCTIME Syntax SETCTIME ,, SETCTIME? Description Sets the time of the built-in clock of the 4294A. Parameters Description Time (24 hours) Minute Second Range 0 to 23 0 to 59 0 to 59 Resolution 1 1 1 If the specified parameter is out of the allowable setting range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.
GPIB Command Reference SMKR{1-7} SMKR{1-7} Syntax SMKR{1|2|3|4|5|6|7} {ON|OFF|1|0} SMKR{1|2|3|4|5|6|7}? Description For the active trace (set with the “TRAC” command on page 457), turns on/off a sub marker (marker number 1 to 7). In the coupled marker mode (set with the “MKRCOUP” command on page 352), the setting is applied to both the A and B traces regardless of the active trace setting. The sub marker set to on with this command is displayed at the same position as the marker.
GPIB Command Reference SMKRP{1-7} SMKRP{1-7} Syntax SMKRP{1|2|3|4|5|6|7} SMKRP{1|2|3|4|5|6|7}? Description For the active trace (set with the “TRAC” command on page 457), moves a sub marker (marker number 1-7) to the specified measurement point. In the coupled marker mode (set with the “MKRCOUP” command on page 352), regardless of the active trace setting, moves the sub marker on both the A and B traces.
GPIB Command Reference SMKRPRM{1-7} SMKRPRM{1-7} Syntax SMKRPRM{1|2|3|4|5|6|7} [HZ|MHZ|V|A] SMKRPRM{1|2|3|4|5|6|7}? Description For the active trace (set with the “TRAC” command on page 457), moves a sub marker (marker number 1-7) to the position of the specified sweep parameter value. In the coupled marker mode (set with the “MKRCOUP” command on page 352), regardless of the active trace setting, moves the sub marker on both the A and B traces.
GPIB Command Reference SMKRVAL{1-7}? SMKRVAL{1-7}? Syntax SMKRVAL{1|2|3|4|5|6|7}? Description For the active trace (set with the “TRAC” command on page 457), reads out the measurement parameter value at a sub marker (marker number 1-7) position. (Query only) Query response {numeric}<^END> If the measurement parameter is a scalar value (for other than COMPLEX Z-Y), the measurement parameter value is read out.
GPIB Command Reference SPAN SPAN Syntax SPAN [HZ|MHZ|V|A] SPAN? Description Sets the span value of the sweep range. To set the span value of each segment when creating the list sweep table, also use this command. Parameters Description Span value Range When the sweep parameter is frequency 0 to 109.99996E6 (for linear sweep) 20 to 109.99996E6 (for log sweep) Initial value 109.99996E6 Unit Hz Resolution 1E-3 Range When the sweep parameter is OSC level (voltage) 0 to 0.
GPIB Command Reference SPLD SPLD Syntax SPLD {ON|OFF|1|0} SPLD? Description Enables/disables the vertically separate display for traces A and B. If the separate display of traces A and B is enabled, the upper half of the LCD screen is used as trace A measurement result display screen, and the lower half, as trace B measurement result display screen. If the separate display of traces A and B is disabled, the measurement results of traces A and B are superimposed on the same screen.
GPIB Command Reference STAR STAR Syntax STAR [HZ|MHZ|V|A] STAR? Description Sets the sweep range start value. Parameters Description start value Range When the sweep parameter is frequency 40 to 110E6 (for linear sweep) 40 to 109.
GPIB Command Reference STOD STOD Syntax STOD {DISK|MEMO|FLASH} Description Selects a mass storage to which file operation is applied. (No query) Parameters Description DISK (initial value) Specifies the flexible disk drive. Corresponding key MEMO Specifies the built-in RAM disk (volatile). FLASH Specifies the built-in flash disk (non-volatile). [Save] - STORE DEV [ ] - {FLOPPY | MEMORY | FLASH MEMORY} 16.
GPIB Command Reference STOP STOP Syntax STOP [HZ|MHZ|V|A] STOP? Description Sets the sweep range stop value.
GPIB Command Reference SUBNET SUBNET Syntax SUBNET <1st>,<2nd>,<3rd>,<4th> SUBNET? Description When using the 4294A connected to LAN, sets the subnet mask for IP address. The value actually used as the subnet mask is the logical OR of the value set with this command and the value determined depending on the IP address of the 4294A as shown below. IP address Value used for OR 0.0.0.0-127.255.255.255 (class A) 255.0.0.0 128.0.0.0-191.255.255.255 (class B) 255.255.0.0 192.0.0.0-223.255.255.
GPIB Command Reference SWED SWED Syntax SWED {UP|DOWN} SWED? Description Selects the sweep direction. Parameters Description UP (initial value) Specifies the sweep parameter increasing direction (from left to right on the screen). DOWN Specifies the sweep parameter decreasing direction (from right to left on the screen). Query response {UP|DOWN}<^END> Corresponding key [Sweep] - DIRECTION [ ] SWET Syntax SWET [S] SWET? Description Sets the sweep time.
GPIB Command Reference SWPP SWPP Syntax SWPP {FREQ|OLEV|DCB} SWPP? Description Sets the sweep parameter. Parameters Description FREQ (initial value) Specifies the frequency sweep. OLEV Specifies the oscillator (OSC) level sweep. DCB Specifies the dc bias level sweep. Query response {FREQ|OLEV|DCB}<^END> Corresponding key [Sweep] - PARAMETER [ ] - {FREQ | OSC LEVEL | DC BIAS} SWPT Syntax SWPT {LIN|LOG|LIST} SWPT? Description Sets the sweep type.
GPIB Command Reference TARL? TARL? Syntax TARL? Description Within the waveform analysis range specified with the “ANARANG” command on page 267, searches the analysis range from right to left for a point of the specified measurement value, and reads out the sweep parameter value at the first detected point. If the specified measurement parameter value is not detected, 0 is read out.
GPIB Command Reference TARR? TARR? Syntax TARR? Description Within the waveform analysis range specified with the “ANARANG” command on page 267, searches the analysis range from left to right for a point of the specified measurement value, and reads out the sweep parameter value at the first detected point. If the specified measurement parameter value is not detected, 0 is read out.
GPIB Command Reference THRR THRR Syntax THRR THRR? Description Within the waveform analysis range specified with the “ANARANG” command on page 267, sets the condition on which peaks are defined among all maximal values and negative peaks are defined among all minimal values: height (refer to Figure 16-9).
GPIB Command Reference THRR for the linear Y axis format.) For the linear Y axis format height is a threshold value of the distance between the maximal value (or minimal value) and the measurement point value (in Figure 16-9, value of |A-AL|, |C-CR|, and so on). For the log Y axis format height is a threshold value of the ratio of the larger value to the smaller value: maximal value (or minimal value) and measurement point value (in Figure 16-9, values of A/AL and CR/C, and so on).
GPIB Command Reference TINT TINT Syntax TINT TINT? Description Sets the hue of the display color of the item selected with the “COLO” command on page 280 command. Parameters Description Value indicating the hue (0 or 100: red, 33: green, 66: blue) Range 0 to 100 Initial value Varies depending on the display item selected with the “COLO” command on page 280.
GPIB Command Reference TMARG TMARG Syntax TMARG TMARG? Description Sets the top margin (white space) of printed forms for printout. Parameters Description Top margin Range 0 to 5 Initial value 1 Unit inch Resolution 0.01 If the specified parameter is out of the allowable setting range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.
GPIB Command Reference TOPV TOPV Syntax TOPV [OHM|DEG|RAD|SIE|H|F|PCT] TOPV? Description Sets the maximum value of the display screen in the Y axis (vertical axis) direction (value of the top of the grid).
GPIB Command Reference TRAC TRAC Syntax TRAC {A|B} TRAC? Description Sets the active trace. Parameters Description A (initial value) Specifies trace A as the active trace. B Specifies trace B as the active trace. Query response {A|B}<^END> Corresponding key {[A] | [B]} TRACK Syntax TRACK {ON|OFF|1|0} TRACK? Description For the active trace (set with the “TRAC” command on page 457), toggles on and off the search tracking function.
GPIB Command Reference TRGEVE TRGEVE Syntax TRGEVE {SWE|POIN} TRGEVE? Description Sets the mode of trigger events. Parameters Description SWE (initial value) Specifies the mode in which each trigger performs a single sweep (if the averaging function is on, a set number of times as the averaging count). POIN Specifies the mode in which each trigger performs the measurement of a single measurement point.
GPIB Command Reference TRGS TRGS Syntax TRGS {INT|EXT|BUS|MAN} TRGS? Description Selects a trigger source. Parameters Description INT (initial value) Specifies the internal trigger. EXT Specifies the external trigger inputted from the EXT TRIGGER terminal on the rear panel. BUS Specifies the GPIB/LAN trigger (trigger by executing the “*TRG” command on page 261). MAN Specifies the manual trigger (trigger by the following key sequence on the front panel: [Trigger] - SOURCE [ ] - MANUAL).
GPIB Command Reference WIDFVAL WIDFVAL Syntax WIDFVAL [OHM|DEG|RAD|SIE|H|F|PCT] WIDFVAL? Description For the active trace (set with the “TRAC” command on page 457), if the free cutoff value setting is enabled (specified to FIXed with the “WIDVTYPE” command on page 462), sets a cutoff point. If Δmaker is on, the cutoff value is set the result of subtracting the specified value from the measurement parameter value of Δmaker position.
GPIB Command Reference WIDSOUT WIDSOUT Syntax WIDSOUT Description For the trace bandwidth analysis function for the active trace (set with the “TRAC” command on page 457), further searches for another cutoff point outside the already detected cutoff point. If no cutoff point is detected, the message indicating the result is displayed (no error occurs). If the trace bandwidth analysis function is off, executing this command causes an error and the command is ignored.
GPIB Command Reference WIDVTYPE WIDVTYPE Syntax WIDVTYPE {DIVS2|MULS2|DIV2|FIXed} WIDVTYPE? Description For the active trace (set with the “TRAC” command on page 457), selects the method to set a cutoff point in the trace bandwidth analysis function. Parameters Description DIVS2 The value obtained by dividing the measurement parameter value at the marker position by 2 is set as the cutoff point.
GPIB Command Reference WRITE WRITE Syntax WRITE Description Writes data in a file that has been write-enabled using the ``WOPEN'' command. Written data must take the fixed length block format (see Figure 16-7 on page 407) defined in IEEE488.2. The maximum length of data is 16 Kbytes. If data is greater than 16 Kbytes, execute this command repeatedly to write it.
GPIB Command Reference :PROGram:CATalog? Instrument BASIC control commands This section describes the commands used to control Instrument BASIC from the external controller. The commands described here cannot be executed using Instrument BASIC. :PROGram:CATalog? Syntax :PROGram:CATalog? Description Reads out the program name defined with the “:PROGram[:SELected]:NAME” command on page 466. The 4294A provides no practical function.
GPIB Command Reference :PROGram[:SELected]:DELete:ALL :PROGram[:SELected]:DELete:ALL Syntax :PROGram[:SELected]:DELete:ALL Description Deletes all programs on the 4294A Instrument BASIC editor. (No query) Corresponding key No front panel key is available to execute this function. :PROGram[:SELected]:DELete:[SELected] Syntax :PROGram[:SELected]:DELete:[SELected] Description Deletes a program on the 4294A. (No query) Corresponding key No front panel key is available to execute this function.
GPIB Command Reference :PROGram[:SELected]:NAME :PROGram[:SELected]:NAME Syntax :PROGram[:SELected]:NAME :PROGram[:SELected]:NAME? Description Defines a program name. Note that, in the case of the 4294A, you need not to define any program name. Parameters Corresponding key Description Program name Initial value "PROG" No front panel key is available to execute this function. :PROGram[:SELected]:NUMBer Syntax :PROGram[:SELected]:NUMBer ,[,,.
GPIB Command Reference :PROGram[:SELected]:STATe :PROGram[:SELected]:STATe Syntax :PROGram[:SELected]:STATe {RUN|PAUSe|STOP|CONTinue} :PROGram[:SELected]:STATe? Description Sets the status of the program on the 4294A Instrument BASIC editor. Parameters Description RUN Causes the program to run. PAUSe Causes the program to pause. STOP Causes the program to stop. CONTinue Causes the program in pause to run.
GPIB Command Reference :PROGram[:SELected]:WAIT :PROGram[:SELected]:WAIT Syntax :PROGram[:SELected]:WAIT :PROGram[:SELected]:WAIT? Description Makes the setting so that the 4294A accepts no commands until the status of the program on the 4294A Instrument BASIC editor becomes STOP or PAUSE from RUN. If this command is executed as Query, 1 is read out when the program status changes from RUN to STOP or PAUSE.
1. Chapter Title 2. Chapter Title 3. Chapter Title 4. Chapter Title A Manual Changes 469 A. Manual Changes This appendix contains the information required to adapt this manual to earlier versions or configurations of the Agilent 4294A than the current printing date of this manual. The information in this manual applies directly to a 4294A model that has a serial number prefix listed on the title page of this manual.
Manual Changes Manual Changes Manual Changes To adapt this manual to your Agilent 4294A, refer to Table A-1 and Table A-2. Table A-1 Manual Changes by Serial Number Serial Prefix or Number Table A-2 Make Manual Changes Manual Changes by Firmware Version Version Make Manual Changes Rev 1.10 “Change 1” on page 471 Rev 1.11 “Change 2” on page 472 Agilent Technologies uses a two-part, ten-character serial number that is stamped on the serial number plate (see Figure A-1).
Change 1 1. Chapter Title Manual Changes Change 1 The firmware revision 1.0x does not support the following function. • Saving an internal data array in the touchstione format. • SCPI Command “MANR” on page 346 2. Chapter Title Change to the revision 1.0x Chapter 6 , “Reading/Writing Measurement Data,” on page 77 Delete the following sentence in “Saving array as file” on page 83 NOTE You can save an internal data array in the touchstone format by “SAVDS1P” on page 418.
Manual Changes Change 2 Change 2 The firmware revision 1.10 and below does not support the following function. • File Transfer function Change to the revision 1.10 Chapter 13 , “Application Sample Programs,” on page 185 Delete the following section • “File Transfer Function” on page 239 Chapter 16 , “GPIB Command Reference,” on page 255 Delete the following commands.
B. Status Reporting System 2. Chapter Title 3. Chapter Title 4. Chapter Title B Status Reporting System 5. Chapter Title This appendix describes the status reporting system of the Agilent 4294A.
Status Reporting System General Status Register Model General Status Register Model The Agilent 4294A has a status reporting system to report the condition of the instrument. Figure B-1 General Status Register Model The status reporting system has a hierarchical structure as shown in Figure B-1. When the instrument condition satisfies the particular condition, the corresponding bit of the event register is set “1”. Therefore, you can check the instrument condition by reading the event register.
Event register Reflects the correspondent condition of the 4294A (e.g. occurrence of an event) as a bit status. These bits monitor the changing 4294A’s state continuously and change bit status when the condition (e.g. change bit status to “1” if a specific event occurs) for each bit is met. You cannot change bit status by GPIB command. B.
Status Reporting System General Status Register Model Transition filter and condition register The transition filter allows you to select which transitions of the condition of the 4294A will set a bit in the event register. When the status register has a transition filter, there is a lower register called a condition register under the event register. The transition filter is between the event register and the condition register.
Status Register Structure The status reporting system has a hierarchical structure as shown in Figure B-3. The status byte register is a summary of registers in its lower level. This section describes status registers in each hierarchy. Each bit of the status register is described in Table B-1 through Table B-4. Status Register Structure 2. Chapter Title Figure B-3 B. Status Reporting System Status Reporting System Status Register Structure 3. Chapter Title 4. Chapter Title 5.
Status Reporting System Status Register Structure Table B-1 Status Bit Definitions of the Status Byte (STB) Bit Name Description 2 Instrument Event Status Register Summary Bit “1” is set when any of the enabled bits in the instrument event status register is set to “1.” 3 Questionable Status Register Summary Bit The event reporting system of the 4294A reports no event to the questionable status register. This register is provided to assure compatibility with other SCPI instruments.
Table B-2 Status Bit Definitions of the Event Status Register (ESR) Name Description 0 Operation Complete “1” is set when all the operations of the overlap command sent before sending “*OPC” command on page 259. 1 Request Control “1” is set when the 4294A requests GPIB control to continuously operate for controlling its peripheral devices. 2 Query Error 1. “1” is set when the 4294A receives a query request, but there is nothing in the output queue to transmit. 2.
Status Reporting System Status Register Structure Table B-3 Status Bit Definitions of the Instrument Status Register Bit Name Description 0 Single or Number of Groups Sweep Complete “1” is set when a single or group sweep was completed after the last read of the register. 1 Service Routine Waiting or Manual Trigger Waiting 1. “1” is set when execution of an internal service routine is completed or when the routine is put into waiting state for operator’s response. 2.
1. Chapter Title C. GPIB Command table 3. Chapter Title 4. Chapter Title C GPIB command table 5. Chapter Title This appendix provides the Agilent 4294A GPIB command list sorted according to function.
GPIB command table GPIB command list sorted according to function GPIB command list sorted according to function Function Setting/Operation GPIB command Measurement Preset condition “*RST” on page 260 “PRES” on page 404 Active trace “TRAC” on page 457 Measurement parameter “MEAS” on page 348 Number of points “POIN” on page 401 Sweep Parameter “SWPP” on page 449 Type “SWPT” on page 449 Direction “SWED” on page 448 Time “SWET” on page 448 Delay time Range Manual sweep OSC Level DC bia
Function Setting/Operation List sweep Segment GPIB command Edit “SEDI” on page 434 Add “SADD” on page 415 Determine target segment “SEGM” on page 435 Delete “SDEL” on page 425 Done “SDON” on page 426 Sweep range Start value “STAR” on page 444 Stop value “STOP” on page 446 Center value “CENT” on page 277 Span “SPAN” on page 442 Number of points “POIN” on page 401 OSC Level Setting mode “POWMOD” on page 404 Setting “POWE” on page 403 DC bias Mode Level “DCMOD” on page 291 Curren
GPIB command table GPIB command list sorted according to function Function Setting/Operation GPIB command Limit test On/Off “LIMITEST” on page 328 Beep On/Off “BEEPFAIL” on page 271 Limit line table Segment Edit “EDITLIML” on page 310 Clear “LIMCLEL” on page 324 Done “LIMEDONE” on page 326 Edit “LIMSEDI” on page 332 Add “LIMSADD” on page 330 Determine target segment “LIMSEGM” on page 333 Delete “LIMSDEL” on page 331 Quit “LIMSQUI” on page 333 Done Parameter Setting “LIMSDON” on p
Function Setting/Operation GPIB command Fixture Standard for data measurement compensation Definition Open “DCOMOPEN{G|C}” on page 293 Short “DCOMSHOR{R|L}” on page 294 Load “DCOMLOAD{R|L}” on page 292 Display Defined value On/Off “COMS” on page 281 “COMST{A|B|C}” on page 282 “CALP” on page 275 Data for compensation coefficient calculation Measurement “COM{A|B|C}” on page 281 Input data “INPUCOMC{1-3}” on page 321 Output data Mode setting Operation Trigger Data transfer format selection
GPIB command table GPIB command list sorted according to function Function Setting/Operation GPIB command Data read/write Write Data array “INPUDATA” on page 321 Data trace array “INPUDTRC” on page 322 User calibration data array “INPUCALC{1-3}” on page 320 Fixture compensation data array “INPUCOMC{1-3}” on page 321 Marker Marker movement setting Movement mode (Continuous/Discrete) “MKRMOV” on page 355 Trace A/B coupled mode On/Off “MKRCOUP” on page 352 Objective trace selection (Data/Me
Function Setting/Operation Marker search Search range setting GPIB command Partial search On/Off Upper limit Lower limit “SEARMAXP” on page 430 Specified sweep parameter value “SEARMAX” on page 429 Marker position “MKRTRMAX” on page 359 Specified measurement point “SEARMINP” on page 432 Specified sweep parameter value “SEARMIN” on page 431 Marker position “MKRTRMIN” on page 360 Range between marker and Δ marker “MKRTR” on page 359 Search range (All segments/Specified segment) “SEARNG” on
GPIB command table GPIB command list sorted according to function Function Setting/Operation GPIB command Analysis Waveform analysis Condition Range setting Specified range “ANARANG” on page 267 Sweep range “ANARFULL” on page 268 Segment selection “ANASEGM” on page 268 Trace selection Data trace “ANAODATA” on page 266 Memory trace “ANAOMEMO” on page 266 Peak definition “THRR” on page 452 Analysis Maximum value search commands Minimum value search “OUTPMAX?” on page 384 “OUTPMIN?” on pag
Setting/Operation GPIB command Status report structure Clear registers “*CLS” on page 258 “CLES” on page 279 Set service request enable register “*SRE” on page 260 Read status byte register “*STB?” on page 261 Set standard event status enable register “*ESE” on page 258 Read standard event status register “*ESR?” on page 259 Set instrument event status enable register “ESNB” on page 314 Read instrument event status register “ESB?” on page 313 Set operation status enable register “OSE” on p
GPIB command table GPIB command list sorted according to function Function Setting/Operation I/O port 8 bit I/O port GPIB command Data output “OUT8IO” on page 368 Data input 24 bit I/O port Data output Data input Port C setting Port D setting “INP8IO?” on page 319 Port A “OUTAIO” on page 369 Port B “OUTBIO” on page 369 Port C “OUTCIO” on page 370 Port D “OUTDIO” on page 370 Port E “OUTEIO” on page 371 Port F “OUTFIO” on page 371 Port G “OUTGIO” on page 372 Port H “OUTHIO” on page 3
1. Chapter Title 2. Chapter Title D. Error messages 4. Chapter Title D Error messages Error messages are outputted on the 4294A’s LCD or through GPIB. This section gives you the description of each error message and its remedy. 491 5. Chapter Title The Agilent 4294A provides error messages to indicate its operating status. This appendix describes the error messages of the the 4294A.
Error messages Error number: 0 NOTE If an error with a positive error number occurs, only its error message is displayed on the LCD following the string of "CAUTION:"(in this case, its error number is not displayed). On the other hand, if an error with a negative error number occurs, CAUTION: GPIB error occurred" is always displayed on the LCD. When error messages are outputted through GPIB, their error number and error message are outputted for all errors ("CAUTION:" is not added).
to “Adapter Setting” on page 54 13 CALIBRATION ABORTED 1. Chapter Title Error messages Error number: 13 One of the following occurred. In the middle of or after the completion of the setup for user calibration or fixture compensation (measurement of required calibration data and calculation and storage of error coefficients), the setting of calibration points (FIXED or USER) was changed. The current setup and error coefficients previously stored are now invalid.
Error messages Error number: 37 key, CALC PARMS key, or CALECPARA command) was executed, because the number of points (NOP) within the sweep range (if the partial search function is on, within the specified search range) is 2, they cannot be calculated. Set the number of points within the sweep range (if the partial search function is on, within the specified search range) to 3 or more. 37 DISPLAY BUFFER IS FULL The use of the DRAW or MOVE command of HP Instrument BASIC made 4294A’s display buffer full.
When an active controller was on the same GPIB bus, you attempted to set the 4294A as a system controller. Unless another active controller is removed from the same GPIB bus, you cannot set the 4294A as a system controller. 83 1. Chapter Title Error messages Error number: 83 NOT VALID FOR COMPLEX MEASUREMENT When the COMPLEX Z-Y measurement parameter (that is, complex parameter measurement) is selected, a command to execute one of the following is sent. As a result, the command is ignored.
Error messages Error number: 88 • COMPLEX Z-Y is selected as a measurement parameter, and the display format is PLOAR (polar coordinates display format) for the selected active trace. Before executing a command to set the phase unit or a command to set the phase expansion display, perform one of the above settings. 88 MATH FUNCTION NOT VALID FOR PERCENT FORMAT When the percent format was selected as the display format, you attempted to change the setting of data operations.
When the delta marker was not displayed, you attempted to execute a function that needed the display of the delta marker and, as a result, the command was ignored. For example, when the delta marker was not displayed, a command corresponding to the MKRD?SPAN key (MKRDSPAN) was sent. Before executing a function using the delta marker, first display the delta marker (command: DMKR ON). 100 NO FIXED DELTA MARKER SEARCH WIDTH OFF 2.
Error messages Error number: 114 Though you attempted to display the list of files and directories on a floppy disk on the softkey label by executing the recall ([Recall]) key, file resave (RE-SAVE FILE) key, file deletion (PURGE FILE) key, directory change (CHANGE DIRECTORY) key, or file copy (COPY FILE) key, no file or directory corresponding to the execution of the key was on the floppy disk.
specify the lower limit of a partial search range (SEARMIN) or a command to specify the upper limit of a partial search range (SEARMAX) and, as a result, the command was ignored. When the sweep type is the list sweep, you cannot specify a partial search range using the lower limit and the upper limit. Before specifying a partial search range using the lower limit and the upper limit, specify a sweep type other than the list sweep (command: SWPT LIN or SWPT LOG). 134 REDUCE OSC LEVEL ADC OVERLOAD 2.
Error messages Error number: 140 on the marker DC voltage level monitor or the marker DC current level monitor (MKRMON DCV or MKRMON DCI) and, as a result, the command was ignored. Before turning on the marker DC voltage level monitor or the marker DC current level monitor, turn on the corresponding DC bias level monitor (command: BMON VOLT or BMON CURR).
that is defined in IEEE488.2,11.5.1.1.4. -101 Invalid character 1. Chapter Title Error messages Error number: -101 Invalid characters exist in the program message string. For example, for a correct program message, "MEAS IRIM," an ampersand (&) is inserted by mistake, like "MEAS&IRIM". -102 Syntax error There is a command or data type that cannot be recognized. For example, though the 4294A did not accept any strings, a string was received.
Error messages Error number: -121 Numeric data (including numeric data without a decimal point) causes an error. A numeric value error other than -121 to -129 occurred. -121 Invalid character in number An invalid character for the data type of the syntax analysis target was received. For example, alphabetical characters exist in a decimal value, or "9" exits in octal data. -123 Exponent too large The absolute value of the exponent exceeds 32,000. (Refer to IEEE488.2,7.7.2.4.1.
-150 String data error An error not included in error numbers between -151 and -159 occurred during the syntax analysis of a string data element. -151 1. Chapter Title Error messages Error number: -150 Invalid string data Character string data was expected but given string data was invalid for some reasons. (Refer to IEEE488.2,7.7.5.2.) For example, the END message was received before the end quotation mark character appeared.
Error messages Error number: -220 Another measurement was being executed and the measurement start request was ignored. -220 Parameter error An error not included in error numbers between -221 and -229 occurred during the analysis of a program data element. This error occurs, for example, when you attempt to specify an invalid value for the LOAD correction reference value or the LOAD correction data (values that are not finite when converted to R-X form impedance values).
correctly. This message is displayed, for example, when you specifies the floppy disk drive as the storage device but no floppy disk is set into the drive (correctly). -256 1. Chapter Title Error messages Error number: -256 File name not found The specified filename was not found and, as a result, the command was not executed correctly. This message is displayed, for example, when you attempt to read/write a file that does not exist on the disk.
Error messages Error number: -310 -310 System error One of "system errors" defined for the 4294A occurred. -311 Memory error An error was detected in the memory of the 4294A. -330 Self-test failed The result of the self-test was a failure. Contact your local Agilent Technologies sales office or service center, or refer to the service manual. -350 Queue overflow The queue contains a certain code, instead of the code that caused this error.
Index Index Index 507
Index 508 Index
Index Index Index 509
Index 510 Index
Index Index Index 511
Index 512 Index
Index Index Index 513
Index 514 Index
Index Index Index 515
Index 516 Index
Index Index Index 517
Index 518 Index