58
Advanced Design System 1.5 Using Instruments with ADS December 2000

Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Advanced Design System 1.5

Using Instruments with ADS

December 2000

Page 2: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Notice

The information contained in this document is subject to change without notice.

Agilent Technologies makes no warranty of any kind with regard to this material,including, but not limited to, the implied warranties of merchantability and fitnessfor a particular purpose. Agilent Technologies shall not be liable for errors containedherein or for incidental or consequential damages in connection with the furnishing,performance, or use of this material.

Warranty

A copy of the specific warranty terms that apply to this software product is availableupon request from your Agilent Technologies representative.

Restricted Rights Legend

Use, duplication or disclosure by the U. S. Government is subject to restrictions as setforth in subparagraph (c) (1) (ii) of the Rights in Technical Data and ComputerSoftware clause at DFARS 252.227-7013 for DoD agencies, and subparagraphs (c) (1)and (c) (2) of the Commercial Computer Software Restricted Rights clause at FAR52.227-19 for other agencies.

Agilent Technologies395 Page Mill RoadPalo Alto, CA 94304 U.S.A.

Copyright © 2000, Agilent Technologies. All Rights Reserved.

ii

Page 3: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Contents1 Instrument Server

Platforms, Machine Dependencies and GP-IB Cards .............................................. 1-1Installation Requirements ......................................................................................... 1-2Starting and Exiting the Instrument Server............................................................... 1-2Parts of the Instrument Server.................................................................................. 1-3Connecting to Instruments........................................................................................ 1-4Data Transfer Considerations ................................................................................... 1-5Reading from and Writing to Files ............................................................................ 1-5

Reading a File .................................................................................................... 1-8Writing to a File .................................................................................................. 1-9

Reading and Writing Network Analyzer Data ........................................................... 1-10Network Analyzer Data Formats......................................................................... 1-10Using the Agilent E8358A Network Analyzer .................................................... 1-11Using Agilent 87xx-Series Network Analyzers .................................................. 1-11Using Agilent 8752 Network Analyzers ............................................................. 1-12Using Agilent 8510 Network Analyzers ............................................................. 1-13Reading Instrument Data from a Network Analyzer ........................................... 1-13Writing Data to a Network Analyzer ................................................................... 1-14

Reading and Writing Spectrum Analyzer Data ......................................................... 1-15Reading Instrument Data from a Spectrum Analyzer......................................... 1-16Writing to a Spectrum Analyzer.......................................................................... 1-17

Reading and Writing Oscilloscope Data ................................................................... 1-18Reading Instrument Data from an Oscilloscope................................................. 1-18Using Agilent 541xxx-series Oscilloscopes ....................................................... 1-19Writing Advanced Design System Data to an Oscilloscope ............................... 1-21

Reading and Writing Microwave Transition Analyzer Data ....................................... 1-22Reading Instrument Data from an MTA .............................................................. 1-22Writing Data to an MTA ...................................................................................... 1-24

Specifying a Symbolic Interface Name..................................................................... 1-25Specifying a Transfer Timeout .................................................................................. 1-26Entering Comments into a Dataset........................................................................... 1-26

2 HP CITIfile Data Format ReferenceCITIfile Data Formats ............................................................................................... 2-1

Data Formats...................................................................................................... 2-1File and Operating System Formats................................................................... 2-2

CITIfile Definitions .................................................................................................... 2-2Package.............................................................................................................. 2-2Header................................................................................................................ 2-3Data Array .......................................................................................................... 2-3

iii

Page 4: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Keywords ............................................................................................................ 2-3CITIfile Examples ..................................................................................................... 2-3

Display Memory File ........................................................................................... 2-3Agilent 8510 Data File ........................................................................................ 2-4Agilent 8510 3-Term Frequency List Cal Set File ............................................... 2-5

CITIfile Keyword Reference ...................................................................................... 2-7CITIfile Guidelines .................................................................................................... 2-9Converting Between Disk Formats ........................................................................... 2-10

HFS .................................................................................................................... 2-10DOS.................................................................................................................... 2-11

CITIfile Device-specific Definitions ........................................................................... 2-11Network Analyzer (#NA) Definitions ......................................................................... 2-11

Data Grouping .................................................................................................... 2-11Network Analyzer Keywords............................................................................... 2-12

Error Array Numbering ............................................................................................. 2-13Disk Filename Requirements ................................................................................... 2-14Agilent 8510 Series CITIfile ...................................................................................... 2-15Agilent 8700 Series CITIfile ...................................................................................... 2-16

3 Touchstone Data Format ReferenceSpecifying Units and Impedance .............................................................................. 3-1

Syntax ................................................................................................................ 3-1Example ............................................................................................................. 3-1

Entering Data Values................................................................................................ 3-2Example ............................................................................................................. 3-2

Noise Parameters ..................................................................................................... 3-3Example ............................................................................................................. 3-3

4 Command ReferenceIndex

iv

Page 5: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Chapter 1: Instrument ServerThe Instrument Server provides a way to read in data from sources such as a networkanalyzer or Touchstone file into a dataset. The Instrument Server also writes datafrom a dataset to an instrument or file.

Applications for using transferred data include:

• Reading measured instrument data into a dataset, and comparing measureddata to simulation results in a data display.

• Reading data into a dataset for use with components, such as the VtDatasetsource, that can read data from a dataset.

• Writing S-parameters from a dataset to a specific file type. The S-parameter filecan then be read by a component, such as a P2D amplifier.

• Transferring data between other simulation products such as Series IV, MDS,Agilent HFSS, or IC-CAP.

These are just a few examples, there are many other applications for transferringdata between Advanced Design System and outside systems.

This chapter describes how to transfer measured data between datasets and files,network analyzers, spectrum analyzers, oscilloscopes, and the Agilent 70820AMicrowave Transition Analyzer.

The Instrument Server can transfer data between many instrument models and fileformats. A list of supported instruments appears at the start of each section.

Platforms, Machine Dependencies and GP-IB CardsThe GP-IB interface is currently supported on HP-UX 10.2, HP-UX 11, Sun Solaris2.6 and 7.0 (Sun OS V5.6/5.7), and Windows NT 4.0 and 95/98.

Note For details on the hardware and software interface kits that can be used witheach platform, refer to the “HP-IB and GP-IB Interfaces” section in the Installdocumentation.

Platforms, Machine Dependencies and GP-IB Cards 1-1

Page 6: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

Installation RequirementsTo use the Instrument Server, you must first perform the following installation steps:

• Install a GP-IB card and software in your computer

• Run any installation procedures to set Symbolic names, bus speed, etc.

• Set GP-IB and Instrument Server configurations in Advanced Design System

Note As part of the interface card installation, a symbolic name is assigned to thecard. When you install the card, make a note of this name, you will need it when youuse the Instrument Server. For details on specifying a symbolic name, refer to“Specifying a Symbolic Interface Name” on page 1-25.

Starting and Exiting the Instrument ServerYou can start the Instrument Server from a Schematic window or a Data DisplayWindow.

• From a Schematic window, choose, Window > New File/Instrument Server . Or, clickthe Instrument Server icon.

• From a Data Display window, click the Instrument Server icon.

To exit the Instrument Server, choose File > Exit from the Instrument Server menubar.

1-2 Installation Requirements

Page 7: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Parts of the Instrument ServerThe illustration shows the basic Instrument Server elements.

• The Menu bar displays the menus that are available in a data display window.

• The Title bar displays the window type.

• Read and Write display lists of items that you can read from and write to.Depending on your selection, additional instrument and file options aredisplayed.

• Display Status Log activates the transfer of information to the Status Server.Any errors that occur during the data transfer or messages that indicate theprogress of the transfer will appear in this window.

• Display Comments Dialog enables you to add comments to a dataset.

Menu bar

Available andselecteddatasets

Available andselectedvariables

Instrument andfile options

Read sourcesand writedestinations

Title bar

Parts of the Instrument Server 1-3

Page 8: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

• The Dataset field list the datasets in the current project. The selected dataset orthe name of a new dataset is displayed in the Dataset Name field.

• The Variable field lists the variables in the selected dataset. The selectedvariable is displayed in the field below the list.

Connecting to InstrumentsSeveral interface bus choices must be specified when you transfer data to or from aninstrument.

Data can be transferred either by HP-IB or GP-IB. References to HP-IB in this textalso refer to GP-IB.

To configure the interface bus, do the following:

1. Choose HP-IB > Timeout . The HPIB Timeout dialog box appears.

2. Enter the amount of time, in seconds, allowed to transfer data and click OK.

When this time is exceeded, the communication between the instrument andcomputer is terminated. Do not specify an excessively long time because if thedata transfer fails, it may be difficult to terminate the connection between thecomputer and the instrument until the time has expired. If you do not specify atime interval, a default value of 10 seconds is used.

3. Choose HP-IB > Symbolic Name . The HPIB Symbolic Name dialog box appears.

4. Enter the symbolic name of the interface card and click OK.

This name is required to transfer data via HP-IB or GP-IB. For details onspecifying a symbolic name, refer to “Specifying a Symbolic Interface Name” onpage 1-25.

5. The HP-IB Address field enables you to the identify the instrument that youwant to connect to by HP-IB address.

The steps to complete these settings begin with “Specifying a Symbolic InterfaceName” on page 1-25.

1-4 Connecting to Instruments

Page 9: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Data Transfer ConsiderationsTo ensure successful data transfers, before initiating a transfer, be sure to:

• Specify a timeout duration which is sufficient to complete the data transferfrom an instrument.

• Set the instrument to hold or single sweep mode. This is particularly importantwhen retrieving averaged data from an instrument, or the data acquisition timefor an instrument is relatively long.

• Do not change any settings on an instrument while a transfer is in progress.

• Not all instruments have the same memory or trace locations, so be sure toselect a location that is valid for your instrument or an error will occur whenyou attempt to transfer data.

• You may need to perform several transfers in order to place data in a finalformat. For example, you may have S-parameters in a Touchstone file and wantthem in P2D format. You would read the S-parameters from the Touchstone fileto a dataset, then write the data from the dataset and into a P2D file.

Reading from and Writing to FilesYou can transfer data between datasets and files that are in the following fileformats:

• Touchstone

• CITIfile

• IC-CAP

• Measurement Data Interchange Format (MDIF)

You can transfer data from a file into a dataset, or vice versa. One application is totransfer data from a dataset to an MDIF file, for use with a specific type ofcomponent. For example, a file in P2D format (P2D is one of several MDIF formats)containing S-parameters can then be used by the P2D amplifier. Using theInstrument Server, you can write S-parameters from a dataset to a file in P2Dformat. Another application is reading Agilent IC-CAP data into a dataset to be usedin conjunction with a component, such as a source, that can read data from a dataset.

Data Transfer Considerations 1-5

Page 10: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

The following table lists available file types, a description of the file contents, and thecomponent that uses the data. Be sure to review the notes at the end of the table. Fordetails about each file format, refer to the Circuit Simulation manual.

Table 1-1. Available File Format Types

Format Description Usage

Touchstone (SnP) Format

SnP†,†† Small signal S, H, Y, Z, or G-parameters. May also include optionalnoise data (2 port data only). Where nis the number of ports from 1 to 99.

n-Port S-parameter file (SnP)components in the Data ItemsLibrary.

CITIfile Format

CITI††† A general data format supported bynetwork analyzers. Capable of storingmultiple packages of multi-dimensional data.

S#P #-Port S-parameter filecomponents in the Data ItemsLibrary.

Agilent IC-CAP Formats

DUT, MDL,

SET‡,‡‡Device under test (DUT), model(MDL), and setup (SET) files from theHewlett Packard IC-CAP program.These files can contain Measured,Simulated, and/or Transformed data.

Once the data is read into adataset, it can be used with anycomponent (for example, aVtDataset source) that can readdata from a dataset.

† When writing data from a dataset to a file, the variable names are limited to S,H,Y,Z orG, for example, S[1,1], S[1,2], G[1,1], G[1,2]. The variable name is used to determine thetype of data.†† The first set of data in the dataset that matches the data type (name) will be output. It is notpossible to arbitrarily select which data will be will be output.††† There are some specific problems with the current version in writing and/or reading thisdata format. Refer to the release notes or on the Agilent EEsof support Web site for moreinformation and workarounds.‡ You can read in IC-CAP data only.‡‡ Only simple, scaled expressions with numbers or variables and one operator (either +, -, *,or /) are supported for start, stop, step, and number of points parameters, for example, start=1 GHZ or stop=icmax/10.‡‡‡ This format is not yet fully supported.

The COD, FIR, LAS, and SPE formats were obsolete when ADS 1.0 was introduced and arenot used by the application. The LIST2 and T2D formats are also obsolete.

1-6 Reading from and Writing to Files

Page 11: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

MDIF Formats

DSCR Discrete (indexed) tabular andpossibly statistical density data.

DAC

GCOMP†† Gain compression data Amplifier and Mixer items in theSystem - Amps & Mixers library.

GEN_MDIF Generalized multi-dimensional tablesunifying other MDIF formats.

DAC

IMT†† Intermodulation product table of mixerintermodulation products between theLO and signal that relates the mixer IMoutput level to signal input level.

MixerIMT in the System - Amps &Mixers library.

MODEL_MDIF Nonlinear model parameters EEFET1, BJTAP, etc.

P2D†,†† Large-signal, power-dependent, 2-portS, H, Y, Z, or G -parameters.

AmplifierP2D item in the System -Amps & Mixers library.

PDF‡‡‡ User defined, piece-wise linearprobability density function data.

With expressions in the Statisticstab.

S2D†,†† 2-port S, H, Y, Z, or G-parameters withgain compression and optional noiseand intermodulation data.

Amplifier S2D, Amplifier, andMixer items in the System - Amps& Mixers library.

S2PMDIF Multi-dimensional 2-port, S, Y, Z, H, Gsignal and optional 2-port noiseparameter (Fmin, Gopt, Rn) data.

With S2PMDIF and DAC

Table 1-1. Available File Format Types (continued)

Format Description Usage

† When writing data from a dataset to a file, the variable names are limited to S,H,Y,Z orG, for example, S[1,1], S[1,2], G[1,1], G[1,2]. The variable name is used to determine thetype of data.†† The first set of data in the dataset that matches the data type (name) will be output. It is notpossible to arbitrarily select which data will be will be output.††† There are some specific problems with the current version in writing and/or reading thisdata format. Refer to the release notes or on the Agilent EEsof support Web site for moreinformation and workarounds.‡ You can read in IC-CAP data only.‡‡ Only simple, scaled expressions with numbers or variables and one operator (either +, -, *,or /) are supported for start, stop, step, and number of points parameters, for example, start=1 GHZ or stop=icmax/10.‡‡‡ This format is not yet fully supported.

The COD, FIR, LAS, and SPE formats were obsolete when ADS 1.0 was introduced and arenot used by the application. The LIST2 and T2D formats are also obsolete.

Reading from and Writing to Files 1-7

Page 12: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

Reading a File

To read the contents of a file into a dataset:

1. From an open Instrument Server window, click READ.

2. Under Read From, click FIle.

3. Under File Format to Read From, select one of the file formats:

• Touchstone

• MDIF

• CITIfile

• ICCAP

4. For MDIF, choose the appropriate file subtype.

SDF††,††† Time-domain voltage data file inHP89440 file format.

TimeFile item in Timed Sourcesand OutFile item in Sinks library.

SPW†† Time-domain voltage data file inCadence Alta Group SPW format

TimeFile item in Timed Sourcesand OutFile item in Sinks library.

TIM†† Time-domain data TimeFile item in Timed Sourcesand OutFile item in Sinks library.

Table 1-1. Available File Format Types (continued)

Format Description Usage

† When writing data from a dataset to a file, the variable names are limited to S,H,Y,Z orG, for example, S[1,1], S[1,2], G[1,1], G[1,2]. The variable name is used to determine thetype of data.†† The first set of data in the dataset that matches the data type (name) will be output. It is notpossible to arbitrarily select which data will be will be output.††† There are some specific problems with the current version in writing and/or reading thisdata format. Refer to the release notes or on the Agilent EEsof support Web site for moreinformation and workarounds.‡ You can read in IC-CAP data only.‡‡ Only simple, scaled expressions with numbers or variables and one operator (either +, -, *,or /) are supported for start, stop, step, and number of points parameters, for example, start=1 GHZ or stop=icmax/10.‡‡‡ This format is not yet fully supported.

The COD, FIR, LAS, and SPE formats were obsolete when ADS 1.0 was introduced and arenot used by the application. The LIST2 and T2D formats are also obsolete.

1-8 Reading from and Writing to Files

Page 13: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

5. Under File Name, type in the filename if the file is in the project. If it is not,click Browse to navigate file paths and select the file.

6. Click Display Server Status to view any messages and errors that may occurduring the transfer.

7. Click Display Comments Dialog to add comments to a dataset. For instructions,refer to “Entering Comments into a Dataset” on page 1-26.

8. The data from the selected file will be written to a dataset. Enter a name in theDataset Name field or select from the list of existing datasets. If you choose adataset from the list, any data that is already stored in the dataset will not besaved; it will be overwritten with new data.

9. Click Read File to send the file contents to the dataset.

Note The source file must not use any ADS reserved variables. Use of such a file canproduce misleading results.

Writing to a File

To write data to a file:

1. From an open Instrument Server window, click WRITE.

2. Under Write To, click File .

3. Under File Format to Write To, select one of the file formats.

4. Under File Name, type in the filename you want to write to. It will be saved inthe project directory. If you want to save the file in a different location, clickBrowse to navigate file paths and select the file.

5. Click Display Server Status to view any messages and errors that may occurduring the transfer.

6. Click Display Comments Dialog to view comments in a dataset. For instructions,refer to “Entering Comments into a Dataset” on page 1-26.

7. The source of the data can be any project dataset. Select from the list of existingdatasets.

8. Click Write File to send the data to the file.

Reading from and Writing to Files 1-9

Page 14: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

Reading and Writing Network Analyzer DataData can be transferred to and from the following network analyzers.

* Not fully supported

Network Analyzer Data Formats

The network analyzer stores measurements as raw, corrected, or formatted data,depending on the settings of the network analyzer:

• Raw data are the values measured at the detector, with no correction oralteration.

• Corrected data are the values measured at the detector, plus correction dataapplied.

• Formatted data is corrected data plus any averaging, smoothing, or otherprocesses that can be applied with network analyzer.

Most Agilent Analyzers have two channels, each having its own set of raw, correctedand formatted data arrays. For all analyzers except the 8712 and 8714the instrumentserver accesses the data in channel 1 only.

Table 1-2. Network Analyzer Data

Model Number Description

Agilent E8358A 300 kHz - 9 GHz VNA*

Agilent 8510B/C High Performance uW VNA

Agilent 8712X 300kHz - 1.3 GHz Low Cost (Trans, Refl) RF VNA

Agilent 8714X 300kHz - 3 GHz Low Cost (Trans, Refl) RF VNA

Agilent 8719X 50 MHz – 13.5 GHz VNA

Agilent 8720X 50 MHz – 20 GHz VNA

Agilent 8722X 50 MHz – 40 GHz VNA

Agilent 8752X 300kHz - 6 GHz Reflection Transmission VNA

Agilent 8753X 30kHz-6 GHz High Performance RF VNA

Agilent 8702X 300 kHz - 6 GHz Mod Freq Lightwave Component Analyzer

Agilent 8703X 130 MHz - 20 Ghz Mod Freq Lightwave Component Analyzer

Wiltron 360 High Performance uW VNA

1-10 Reading and Writing Network Analyzer Data

Page 15: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Using the Agilent E8358A Network Analyzer

The instrument server has the ability to interface with the Agilent E8358A networkanalyzer. The instrument server reads from the Channel 1 data arrays. There arethree NWA data formats to choose from.

• Formatted Transfer the data in the analyzer’s Formatted data array to thedataset.

• Corrected Transfer the data in the analyzer’s Corrected data array to thedataset.

• Raw Transfer the data in the analyzer’s Raw data array to the dataset. Rawdata for all four S parameters is available regardless of whether a full2-port-calibration is in effect.

Data is always stored in the dataset variable as complex real imaginary pairs of therequested S parameters.

The instrument server will expect the data in the dataset to be complex.

Using Agilent 87xx-Series Network Analyzers

The instrument server reads from and writes to the Channel 1 data arrays. The dataof interest in channel 1 does not have to be currently displayed to be read. Ifaveraging is ON, the instrument server will put the instrument in HOLD modebefore reading the data. Therefore make sure that the instrument has sufficientlyaveraged the data before reading the array.

In Read Mode there are three Nwa data formats to choose from.

• Formatted Transfer the data in the analyzer’s Formatted data array to thedataset.

• Corrected Transfer the data in the analyzer’s Corrected data array to thedataset.

• Raw Transfer the data in the analyzer’s Raw data array to the dataset. Rawdata for all four S parameters is available regardless of whether a full2-port-calibration is in effect.

Data is always stored in the dataset variable as complex real imaginary pairs of therequested S parameters.

In Write Mode there are 2 Nwa Data Locations to choose from.

Reading and Writing Network Analyzer Data 1-11

Page 16: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

• Memory Transfer complex data from the selected dataset variable to theChannel 1 Memory array.

• Raw Transfer complex data from the selected dataset variable to the Channel1 Raw data array. If a full 2-port-calibration is in effect, any of the fourS-parameters can be written to the 4 available raw data arrays. If a full2-port-calibration is not in effect, S11 data must be selected in order to write tothe single Raw data array available.

The instrument server will expects the data in the dataset to be complex.

Using Agilent 8752 Network Analyzers

Only S11 (reflection) and S21 (transmission) data can be read from or written to anAgilent 8752 network analyzer. This network analyzer only makes reflection andtransmission measurements, and reading or writing data for other parametersproduces unpredictable results.

Before data is written into a raw data array in the Agilent 8752 network analyzer,the error correction that is built into the instrument must be turned off. This is notnecessary if data is written into memory in the instrument.

To turn off error correction in the Agilent 8752, follow these steps:

1. Press the menu key SYSTEM.

2. Press the function key SERVICE.

3. Press the function key SERVICE MODES.

4. Press the function key MORE.

5. Press the function key FREQ RESP to turn off the calibration.

When this has been complete, you can write data into the raw data array in anAgilent 8752 network analyzer.

Note Be sure to turn on error correction before making additional measurementswith the network analyzer.

1-12 Reading and Writing Network Analyzer Data

Page 17: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Using Agilent 8510 Network Analyzers

The instrument server reads from and writes to the Channel 1 data arrays. The dataof interest in channel 1 does not have to be currently displayed to be read. Ifaveraging is ON, the instrument server will put the instrument in HOLD modebefore reading the data. Therefore make sure that the instrument has sufficientlyaveraged the data before reading the array.

In Read mode there are three Nwa data formats to choose from.

• Formatted Transfer the data in the analyzer’s Formatted data array to thedataset.

• Corrected Transfer the data in the analyzer’s Corrected data array to thedataset.

• Raw Transfer the data in the analyzer’s Raw data array to the dataset. Rawdata for all four S parameters is available regardless of whether a full2-port-calibration is in effect.

Data is always stored in the dataset variable as complex real imaginary pairs of therequested S parameters.

In Write mode there are 2 Nwa data locations to choose from.

• Memory Transfer complex data from the selected dataset variable to theChannel 1 Corrected data array.

• Raw Transfer complex data from the selected dataset variable to the Channel1 Raw data array. If a full 2-port-calibration is in effect, any of the fourS-parameters may be written to the 4 available raw data arrays. If a full2-port-calibration is not in effect, S11 data must be selected in order to write tothe single Raw data array available.

The instrument server will expects the data in the dataset to be complex.

Reading Instrument Data from a Network Analyzer

To read measured data from a network analyzer:

1. Configure the network analyzer by setting the stimulus, calibration, and otherparameters.

2. From an open Instrument Server window, click READ.

3. Under Read From, click Network Analyzer .

Reading and Writing Network Analyzer Data 1-13

Page 18: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

4. Under NWA Data Format, select one of the following formats:

• Raw Data that is read at the detector, with no correction factors applied.

• Corrected Data that has correction factors applied.

• Formatted Data that is corrected and includes any other active instrumentoptions, such as smoothing or averaging.

5. Under Read Network Analyzer Data, select the S-parameters that you want touse as the data source. You can select one set of the S-parameters or create anS-matrix of all S-parameters.

6. Type in the HP-IB address of the network analyzer.

7. You must enter the symbolic name for the interface; refer to “Specifying aSymbolic Interface Name” on page 1-25.

8. If you want the data transfer to include a timeout, refer to “Specifying aTransfer Timeout” on page 1-26.

9. Click Display Server Status to view any messages and errors that may occurduring the transfer.

10. Click Display Comments Dialog to add comments to a dataset. For instructions,refer to “Entering Comments into a Dataset” on page 1-26.

11. Enter a name in the Dataset Name field, or select from the list of existingdatasets.

12. Enter a unique name in the Enter Unique Variable Name field. You can selectfrom the list of existing variables, but you must edit the selected variable namein the edit field so that it is unique. The instrument data will be stored in thisvariable.

13. Click Read Instrument to send the measured instrument data to the dataset.

Writing Data to a Network Analyzer

Data in a dataset can be written to the network analyzer raw data array or memoryarray. The memory array can only hold one parameter.

If data is to be written to the Channel 1 Raw data array, and a full 2-port-calibrationis in effect, any of the four S parameters may be written to the 4 available raw dataarrays. If a full 2-port-calibration is not in effect, S11 data must be selected in orderto write to the single Raw data array available.

1-14 Reading and Writing Network Analyzer Data

Page 19: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

To write to a network analyzer:

1. From an open Instrument Server window, click WRITE.

2. Under Write To, click Network Analyzer .

3. Under NWA Data Location, select one of the network analyzer data locations toidentify where you want to send the data.

4. Under Write Network Analyzer Data, select the type of S-parameters that youintend to send to the analyzer.

5. Type in the HP-IB address of the network analyzer.

6. The symbolic interface name is required; refer to “Specifying a SymbolicInterface Name” on page 1-25.

7. If you want the data transfer to include a timeout, refer to “Specifying aTransfer Timeout” on page 1-26.

8. Click Display Server Status to view any messages and errors that may occurduring the transfer.

9. The source of the data can be any variable in a project dataset. The data in thedataset variable must be complex data. Select from the list of existing datasetsand variables.

10. Click Write To Instrument to send the data to the specified network analyzerlocation.

Reading and Writing Spectrum Analyzer DataData can be read from and written to a wide range of Hewlett-Packard spectrumanalyzers. Supported spectrum analyzers are listed below.

Table 1-3. Spectrum Analyzer Data

Model Number Frequency Range, Features

Agilent 70000 Modular Analyzers (MMS)

Agilent 8566B 100 Hz–22 GHz

Agilent 8567A 10 kHz–1500 MHz

Agilent 8568B 100 Hz–1500 MHz

Agilent 859XX Portable Economy Analyzer Series

Agilent 856XX Portable Mil Spec Analyzer Series

Reading and Writing Spectrum Analyzer Data 1-15

Page 20: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

Reading Instrument Data from a Spectrum Analyzer

When data is read into a dataset, the location specified as the source of the data(trace A, B, or C) is read immediately without the selected trace being put into viewmode. When reading data from a spectrum analyzer, keep in mind the following:

• The 856X series of analyzers do not have a Trace C.

• The instrument server doesn’t wait for the trace to complete before the data isread.

• For traces with long sweep times, make sure the instrument has completed onesweep of the desired spectrum before reading the data.

• No peak search is performed before the data is transferred.

• Data is read in exactly as it appears on the screen.

• The data written to the dataset variable has the amplitude units of the analyzerat the time the data was read.

To read data from a spectrum analyzer:

1. From an open Instrument Server window, click READ.

2. Under Read From, click Spectrum Analyzer .

3. Under Read Spectrum Analyzer Trace, select the trace you want to use as thedata source.

4. Type in the HP-IB address of the spectrum analyzer.

5. The symbolic interface name is required; refer to “Specifying a SymbolicInterface Name” on page 1-25.

6. If you want the data transfer to include a timeout, refer to “Specifying aTransfer Timeout” on page 1-26.

7. Click Display Server Status to view any messages and errors that may occurduring the transfer.

8. Click Display Comments Dialog to add comments to a dataset. For instructions,refer to “Entering Comments into a Dataset” on page 1-26.

9. Enter a name in the Dataset Name field, or select from the list of existingdatasets.

10. Enter a unique name in the Enter Unique Variable Name field. You can selectfrom the list of existing variables, but you must edit the selected variable name

1-16 Reading and Writing Spectrum Analyzer Data

Page 21: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

in the edit field so that it is unique. The instrument data will be stored in thisvariable.

11. Click Read Instrument to send the measured instrument data to the dataset.

Writing to a Spectrum Analyzer

Existing data in the instrument memory to which data is being written isoverwritten, and the dataset data is displayed as if it were measured data. Sincedataset data is deleted from the instrument when another measurement is made, theinstrument server places the instrument in single sweep mode to prevent the datasetdata from being overwritten. Dataset data is deleted from the instrument whenanother measurement is made.

When data is written into the spectrum analyzer, the frequency range, number ofpoints, and other stimulus values in the instrument are not changed. Interpolation isused (if necessary) to display the dataset data at the frequency points given by thecurrent spectrum analyzer settings. There must be some overlap between thefrequency range of the dataset and the analyzer’s current frequency range. Thespectrum analyzer does not extrapolate. Data values for all frequencies above orbelow the frequencies in the dataset appear as zero.

The instrument server searches the selected dataset variable for an attribute labeled“Amplitude Units”. If it is not found, the instrument server prompts the user for theunit value of the dataset variable data. The dataset variable data must be real data,complex data will result in an error.

To write to a spectrum analyzer:

1. From an open Instrument Server window, click WRITE.

2. Under Write To, click Spectrum Analyzer .

3. Under Write to Spectrum Analyzer Trace, select the trace where you intend tosend the data.

4. Type in the HP-IB address of the spectrum analyzer.

5. The symbolic interface name is required; refer to “Specifying a SymbolicInterface Name” on page 1-25.

6. If you want the data transfer to include a timeout, refer to “Specifying aTransfer Timeout” on page 1-26.

Reading and Writing Spectrum Analyzer Data 1-17

Page 22: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

7. Click Display Server Status to view any messages and errors that may occurduring the transfer.

8. Click Display Comments Dialog to add comments to a dataset. For instructions,refer to “Entering Comments into a Dataset” on page 1-26.

9. The source of the data can be any variable in a project dataset. Select from thelist of existing datasets and variables.

10. Click Write To Instrument to send the dataset or variable data to the spectrumanalyzer trace.

Reading and Writing Oscilloscope DataData can be read from and written to a wide range of Hewlett-Packard oscilloscopes.Supported oscilloscopes are listed below.

Reading Instrument Data from an Oscilloscope

Not all channels or memory locations exist on all supported oscilloscopes. Requestingdata from a nonexistent channel results in an error message and no data istransferred.

Table 1-4. Oscilloscope Data

Model Number Frequency Range, Features

Agilent 54100A 1 GHz rep BW, 2-channel.

Agilent 54100D Agilent 54100A with dual trigger.

Agilent 54110D Agilent 54100D with color CRT and PaintJet output.

Agilent 54111D 500 MHz Rep BW, 250 MHz 1-shot, 2-channel dual trigger.

Agilent 54120T 20 GHz rep BW, 4-channel.

Agilent 54123T 34 GHz rep BW, 4-channel.

Agilent 54124T 50 GHz, 4-channel.

Agilent 54720D 2 GHz, 8 GSample/sec Modular Oscilloscope (using Agilent 5471x and5472x plug-ins)

Agilent 54750A 20 GHz Sampling Modular Oscilloscope (using Agilent 5475x plug-ins)

1-18 Reading and Writing Oscilloscope Data

Page 23: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Table 1-5 summarizes the memory locations from which data can be read in variousHewlett-Packard oscilloscopes.

It may take a long time to read some extreme cases of averaged data. It is notuncommon for it to take 10 to 15 minutes to accumulate 500 points of data averaged2048 times. If such a trace is desired, store the trace in memory first, then read thedata directly from memory.

Also note that the Agilent 54111D oscilloscope stores 8192 points of data in waveformmemories 1 through 4 even though only 512 of these points are displayed at any onetime. The result is that even if only two periods appear on the display, reading thememory will take as long as is needed to read points for 16 periods.

Using Agilent 541xxx-series Oscilloscopes

When reading data from an active channel, all Agilent 541xxx-series and Agilent547xx-series oscilloscopes first digitize the data into a waveform memory.

Table 1-5. Oscilloscope Memory Locations

OscilloscopeMemory1Memory2

Memory3Memory4

Memory5Memory6

Memory5throughMemory8

ALL † †† •Agilent 54120T • •Agilent 54123T • •Agilent 54110D • •Agilent 54111D • • •

Agilent 547xx †† • • •† All instruments except Agilent 54100A/D oscilloscopes with firmwarerevisions earlier than March 1986. In these earlier oscilloscopes, datais read from Channel 1 or 2 only.†† Memory5 = fcn1, Memory6 = fcn2.

Reading and Writing Oscilloscope Data 1-19

Page 24: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

Table 1-6 traces the flow of the data in each oscilloscope.

To read data from an oscilloscope:

1. From an open Instrument Server window, click READ.

2. Under Read From, click Oscilloscope .

3. Under Read Oscilloscope Data, select the channel or memory location that youwant to use as the data source.

4. Type in the HP-IB address of the oscilloscope.

5. The symbolic interface name is required; refer to “Specifying a SymbolicInterface Name” on page 1-25.

6. If you want the data transfer to include a timeout, refer to “Specifying aTransfer Timeout” on page 1-26.

7. Click Display Server Status to view any messages and errors that may occurduring the transfer.

8. Click Display Comments Dialog to add comments to a dataset. For instructions,refer to “Entering Comments into a Dataset” on page 1-26.

9. Enter a name in the Dataset Name field, or select from the list of existingdatasets.

Table 1-6. Oscilloscope Data Flow

Agilent54100A/D †

Agilent54110D

Agilent54111D

Agilent5412xx

Agilent547xx

Where channel 1is stored

Internalmemory

Memory 1 Memory 1 orMemory 5††

Memory 1 Internalmemory

Where channel 2is stored

Internalmemory

Memory 2 Memory 2 orMemory 6††

Memory 2 Internalmemory

Where channel 3is stored

Memory 3 Internalmemory

Where channel 4is stored

Memory 4 Internalmemory

† Agilent 54100A/D oscilloscopes with firmware revisions later than March 1986 behavelike Agilent 54110D oscilloscopes.†† The Agilent 54111D oscilloscope digitizes real-time traces from channels 1 and 2 intoMemory 1 and Memory 2. It digitizes averaged traces from these two channels intoMemory 5 and Memory 6.

1-20 Reading and Writing Oscilloscope Data

Page 25: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

10. Enter a unique name in the Enter Unique Variable Name field. You can selectfrom the list of existing variables, but you must edit the selected variable namein the edit field so that it is unique. The instrument data will be stored in thisvariable.

11. Click Read Instrument to send the measured instrument data to the dataset.

Writing Advanced Design System Data to an Oscilloscope

Not all memory locations are on all supported oscilloscopes. Writing data to anonexistent channel aborts the process with an error message and no data changes.

Table 1-7 summarizes the memory locations that are available for writing data invarious Hewlett-Packard oscilloscopes.

When data is written into the oscilloscope, the time range, number of points, andother stimulus values in the waveform memory are not changed. Interpolation isused (if necessary) to display the dataset data at the time points given by the currentoscilloscope settings. This means that the desired time/div, volts/div, delay, and othersettings must be adjusted on an active channel and then stored in memory.

The oscilloscope does not extrapolate. Data values for all times above or below thefrequencies in the dataset appear as zero.

To write to an oscilloscope:

1. From an open Instrument Server window, click WRITE.

2. Under Write To, click Oscilloscope .

Table 1-7. Oscilloscope Memory Locations

OscilloscopeMemory1Memory2

Memory3Memory4

Memory5throughMemory8

ALL •Agilent 54120T • •Agilent 54123T • •Agilent 54110D • •Agilent 54111D • • •Agilent 547xx • •

Reading and Writing Oscilloscope Data 1-21

Page 26: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

3. Under Write to Oscilloscope Memory, select the memory location where youintend to send the data.

4. Type in the HP-IB address of the oscilloscope.

5. The symbolic interface name is required; refer to “Specifying a SymbolicInterface Name” on page 1-25.

6. If you want the data transfer to include a timeout, refer to “Specifying aTransfer Timeout” on page 1-26.

7. Click Display Server Status to view any messages and errors that may occurduring the transfer.

8. Click Display Comments Dialog to add comments to a dataset. For instructions,refer to “Entering Comments into a Dataset” on page 1-26.

9. The source of the data can be any variable in a project dataset. Select from thelist of existing datasets and variables.

10. Click Write To Instrument to send the dataset or variable data to the specifiedoscilloscope memory location.

Reading and Writing Microwave Transition AnalyzerDataData can be read from and written to the Agilent 70820A Microwave TransitionAnalyzer (MTA).

Reading Instrument Data from an MTA

You can read MTA data from a trace, memory, or a table. Data can be in the followingformat. The data read from a trace or memory location is formatted by the followingRead MTA data selections.

• Formatted The format of the data depends on the instrument’s current Domainsetting, which dictates how the trace data is to be displayed. Basically this is aWhat You See Is What you Get mode. The dependent data returned may be inComplex(real, imaginary), Real, Imag, Magnitude, Phase, orComplex(magnitude, phase) formats. The independent data can be eitherfrequency or time.

1-22 Reading and Writing Microwave Transition Analyzer Data

Page 27: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

es time.

ill be

the onata vsFT is

• Complex versus time The dependent data returned will be complex data, and theindependent data will be time. It doesn’t matter what is currently being displayed on thscreen. The measured data will be transformed as necessary to output complex data vFor instance, if the instrument is currently displaying magnitude data vs frequency, aninverse FFT is performed so the independent data is time, and the dependent data wcomplex(real, imaginary).

• Complex versus frequency The dependent data returned will be complex data, and independent data will be frequency. It doesn’t matter what is currently being displayedthe screen. The measured data will be transformed as necessary to output complex dfrequency. For instance, if the instrument is currently displaying real data vs time, a Fperformed so the independent data is frequency, and the dependent data will becomplex(real, imaginary).

If data is to be read from the MTA table, the instrument server checks to see if thereis more than 1 signal in the signal list. If there is more than 1 signal in the list, theinstrument server will prompt the user for the signal of interest. The magnitude datais changed to absolute amplitude values if it is originally relative. When the transferis started, the transition analyzer is put into hold mode if it is not in this modealready. Then the data is read. This makes it possible to set up a trace, put theinstrument in hold mode, and then read the data. After the data has been read, thetransition analyzer is returned to its original sweep mode.

Details on transition analyzer domains appear under the description of the waveformsubsystem in the Agilent 70820A Transition Analyzer Remote Programming Manual.

To read data from an MTA:

1. From an open Instrument Server window, click READ.

2. Under Read From, click Microwave Transition Analyzer .

3. Under Read MTA Trace, select one of the MTA Trace Formats:

• Trace 1-4: a displayed MTA trace

• Memory 1-4: an MTA memory location

• Table: If there is more than 1 signal in the signal list the instrument serverwill prompt the user for the signal of interest. The structure of the table isretained. For example, a table may contain the magnitude and phase valuesof a fundamental frequency and each of its harmonics. The data istransferred to the dataset in the same order.

4. Under Read MTA Data, select one of the MTA Data Formats:

Reading and Writing Microwave Transition Analyzer Data 1-23

Page 28: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

• Formatted

• Complex vs Time

• Complex vs Frequency

5. Type in the HP-IB address of the microwave transition analyzer.

6. The symbolic interface name is required; refer to “Specifying a SymbolicInterface Name” on page 1-25.

7. If you want the data transfer to include a timeout, refer to “Specifying aTransfer Timeout” on page 1-26.

8. Click Display Server Status to view any messages and errors that may occurduring the transfer.

9. Click Display Comments Dialog to add comments to a dataset. For instructions,refer to “Entering Comments into a Dataset” on page 1-26.

10. Enter a name in the Dataset Name field, or select from the list of existingdatasets.

11. Enter a unique name in the Enter Unique Variable Name field. You can selectfrom the list of existing variables, but you must edit the selected variable namein the edit field so that it is unique. The instrument data will be stored in thisvariable.

12. Click Read Instrument to send the measured instrument data to the dataset.

Writing Data to an MTA

Any data that in the instrument memory location that you select to write to will beoverwritten with the dataset data. The frequency range, number of points, and otherstimulus values in the instrument are reset to fit the trace being written.

To write to an MTA:

1. From an open Instrument Server window, click WRITE.

2. Under Write To, click Microwave Transition Analyzer .

3. Under Write to MTA Memory, select the memory location where you intend tosend the data.

4. Under Write MTA Data, select one of the MTA data types:

• Frequency Domain Data as a function of frequency

1-24 Reading and Writing Microwave Transition Analyzer Data

Page 29: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

• Time Domain Complex data as a function of time

5. Type in the HP-IB address of the microwave transition analyzer.

6. The symbolic interface name is required; refer to “Specifying a SymbolicInterface Name” on page 1-25.

7. If you want the data transfer to include a timeout, refer to “Specifying aTransfer Timeout” on page 1-26.

8. Click Display Server Status to view any messages and errors that may occurduring the transfer.

9. Click Display Comments Dialog to add comments to a dataset. For instructions,refer to “Entering Comments into a Dataset” on page 1-26.

10. The source of the data can be any variable in a project dataset. Select from thelist of existing datasets and variables.

11. Click Write To Instrument to send the dataset or variable data to the specifiedMTA memory location.

Specifying a Symbolic Interface NameThe symbolic interface name is the name assigned to the interface card when thecard is installed. This name can be redefined at any time and is required by theInstrument Server to transfer data to or from an instrument. For the E2050Lan/HP-IB gateway box, the symbolic name is of the form:

lan[IP_address]:hp-ib_name

To enter the symbolic name:

1. From the menu bar choose HP-IB > Symbolic Name .

2. The HP-IB Symbolic Name dialog box appears. Type the name into the field inthe dialog box.

3. Click OK.

Example:

If an E2050 Lan/HP-IB gateway box with an IP address of 18.9.134.213 is to beaddressed, the symbolic name is:

lan[18.9.134.213]:hpib that is, lan[IP_address] : hp-ib_name

Specifying a Symbolic Interface Name 1-25

Page 30: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

Refer to the documentation for the E2050 for details on changing the hp-ib_name.

Note Interface cards for the PC are often bundled with a diagnostics program. If thediagnostics software is installed, you can run it to identify the card name. For UNIXplatforms, you should make a note of the card name when you install the card.

Specifying a Transfer TimeoutA transfer timeout specifies the length of time allowed to transfer data. When thetime is exceeded, the instrument and computer are disconnected. You should alwaysset the timeout option before a data transfer to ensure the connection between theinstrument and Advanced Design System can be terminated.

To set a timeout:

1. From the menu bar choose HP-IB > Timeout .

2. The HP-IB Timeout dialog box appears. Type the amount of time you want toallow to elapse, in seconds, before the timeout occurs.

3. Click OK.

Note The optimum transfer time depends on the hardware speed and the amount ofdata to be transferred. If you transferring data from an instrument and areaveraging data, transferring a large amount of data, or have a long sweep time, putthe instrument in hold or single sweep mode or change the timeout setting to anappropriate value before attempting to transfer data.

Entering Comments into a DatasetYou can enter comments into a dataset. Comments such as the origin of the data canbe useful to identify the contents of the dataset.

To enter comments:

1. Click Display Comments Dialog .

2. Type in comments that you want to add to the dataset. The comments areentered into a comments field of the dataset.

1-26 Specifying a Transfer Timeout

Page 31: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

3. Click OK to add the comments to the dataset.

Entering Comments into a Dataset 1-27

Page 32: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Instrument Server

1-28 Entering Comments into a Dataset

Page 33: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Chapter 2: HP CITIfile Data FormatReferenceThis chapter gives an overview of the CITIfile format, definitions of key terms, andfile examples. It also includes:

• Keyword reference

• File guidelines

• Instructions for converting between disk formats

• Device-specific definitions

• Filename requirements

CITIfile Data FormatsCITIfile is a standardized data format that is used for exchanging data betweendifferent computers and instruments. CITIfile stands for Common InstrumentationTransfer and Interchange file format.

This standard is a group effort between instrument designers and designers ofcomputer-aided design programs. As much as possible, CITIfile meets current needsfor data transfer, and it is designed to be expandable so it can meet future needs.

CITIfile defines how the data inside an ASCII package is formatted. Since it is nottied to any particular disk or transfer format, it can be used with any operatingsystem, such as DOS or UNIX, with any disk format, such as DOS or HFS, or withany transfer mechanism, such as by disk, LAN, or GPIB.

By careful implementation of the standard, instruments and software packages usingCITIfile are able to load and work with data created on another instrument orcomputer. It is possible, for example, for a network analyzer to directly load anddisplay data measured on a scalar analyzer, or for a software package running on acomputer to read data measured on the network analyzer.

Data Formats

There are two main types of data formats: binary and ASCII. CITIfile uses the ASCIItext format. Although this format does require more space than binary format, ASCIIdata is a transportable, standard type of format which is supported by all operating

CITIfile Data Formats 2-1

Page 34: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

HP CITIfile Data Format Reference

systems. In addition, the ASCII format is accepted by most text editors. This allowsfiles to be created, examined, and edited easily, making CITIfile easier to test anddebug.

File and Operating System Formats

CITIfile is a data storage convention designed to be independent of the operatingsystem, and therefore may be implemented by any file system. However, transferbetween file systems may sometimes be necessary. You can use any software that hasthe ability to transfer ASCII files between systems to transfer CITIfile data. For moreinformation, see “Converting Between Disk Formats” on page 2-10.

The descriptions and examples shown here demonstrate how CITIfile may be used tostore and transfer both measurement information and data. The use of a single,common format allows data to be easily moved between instruments and computers.

CITIfile DefinitionsThis section defines the following terms: package, header, data array, and keyword.

Package

A typical CITIfile package is divided into two parts:

• The header is made up of keywords and setup information.

• The data usually consists of one or more arrays of data.

The following example shows the basic structure of a CITIfile package:

When stored in a file there may be more than one CITIfile package. With the Agilent8510 network analyzer, for example, storing a memory all will save all eight of the

CITIFILE A.01.00NAME MEMORYVAR FREQ MAG 3DATA S RIBEGIN-3.54545E-2,-1.38601E-30.23491E-3,-1.39883E-32.00382E-3,-1.40022E-3END

Header

Data

2-2 CITIfile Definitions

Page 35: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

memories held in the instrument. This results in a single file that contains eightCITIfile packages.

Header

The header section contains information about the data that will follow. It may alsoinclude information about the setup of the instrument that measured the data. TheCITIfile header shown in the first example has the minimum of informationnecessary; no instrument setup information was included.

Data Array

An array is numeric data that is arranged with one data element per line. A CITIfilepackage may contain more than one array of data. Arrays of data start after theBEGIN keyword, and the END keyword follows the last data element in an array.

A CITIfile package does not necessarily need to include data arrays. For instance,CITIfile could be used to store the current state of an instrument. In that case thekeywords VAR, BEGIN, and END would not be required.

Keywords

Keywords are always the first word on a new line. They are always one continuousword without embedded spaces. A listing of all the keywords used in version A.01.00of CITIfile is shown in “CITIfile Keyword Reference” on page 2-6.

CITIfile ExamplesThe following are examples of CITIfile packages.

Display Memory File

This example shows an Agilent 8510 display memory file. The file contains nofrequency information. Some instruments do not keep frequency information fordisplay memory data, so this information is not included in the CITIfile package.

Note that instrument-specific information (#NA = network analyzer information) isalso stored in this file.

CITIfile Examples 2-3

Page 36: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

HP CITIfile Data Format Reference

CITIFILE A.01.00#NA VERSION HP8510B.05.00NAME MEMORY#NA REGISTER 1VAR FREQ MAG 5DATA S RIBEGIN-1.31189E-3,-1.47980E-3-3.67867E-3,-0.67782E-3-3.43990E-3,0.58746E-3-2.70664E-4,-9.76175E-40.65892E-4,-9.61571E-4END

Agilent 8510 Data File

This example shows an Agilent 8510 data file, a package created from the dataregister of an Agilent 8510 network analyzer. In this case, 10 points of real andimaginary data was stored, and frequency information was recorded in a segment listtable.

CITIFILE A.01.00#NA VERSION HP8510B.05.00NAME DATA#NA REGISTER 1VAR FREQ MAG 10DATA S[1,1] RISEG_LIST_BEGINSEG 1000000000 4000000000 10SEG_LIST_ENDBEGIN0.86303E-1,-8.98651E-18.97491E-1,3.06915E-1-4.96887E-1,7.87323E-1-5.65338E-1,-7.05291E-18.94287E-1,-4.25537E-11.77551E-1,8.96606E-1-9.35028E-1,-1.10504E-13.69079E-1,-9.13787E-17.80120E-1,5.37841E-1-7.78350E-1,5.72082E-1END

2-4 CITIfile Examples

Page 37: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Agilent 8510 3-Term Frequency List Cal Set File

This example shows an Agilent 8510 3-term frequency list cal set file. It shows howCITIfile may be used to store instrument setup information. In the case of an Agilent8510 cal set, a limited instrument state is needed in order to return the instrument tothe same state that it was in when the calibration was done.

Three arrays of error correction data are defined by using three DATA statements.Some instruments require these arrays be in the proper order, from E[1] to E[3] . Ingeneral, CITIfile implementations should strive to handle data arrays that arearranged in any order.

CITIFILE A.01.00#NA VERSION HP8510B.05.00NAME CAL_SET#NA REGISTER 1VAR FREQ MAG 4DATA E[1] RIDATA E[2] RIDATA E[3] RI#NA SWEEP_TIME 9.999987E-2#NA POWER1 1.0E1#NA POWER2 1.0E1#NA PARAMS 2#NA CAL_TYPE 3#NA POWER_SLOPE 0.0E0#NA SLOPE_MODE 0#NA TRIM_SWEEP 0#NA SWEEP_MODE 4#NA LOWPASS_FLAG -1#NA FREQ_INFO 1#NA SPAN 1000000000 3000000000 4#NA DUPLICATES 0#NA ARB_SEG 1000000000 1000000000 1#NA ARB_SEG 2000000000 3000000000 3VAR_LIST_BEGIN1000000000200000000025000000003000000000VAR_LIST_ENDBEGIN1.12134E-3,1.73103E-34.23145E-3,-5.36775E-3-0.56815E-3,5.32650E-3-1.85942E-3,-4.07981E-3END

CITIfile Examples 2-5

Page 38: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

HP CITIfile Data Format Reference

BEGIN2.03895E-2,-0.82674E-2-4.21371E-2,-0.24871E-20.21038E-2,-3.06778E-21.20315E-2,5.99861E-2ENDBEGIN4.45404E-1,4.31518E-18.34777E-1,-1.33056E-1-7.09137E-1,5.58410E-14.84252E-1,-8.07098E-1END

When an instrument's frequency list mode is used, as it was in this example, a list offrequencies is stored in the file after the VAR_LIST_BEGIN statement. The unsortedfrequency list segments used by this instrument to create the VAR_LIST_BEGIN dataare defined in the #NA ARB_SEG statements.

CITIfile Keyword ReferenceTable 2-1 lists keywords, definitions, and examples.

2-6 CITIfile Keyword Reference

Page 39: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Table 2-1. CITIfile Keyword Reference

Keyword Example and Explanation

CITIFILE Example: CITIFILE A.01.00Identifies the file as a CITIfile and indicates the revision level of the file.The CITIFILE keyword and revision code must precede any otherkeywords.

The CITIFILE keyword at the beginning of the package assures thedevice reading the file that the data that follows is in the CITIfileformat.The revision number allows for future extensions of the CITIfilestandard.

The revision code shown here following the CITIFILE keywordindicates that the machine writing this file is using the A.01.00 versionof CITIfile as defined here. Any future extensions of CITIfile willincrement the revision code.

NAME Example: NAME CAL_SET

Sets the current CITIfile package name. The package name should bea single word with no embedded spaces. Some standard packagenames:

RAW_DATA: Uncorrected data.

DATA: Data that has been error corrected. When only a single dataarray exists, it should be named DATA.

CAL_SET: Coefficients used for error correction.

CAL_KIT: Description of the standards used.

DELAY_TABLE: Delay coefficients for calibration.

VAR Example: VAR FREQ MAG 201

Defines the name of the independent variable (FREQ); the format ofvalues in a VAR_LIST_BEGIN table (MAG) if used; and the number ofdata points (201 ).

CONSTANT Example: CONSTANTname value

Lets you record values that do not change when the independentvariable changes.

CITIfile Keyword Reference 2-7

Page 40: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

HP CITIfile Data Format Reference

# Example: #NA POWER1 1.0E1

Lets you define variables specific to a particular type of device. Thepound sign (#) tells the device reading the file that the followingvariable is for a particular device.The device identifier shown here (NA) indicates that the information isfor a network analyzer. This convention lets you define new deviceswithout fear of conflict with keywords for previously defined devices.The device identifier can be any number of characters.

SEG_LIST_BEGIN Indicates that a list of segments for the independent variable follows.

Segment Format: segment type start stop number of points

The current implementation supports only a signal segment. If you usemore than one segment, use the VAR_LIST_BEGIN construct. CITIfilerevision A.01.00 supports only the SEG (linear segment) segmenttype.

SEG_LIST_END Sets the end of a list of independent variable segments.

VAR_LIST_BEGIN Indicates that a list of the values for the independent variable (declaredin the VAR statement) follows. Only the MAG format is supported inrevision A.01.00.

VAR_LIST_END Sets the end of a list of values for the independent variable.

DATA Example: DATA S[1,1] RI

Defines the name of an array of data that will be read later in thecurrent CITIfile package, and the format that the data will be in.Multiple arrays of data are supported by using standard array indexingas shown above. CITIfile revision A.01.00 supports only the RI (realand imaginary) format, and a maximum of two array indexes.

Commonly used array names include:S - S-parameterE - Error TermVoltage - VoltageVOLTAGE_RATIO - A ratio of two voltages (A/R)

Table 2-1. CITIfile Keyword Reference (continued)

Keyword Example and Explanation

2-8 CITIfile Keyword Reference

Page 41: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

CITIfile GuidelinesThe general guidelines aid in making CITIfiles universally transportable are:

• Line Length The length of a line within a CITIfile package should not exceed80 characters. This allows instruments which may have limited RAM to definea reasonable input buffer length.

• Keywords Keywords are always at the beginning of a new line. The end of aline is as defined by the file system or transfer mechanism being used.

• Unrecognized Keywords When reading a CITIfile, unrecognized keywordsshould be ignored. There are two reasons for this:

• Ignoring unknown keywords allows new keywords to be added, withoutaffecting an older program or instrument that might not use the newkeywords. The older instrument or program can still use the rest of the datain the CITIfile as it did before. Ignoring unknown keywords allows“backwards compatibility” to be maintained.

• Keywords intended for other instruments or devices can be added to thesame file without affecting the reading of the data.

• Adding New Devices Individual users are allowed to create their own devicekeywords through the # (user-defined device) mechanism (see list of keywordsfor more information). Individual users should not add keywords to CITIfileswithout using the # notation, as this could make their files incompatible withcurrent or future CITIfile implementations.

• File Names Some instruments or programs identify a particular type of file bycharacters that are added before or after the file name. Creating a file with aparticular prefix or ending is not a problem. However in general an instrumentor program should not require any such characters when reading a file. Thisallows any file, no matter what the filename, to be read into the instrument orcomputer. Requiring special filename prefixes and endings makes the exchangeof data between different instruments and computers much more difficult.

CITIfile Guidelines 2-9

Page 42: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

HP CITIfile Data Format Reference

Converting Between Disk FormatsMost current Agilent instruments use disks formatted in the Logical InterchangeFormat (LIF). Some instruments also use DOS-formatted disks. CITIfiles created onone file system (LIF, DOS, HFS, etc.) may be transferred to other file systems.

HFS

Several LIF and DOS utilities are available for HP-UX workstations. The HP-UXutilities lifcp and doscp can transfer CITIfiles to and from LIF and DOS disks. Usinglifcp and doscp are similar; using lifcp is described below. Several other LIF and DOSutilities are also available. Consult the manuals for these utilities for more detailedinformation. Listing the contents of a LIF disk when using HP-UX would be similarto the following example:

lifls /dev/rdsk/1s0.0

The device name used will depend on how your system was configured. Copying aCITIfile named DD_FILED1 from a LIF disk to HFS would be similar to the followingexample:

lifcp /dev/rdsk/1s0.0:DD_FILED1 DD_FILED1

To copy a standard HFS ASCII file to a LIF disk:

lifcp DD_FILED1 /dev/rdsk/1s0.0:DD_FILED1

When used on an HFS disk, The HP-UX program RMB/UX (Rocky Mountain BASICfor HP-UX) has the ability to write a CITIfile in either as a standard HFS ASCII file,or as a LIF volume file. The LIF volume file is the default. This type of file is notdirectly readable when using the HP-UX operating system, and the copy commandslisted above will not work correctly.

BASIC program writers are encouraged to detect when writing to an HFS disk, andto use the standard HFS format. The program examples CITIWRITE andCITIDOALL show how this can be done. However CITIfiles stored in the LIF volumeformat can still be transferred to LIF disks, or converted to standard HFS files. Tocopy a LIF volume file named DD_FILED stored on an HFS disk and move it to a LIFdisk:

lifcp DD_FILED1:WS_FILE /dev/rdsk/1s0.0:DD_FILED1

To copy the LIF volume file DD_FILED1 to a standard HFS file named NEWFILE:

lifcp DD_FILED1:WS_FILE NEWFILE

2-10 Converting Between Disk Formats

Page 43: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

DOS

Utilities are available for DOS machines that enable them to transfer files to andfrom a LIF formatted disk. Many of these programs are menu-driven, and areavailable from the following companies: HP, Oswego, Meadow Soft Works, andInnovative Software Systems.

CITIfile Device-specific DefinitionsCITIfile is a generic definition of a data storage format for any type of computer orinstrument. However each type of device may need to define certain conventions foritself. This section describes the device-specific keywords and conventions for currentimplementations.

Network Analyzer (#NA) Definitions

Data Grouping

Data arrays of the same type, obtained during a single measurement operation, arestored in a single CITIfile package. For example, all error correction arrays are storedin the same CITIfile package, and all parameters acquired during an s-parametermeasurement operation are stored in the same CITIfile package.

A CITIfile package is as described in the main CITIfile documentation: the CITIFILEkeyword, followed by a header section, usually followed by one or more arrays of data.

Network Analyzer Keywords

The definition of CITIfile allows for statements that are specific to a certain type ofdevice. Table 2-2 lists the currently defined commands for the #NA network analyzer)keyword.

CITIfile Device-specific Definitions 2-11

Page 44: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

HP CITIfile Data Format Reference

Table 2-2. Network Analyzer Keywords

Statement Explanation

#NA ARB_SEG x y p A list segment, as entered by the user. xx = start value y = stop value p = number of points.

#NA REGISTER nn Register in instrument that the current data packagewas stored in. nn = number of register.

#NA SWEEP_TIME tt The sweep time of the analyzer. tt = time in seconds.

#NA POWER1pp Power level of signal source #1. pp = power in dBm.

#NA POWER2pp Power level of signal source #2. pp = power in dBm.

#NA PARAMS aa Bitmap of valid parameters for a calibration. Bitpositions 1-8 represent the following: Bit #1 = S11 Bit #2 = S21 Bit #3 = S12 Bit #4 = S22 Bit #5 = user1 Bit #6 = user2 Bit #7 = user3 Bit #8 = user4A bit equal to one means that the calibration is valid forthat parameter; a zero means that the calibration is notvalid for that parameter. Bit #0 is the least significantbit.

NA# CAL_TYPE cc The type of calibration used: 1 = response calibration. 2 = response and isolation calibration. 3 = one-port calibration on port 1. 4 = one-port calibration on port 2. 5 = two-port calibration (includes one-path full & TRL)

NA# POWER_SLOPEss Change in power versus frequency. ss = dBm/GHz

NA# SLOPE_MODEmm On/off flag for power slope. mm = 0 = off mm = 1 = on

2-12 Network Analyzer (#NA) Definitions

Page 45: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Error Array NumberingCurrent network analyzer implementations use between one and twelve errorcoefficient arrays in order to perform error correction. The CAL_TYPE keyworddescription in “Network Analyzer (#NA) Definitions” on page 2-11 lists the currentlydefined calibration types. Table 2-3 defines the meanings of each coefficient arraywith respect to the error model used.

NA# TRIM_SWEEP tt Linearity adjustment value for swept sources.

NA# SWEEP_MODEss Type of sweep done to make measurement. 0 = swept 1 = stepped 2 = single-point 3 = fast CW 4 = list

NA# LOWPASS_FLAGff Low-pass time domain flag. ff = 0 = low-pass time domain enabled. ff = 1 = low-pass time domain disabled.

NA# FREQ_INFO ii The frequency information flag.ii = 0 = frequency information displayed on instrument

screen. ii = 1 = frequency information not displayed oninstrument screen.

NA# DUPLICATES dd Delete duplicates flag. Determines if points listed morethan once should be measured more than once. dd = 0 = points listed more than once are measuredas many times as they are listed. dd = 1 = points are measured only once.

NA# SPAN xx yy pp The sweep parameters: xx = start value yy = stop value pp = number of points

NA# IF_BW gg The IF bandwidth setting of the receiver. gg = IF bandwidth in Hertz.

Table 2-2. Network Analyzer Keywords (continued)

Statement Explanation

Error Array Numbering 2-13

Page 46: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

HP CITIfile Data Format Reference

Disk Filename RequirementsSome instruments or programs identify a particular type of file by characters that areadded before or after the file name. In general an instrument or program should notrequire any such characters when reading a file.

There exist CITIfile implementations which do have file naming restrictions. Thissection explains how to work around these restrictions.

Agilent 8510 Series CITIfileThe Agilent 8510 checks the first three letters of the filename to determine what isstored in the file. Table 2-4 lists the file prefixes for an Agilent 8510 CITIfile.

Table 2-3. Error Array Numbering

ErrorArrayName

FrequencyResponse

Response&Isolation

All1-Port

All2-Port

E1 Er or Et Ed or Ex Ed Edf

E2 — Er or Et Es Esf

E3 — — Er Erf

E4 — — — Exf

E5 — — — Elf

E6 — — — Etf

E7 —- —- — Edr

E8 — — —- Esr

E9 — — — Err

E10 — — — Exr

E11 -— -— — Elr

E12 — — -— Etr

2-14 Disk Filename Requirements

Page 47: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

DD_MYDATA is an example of a file name for a file that contains one array of correcteddata.

The current Agilent 8510 CITIfile implementation is unable to read files unless theyhave the prefixes above. It is expected that a future Agilent 8510 revision will removethis restriction.

Agilent 8700 Series CITIfileStoring a data file from an Agilent 8700-series analyzer in CITIfile format requiresthat you choose the SAVE USING ASCII option.

The Agilent 8700 series of instruments check the last two characters of the filenameto determine what is stored in the file. Table 2-5 lists the file endings for an Agilent8700 CITIfile.

Table 2-4. Agilent 8510 Series CITIfile Prefixes

FilePrefix File Contents Notes

RD_ Raw Data Raw (uncorrected data array(s).

DD_ Data Data Error corrected data array(s)

FD_ Formatted Data Corrected & formatted data array.

DM_ Display Memory File holds one memory.

MA_ Display Memory All Holds all memories in 8510.

CS_ Cal Set One set of calibration data.

CA Cal Set All All sets of calibration data.

DT_ Delay Table One delay table.

Table 2-5. Agilent 8700 Series CITIfile Suffixes

Last 2 Charsof File Name File Contents Notes

Rx Raw Data x = 1 = channel 1.x = 5 for channel 2.

Dx Data Data x = channel number.

Fx FormattedData

x = channel number.

Agilent 8700 Series CITIfile 2-15

Page 48: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

HP CITIfile Data Format Reference

FILE1D1 is an example of a file name for a file that contains corrected data forchannel #1. FILE1R5 is a filename for raw data arrays from channel #2. MYFILE2Cis an example of a name for a file that contains a cal set used by channel #2, with 12arrays of data (hexadecimal C).

To load data from disk into an Agilent 8700-series instrument, there must be amatching instrument state file to go with the data that is being loaded. Consult theAgilent 8700-series documentation for more information.

Mx DisplayMemory

x = channel number.

xy Cal Set x = channel number.y = number of error coefficient arrays inthe file. y is displayed in hexadecimal.

Table 2-5. Agilent 8700 Series CITIfile Suffixes

Last 2 Charsof File Name File Contents Notes

2-16 Agilent 8700 Series CITIfile

Page 49: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Chapter 3: Touchstone Data FormatReferenceTouchstone data files are ASCII text files in which data appears line by line, one lineper data point, in increasing order of frequency. Each line of data consists of afrequency value and one or more pairs of values for the magnitude and phase of eachS-parameter at that frequency.Values are separated by one or more spaces.Comments are preceded by an exclamation mark (!). Comments can appear onseparate lines, or after the data on any line or lines. Extra spaces are ignored.

Specifying Units and ImpedanceThe first uncommented line in the file must be a specification line. The nextuncommented line is the first data line.

Specification lines begin with the number symbol (#) followed by a space. Then theseparameters are specified, in this order:

• Frequency unit (GHz, MHz, KHz, or Hz)

• Parameter type (S)

• Data format, as magnitude-angle (MA), dB-angle (DB), or real-imaginary (RI )

• Nnormalizing impedance (R n, where n=ohms)

Syntax

The syntax for specifying units and impedance is shown below.

[#] [GHz MHz KHz, Hz] [S] [MA DB RI] [R n]

Example

This is a typical specification line:

# MHZ S MA R 50

Frequency values are in MHz (MHz), the data is S-parameter data (S), the data formatis magnitude and angle (MA), and the impedance is 50 ohms (R 50 ).

Specifying Units and Impedance 3-1

Page 50: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Touchstone Data Format Reference

Entering Data ValuesData values appear on each line, in this order:

• Frequency In these examples, frequency appears as f. In the data file,frequency must be in the units that are used in the stimulus control element onthe circuit page where the data is used.

• Magnitude In these examples, magnitude is expressed as m.

• Phase In these examples, phase is expressed as p. Phase is always given indegrees.

One-port data is entered on one line, with three values for each point:

f m(S11) p(S11)

Two-port data is entered on one line, with nine values for each point:

f m(S11) p(S11) m(S21) p(S21) m(S12) p(S12) m(S22) p(S22)

Three-port data is entered on three lines, with 19 values for each point:

f m(S11) p(S11) m(S12) p(S12) m(S13) p(S13m(S21) p(S21) m(S22) p(S22) m(S23) p(S23)m(S31) p(S31) m(S32) p(S32) m(S33) p(S33)

Four-port data is entered on four lines, with 33 values for each point:

f m(S11) p(S11) m(S12) p(S12) m(S13) p(S13) m(S14) p(S14)m(S21) p(S21) m(S22) p(S22) m(S23) p(S23) m(S24) p(S24)m(S31) p(S31) m(S32) p(S32) m(S33) p(S33) m(S34) p(S34) m(S41) p(S41) m(S42) p(S42) m(S43) p(S43) m(S44) p(S44)

Example

In this example, 2-port S-parameter data is specified.

! Two-port S-Parameter Data# MHz S MA R 500 .1 20 2 -20 .01 -20 .1 -30100 .1 20 2 -20 .01 -20 .1 -30200 .2 -40 4 -30 .02 -30 .15 -35300 .3 -60 5 -40 .02 -30 .2 -50

3-2 Entering Data Values

Page 51: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Noise ParametersNoise parameters can be included in Touchstone format 2-port data files. Noise datafollows the S-parameter data and consists of a row of noise parameters at a particularfrequency.

The first number in the row is the frequency. This is assumed to be in GHz unlessotherwise noted in a units line. The first point of noise data must have a frequencyless than the frequency of the last S-parameter frequency.

The second number is the minimum noise figure in dB. The third number is themagnitude of the reflection coefficient to realize the minimum noise figure. Thefourth number is the phase in degrees of the reflection coefficient. The fifth number isthe normalized effective noise resistance.

Example

This is an example of a data file with noise data:

! NEC710

# GHZ S MA R 502 .95 -26 3.57 157 .04 76 .66 -1422 .60 -144 1.30 40 .14 40 .56 -85! NOISE PARAMETERS4 .7 .64 69 .3818 2.7 .46 -33 .40

Noise Parameters 3-3

Page 52: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Touchstone Data Format Reference

3-4 Noise Parameters

Page 53: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Chapter 4: Command Reference

File Menu

Close Window

Closes the instrument server window.

HP-IB Menu

Symbolic Name

Specifies the symbolic interface name assigned to the interface bus card.

Timeout

Specifies the maximum length of time allowed to transfer data. Instrumentsdisconnect after this time has elapsed.

Help Menu

What’s This?

Displays context-sensitive help for a menu, command, button, or control that isselected subsequently.

Topics and Index

Provides access to a brief list of topics for each product area, as well as access to anindex of topics in all product areas.

Agilent EEsof Web Site

Launches the browser (Netscape by default) defined in Options > Preferences >Web Browser in the Advanced Design System Main window, provided the path forthe browser has been established.

About the Instrument Server

Displays version, copyright, and technical support information. Provides a directlink to the Agilent EEsof web site.

Read Instrument (Button)

Sends the measured instrument data to the dataset.

4-1

Page 54: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Command Reference

4-2

Page 55: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Index

CCITIfiles

about, 2-1and network analyzers, 2-11and the instrument server, 1-5data arrays, 2-3data format, 2-2filename requirements, 2-14for data, 1-5guidelines, 2-9header, 2-3keyword reference, 2-7keywords, 2-3package, 2-2

commentsentering in a dataset, 1-26

communication timeouts, specifying, 1-4

Ddata

and files, 1-5and MTAs, 1-22and network analyzers, 1-10and oscilloscopes, 1-18and spectrum analyzers, 1-15in Touchstone files, 3-2

data arraysin CITIfiles, 2-3

data communicationand timeouts, 1-26

data conversionof CITIfiles, 2-10

data filesand the instrument server, 1-5

data formatsfor network analyzers, 1-10

data transfersand files, 1-5and MTAs, 1-22and network analyzers, 1-10and oscilloscopes, 1-18and spectrum analyzers, 1-15considerations, 1-5

datasetsand comments, 1-26

DOS formatfor CITIfiles, 2-11

Eexamples

CITIfile packages, 2-3

Ffiles

and the instrument server, 1-5reading, 1-8supported formats, 1-5writing, 1-9

Hheaders

in CITIfiles, 2-3HFS format, 2-10HP 8510 network analyzers

writing data to, 1-13HP 8703 network analyzers

reading data from, 1-11HP 8720 network analyzers

reading data from, 1-11HP 8752 network analyzers

reading data from, 1-12HP 8753 network analyzers

reading data from, 1-11HP-IB

address, 1-4timeouts, 1-26

HP-IB cardsand symbolic names, 1-2, 1-4supported for instrument server, 1-1

IIC-CAP files

as sources of data, 1-5instrument server

and data transfers, 1-5and files, 1-5and HP-IB addresses, 1-4and MTAs, 1-22and oscilloscopes, 1-18and spectrum analyzers, 1-15and symbolic names, 1-4

Index-1

Page 56: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

and timeouts, 1-4, 1-26connecting to instruments, 1-4elements, 1-3entering comments, 1-26exiting, 1-2hardware requirements, 1-1installation, 1-2operating system requirements, 1-1reading files, 1-8reading MTA data, 1-23reading network analyzer data, 1-13reading oscilloscope data, 1-18reading spectrum analyzer data, 1-16starting, 1-2writing to a file, 1-9writing to an MTA, 1-24writing to network analyzers, 1-14writing to oscilloscopes, 1-21writing to spectrum analyzers, 1-17

instrumentsand instrument server connections, 1-4and timeouts, 1-4considerations, 1-5MTAs, 1-22network analyzers, 1-10oscilloscopes, 1-18spectrum analyzers, 1-15

Kkeywords

CITIfile, 2-3reference, 2-7

MMDIF files

reading and writing, 1-5microwave transition analyzers

and data transfers, 1-22MTAs

reading data from, 1-22writing data to, 1-24

Nnaming CITIfiles, 2-14network analyzers

and the instrument server, 1-10data formats, 1-10error correction, 2-13

filename requirements, 2-14reading data from, 1-13writing data to, 1-14

noise parametersin Touchstone format, 3-3

Ooscilloscopes

about HP 541xxx series, 1-19and data transfers, 1-18reading data from, 1-18supported, 1-18writing data to, 1-21

Ppackages

CITIfile, 2-2

Rreading data

from a file, 1-8from a microwave transition analyzer, 1-22from a network analyzer, 1-13from a spectrum analyzer, 1-16from an oscilloscope, 1-18from oscilloscopes, 1-20

Sspecifications

of CITIfiles, 2-9of Touchstone files, 3-1

specifying a symbolic interface name, 1-25spectrum analyzers

and data transfers, 1-15reading data from, 1-16supported, 1-10, 1-15writing data to, 1-17

startingthe instrument server, 1-2

supported instrumentsoscilloscopes, 1-18spectrum analyzers, 1-10, 1-15

symbolic names, specifying, 1-2, 1-4, 1-25

Ttimeouts

specifying, 1-26timeouts, specifying, 1-4

Index-2

Page 57: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

Touchstonefiles, 1-5

Touchstone dataentering data, 3-2impedance, 3-1noise parameters, 3-3units, 3-1

transferring dataconsiderations, 1-5

Wwriting data

to a microwave transition analyzer, 1-24to a network analyzer, 1-14to a spectrum analyzer, 1-17to an oscilloscope, 1-21to oscilloscopes, 1-21

Index-3

Page 58: Advanced Design System 1.5 Using Instruments with ADSliterature.cdn.keysight.com/litweb/pdf/ads15/pdf/...Using Instruments with ADS December 2000 ii Notice The information contained

-4