Agilent Technologies 3588A Uživatelská příručka

Procházejte online nebo si stáhněte Uživatelská příručka pro Multimetry Agilent Technologies 3588A. Agilent Technologies 3588A User`s guide [en] Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 254
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - User’s Guide

User’s GuideStandard Data Format UtilitiesVersion B.02.01Manufacturing Part Number: 5963-1715Printed in USADecember 1994© Copyright 1989, 1991-94, 20

Strany 3 - Printed in USA July 2004

Naming Conventions for Matrix FilesIf the destination file is not specified and the /B option is not specified, then the output filenames arederived f

Strany 4

Naming Conventions for X-axis VariablesIf you choose the /X option the program does will create a variable of the form:<name>xfor each Y-axis va

Strany 5 - TABLE OF CONTENTS

SDFTOSDFExtracts a subset of results from an SDF file <sfile> and creates another SDF file <dfile>. The type ofspacing and number of point

Strany 6 - Table of Contents

/P:<pts> Interpolate to the specified number of linear spaced points. If the number of pointsis not specified, then the original number of point

Strany 7

Example 1To find out what results are available in an SDF measurement results file from HP 3566A/67A (sweptsine measurement):SDFTOSDF /I SINEARB.DATTh

Strany 8

DiscussionThe HP 3566A/67A generally puts all results from a measurement in a single file (see example above).If no options are selected that specify

Strany 9

SDFYDATAModify/print SDF file <sfile> Y data. If [afile] or /Y option is specified then the Y data in the SDF file ismodified, otherwise the dat

Strany 10

SETUP63Converts a binary setup state file from the HP 3563A (or HP 3562A) to an ASCII form (written todestination file). Refer to the HP 3563A or HP 3

Strany 11 - General Information

ExampleAfter copying your HP 3563A/62A file from LIF to DOS using the LIF CP command(LIF CP A:SEFREQ FREQ), type:SETUP63 FREQ FREQ.ASC /E:0FREQ.ASC wi

Strany 12

SETUP88Converts a binary setup state file from the HP 3588A to an ASCII form written to a destination file.Syntax SETUP88 <sfile> [dfile] [/O] [

Strany 13

1General InformationIntroductionStandard Data Format Utilities is a group of MS-DOS®programs for doing thefollowing things (see figure 1-1, on the fol

Strany 14 - README.TXT

ExampleCopy a setup state file from the HP 3588A LIF formatted disk and convert it to ASCII format:LIF CP B:STATE1 STATE1.88SETUP88 STATE1.88 STATE1.A

Strany 15 - HP 24542U to 9-pin RS 232

SETUP89Converts a binary setup state file from the HP 3589A to an ASCII form written to a destination file.Syntax SETUP89 <sfile> [dfile] [/O] [

Strany 16 - Batch Files

ExampleCopy a setup state file from the HP 3589A LIF formatted disk and convert it to ASCII format:LIF CP B:STATE1 STATE1.89SETUP89 STATE1.89 STATE1.A

Strany 17

SOFTCOPYTransfers data from the HP-IB (IEEE-488 bus) to a file. Allows your PC to emulate a hardcopy devicesuch as a plotter or printer, so screen dum

Strany 18 - Figure 1-4. Viewdata

SYNTH63Converts a binary synthesis file from the HP 3563A or HP 3562A to an ASCII file, a PC-MATLAB file,or a MATRIXx file. HP 3563A/62A synthesis fil

Strany 19 - Minimum Requirements

DiscussionA synthesis table contains a maximum of 22 poles/zeros, poles/residues, or numerators/denominators(polynomial). It also contains the time de

Strany 20 - Installation

X32TOBINConvert data from Intel Hex-32 source data file and put the results in the destination binary file.Syntax X32TOBIN <sfile> <dfile>

Strany 21 - What is Standard Data Format?

Error MessagesCannot openoutput fileThis error is generated if the output file cannot be opened with writepermissions. Check for a valid path/file nam

Strany 23 - SDFTOSDF /R to select

5ViewdataIntroductionThe Viewdata utility allows you to display data graphically on your PC. You can display up to threetraces of data from the same o

Strany 24 - Waterfalls and Maps (Scans)

Figure 1-1. Data Exchange CapabilitiesGeneral Information1-2

Strany 25 - Time Capture (Scans)

Note No file conversions are necessary for SDF or ASCII data. HP 3562A/3563A data mustbe converted from LIF to DOS format (see chapter 3), but need no

Strany 26

The menu line for Viewdata contains a menu name followed by a set of command words on the top lineon the display. Each command has one letter in red o

Strany 27 - Description

When you change to the Output menu, the screen displays information on the output setup.Figure 5-4. Output setup screenViewdata5-4

Strany 28

VIEWDATASyntaxVIEWDATA [/D:<data>] [/S:<scans>] [/R:<row>] [<fileA>] [<fileB>] [<fileC>] [/U][/T:<title>] [/

Strany 29 - Online Help

/H:<highCnt> The number of plots per page high./N:<pltNum> Which plot this is (relative to /W and /H). If not set when /W or /H used, then

Strany 30 - Operations

VIEWDATA menuViewdata: File Display Output Save Help QuitHot Keys: FDOS HQFile Set the file type and read data from a file.Display Set up the display

Strany 31 - LIF SCAN

File menu (if Type is Auto or HP 3563A/3562A)File: Type Read Help QuitHot Keys: TR H QType Set the type of file (ASCII, SDF, or 3563/2 data file).Read

Strany 32

File menu (if Type is SDF)File: Type Read Header Help QuitHot Keys: TRDHQType Set the type of file (ASCII, SDF, or HP 3563A/3562A data file).Read Read

Strany 33

File menu (if Type is ASCII)File: Type Read Points Offset Xvalues Scans Help QuitHot Keys:TRP OXS HQType Set the type of file (ASCII, SDF, or 3563/2 d

Strany 34

Display menuDisplay: ShowTrace Active Format Trace Coords Xscale Yscale Data Help QuitHot Keys: S AF TCXYDHQShowTrace Display the data (with X marker)

Strany 35

Notice in figure 1-1 that the data from some analyzers, such as the HP 3563A, must be converted firstfrom LIF to DOS, then to SDF format. For some oth

Strany 36

Active menuFile: A B C A&BA/B/C Scan HelpHot Keys: ABC & / S HA Make trace A active.B Make trace B active.C Make trace C active.A&B Set th

Strany 37

Format menuFile: Auto Single Upper/LowerUp/Mid/Low Front/Back Overlay Waterfall A_vs_B HelpHot Keys: AS U M F O W V HAuto Determine the format from th

Strany 38

Trace menuTrace: Data Grid TitleType UserTitle Help QuitHot Keys: DGT U HQData Set the data drawing to Auto, Points, Lines, Bars.Grid Sets the type of

Strany 39

TitleType menuTitle Type: Auto User Meas ResBW Date PointHot Keys: AU M R DPAuto Use the other options from this menu in the following order:1. If a u

Strany 40

TraceData menuTraceData: Auto Points Lines BarsHot Keys: AP L BAuto Auto sets the type of drawing based upon the data. If the data is Octave data, the

Strany 41

Grid menuGrid: None Ticks Dots Lines BlankHot Keys: NT DL BNone Do not display a grid.Ticks Ticks only draws short marks at the edge of the grid (and

Strany 42

Coordinates menuCoordinates: Auto Real Imag Mag Log dBdBmInten Phs UnwrpPhs Nyquist Nichol HelpHot Keys: ARI MLDBT PU Y N HAuto Set the coordinate bas

Strany 43 - LIF INIT

Xscale menuXscale: Type Left Right Spacing Help QuitHot Keys: TLRS HQType Set auto or fixed scale for the X-axis.Left Specify an X limit for the left

Strany 44

Xscale Spacing menuXscale: Auto Linear LogHot Keys: AL GAuto Set X-axis spacing to be the same as the resolution of the data. If the dataresolution is

Strany 45 - HP 9127A Formatting Options

Xscale Type menuXscale: Auto FixedHot Keys: AFAuto Show all of the data. Whenever new data is read, the X scale is set to auto.Fixed Show only the dat

Strany 46 - LIFDIAG Menu:

Converting Files Between LIF Format and DOS FormatLIF (Logical Interchange Format) is the Hewlett-Packard standard disk format that may be used toexch

Strany 47 - the start of the sector is

Yscale menuYscale: Type TopBottom Units WfallHeight Help QuitHot Keys: TPB UW HQType Set auto or fixed Y-axis scaling for the displayed data.Top Speci

Strany 48

Yscale Type menuYscale: Auto FixedHot Keys: AFAuto Show all of the data. Whenever new data is read, the Y-axis scale is set to auto.Fixed Show only th

Strany 49 - BACKUP Menu:

Units menuUnits: Peak/RMS Power Density dBmType dBmReference UserReference QuitHot Keys: PWDTR U QPeak/RMS Specify whether the data will be displayed

Strany 50

Data menuData: CopyTo Remove Help QuitHot Keys: CR HQCopyTo Copy the active trace to either of the 2 other traces. All trace display attributesassocia

Strany 51

ShowTrace menuDisplay: Xpos Peak MinMkrZoom∑Hot Keys:XP M∑Display: Home <PgUp Move PgDn> End + Menu – Ins Mkr Del Output QuitHot Keys: Hom

Strany 52

Home Move to beginning of the data when the display is zoomed.PgUp Scroll half a screen towards beginning of the data when the display is zoomed.PgDn

Strany 53

User Entered GraphicsWith the ‘G’ command in the trace display mode, graphic lines and graphic (vector) text may beoverlayed anywhere upon the trace d

Strany 54

R Mouse Button Same as ‘Del’,I Import text/graphics from a file. The information is scaled to fit between themarker & reference marker,T Enter tex

Strany 55

User Entered TextWith the ‘T’ command in the trace display mode, text may be overlayed anywhere upon the trace display.This allows the user to enter i

Strany 56 - HP 3563A/3562A File Format

Output menuOutput: Type Device Baud Paging Speed SolidLinesRotate Pens P1,P2 Help QuitHot Keys: TD BG S L R P1 HQWhen the trace is displayed, pressing

Strany 57

Data Sharing Between AnalyzersThese utilities make it possible to take data with one analyzer and recall it into another analyzer forpost-processing.

Strany 58

Rotate Specify whether the plot or print output will be rotated 90 degrees. On a plotter,this uses the ‘’RO’’ command. This setting does not affect th

Strany 59

Save menuSave: Config QuitHot Keys: CQConfig Save the current configuration to the file ‘’VIEWDATA.INI’’ in the same directoryas ‘’VIEWDATA.EXE’’.If y

Strany 61

6Using SDF Data with C ProgramsSDF Library FunctionsThis chapter provides information on the SDF library functions. These functions are located in\SDF

Strany 62

The Standard Data FormatAll measurement data stored by the HP 3566A, HP 3567A, HP 35665A, HP 35670A, HP 89410A, andHP 89440A is in a file format calle

Strany 63

SdfOpenSyntax short SdfOpen (char far *filename);Returns an integer(short) between 0 and 5 containing a file number. A return of 0 indicatesan error;

Strany 64

SdfCloseSyntax int SdfClose (short fn);Returns an integer(short) of zero or minus one. A return of 0 indicates no error; a return of-1 indicates an er

Strany 65

SdfFileHdrSyntax int SdfFileHdr (short fn, struct SDF_FILE_HDR far *fileHdr);Returns an integer(short) of zero or minus one. A return of 0 indicates n

Strany 66

SdfMeasHdrSyntax int SdfMeasHdr (short fn, struct SDF_MEAS_HDR far *measHdr );Returns an integer(short) of zero or minus one. A return of 0 indicates

Strany 67 - ASCTOSDF

SdfDataHdrSyntax int SdfDataHdr (short fn, short dataNo ,struct SDF_DATA_HDR far *dataHdr);Returns an integer(short) of zero or minus one. A return of

Strany 68

You can compare old data from an HP 3562A to new data from an HP 35665A, as shown in figure 1-3.You can convert the HP 3562A data from LIF to DOS, the

Strany 69 - BINTOX32

SdfVectHdrSyntax int SdfVectHdr (short fn, short dataNo, short rowNo,short colNo, struct SDF_VECTOR_HDR far *vectHdr);Returns an integer(short) of zer

Strany 70 - convert (default 0)

SdfChanHdrSyntax int SdfChanHdr (short fn, short chanNo,struct SDF_CHANNEL_HDR far *chanHdr);Returns an integer(short) of zero or minus one. A return

Strany 71

SdfScanStructSyntax int SdfScanStruct (short fn,struct SDF_SCAN_STRUCT far *scanStruct);Returns an integer(short) of zero or minus one. A return of 0

Strany 72

SdfScanBigSyntax int SdfScanBig (short fn, struct SDF_SCAN_BIG far *scanBig);Returns an integer (short) of greater than zero, zero, or minus one. A re

Strany 73

SdfScanVarSyntax int SdfScanVar (short fn, short varInx, struct SDF_SCAN_VAR far *scanVar);Returns an integer (short) of zero or minus one. A return o

Strany 74 - DOWNLOAD

SdfScansUsedSyntax long SdfScansUsed (short fn);Returns A long integer of greater than or equal to minus one. The return value is thenumber of scans i

Strany 75 - HEADER63

SdfYdataSyntax int SdfYdata (short fn, long offset, short dataNo,short rowNo, short colNo, long scanNo, long pnts,short dataType, float far *y);Return

Strany 76

The dataType is the size of the data block (the format of the data in memory), as shown in the followingtable.Available DatatypesDataType Conversion p

Strany 77

SdfYdataWriteSyntax int SdfYdataWrite (short fn, long offset, short dataNo,short rowNo, short colNo, long scanNo, long pnts,short dataType, float far

Strany 78

SdfXdataSyntax int SdfXdata (short fn, long offset, short dataNo,short rowNo, short colNo, long pnts, short dataType,float far *x);Returns an integer(

Strany 79 - 1.asc, etc.):

Displaying Analyzer Data on a Personal ComputerThe Viewdata utility allows you to display data graphically on your PC. You can display up tothree trac

Strany 80

SdfScanDataSyntax int SdfScanData (short fn, long offset, short varInx,long pnts, short dataType, float far *s);Returns an integer(short) of zero or m

Strany 81

SdfTruncSyntax long SdfTrunc (short fn);Returns a long integer or minus one (-1 indicates an error).This function returns a long integer. This integer

Strany 82 - SDFPRINT

SdfCommentHdrSyntax int SdfCommentHdr (short fn, short commNo, structSDF_COMMENT_HDR far *commHdr);Returns an integer (short) of zero or minus one. A

Strany 83

SdfCommentReadSyntax long SdfCommentRead (short fn, short commNo, long offset, long size, char far *buf);Returns a long integer of greater than or equ

Strany 84

SdfCommentWriteSyntax long SdfCommentWrite (short fn, short commNo, long offset, long size, char far *buf);Returns a long integer of greater than or e

Strany 85

7MATLAB MEX-Files & M-FilesOverviewMATLAB lets you call user programs (MEX-files) from MATLAB as if they were built-in MATLABfunctions. MEX-files

Strany 86

filtrsdf.mexSyntax filtersdf (b, a, name, dataNo, rowNo, colNo)Returns not applicableThis MATLAB subroutine digitally filters SDF data (time capture d

Strany 87

matdemo.timThis file contains data that can be used by the tcdemo.m M-file. The data represents a 4 channel, 12,800Hertz , baseband, time capture with

Strany 88

tcdemo.mThis M-file is a demonstration. It shows you how to digitally filter HP3566A/67A time-capture datausing the MATLAB Signal Processing Toolbox.T

Strany 89

tcdemo2.mThis M-file is a demonstration. It shows you how to compare the FRF measurement results of thedigitally filtered, HP3566/67A time-capture dat

Strany 90

Figure 1-4. ViewdataGeneral InformationDisplaying Analyzer Data on a Personal Computer1-8

Strany 92

8Mathcad®ExamplesMathcad is a registered trademark of MathSoft, Inc., 201 Broadway, Cambridge MA 02139.OverviewThe Mathcad examples described in this

Strany 93 - Example 6

mathcad\signals\qpsk.mcdThis file contains an example of how to create a pulsed QPSK waveform for use with the HP894x0Aarbitrary source. The waveform

Strany 94 - SDFTOBIN

ASDF to PC-MATLAB and MATRIXx examplesIntroductionThe following examples demonstrate:• How to move an HP 3563A (or HP 3562A) file to MATRIXx or PC-MAT

Strany 95

HP 3563A to MATRIXx or PC-MATLAB file formats1. Save measurement setup and data from the HP 3563A to a LIF disk.2. Insert the disk into a drive attach

Strany 96

Loading a File into PC-MATLAB1. To load FREQRESP.MAT, start the PC-MATLAB program and type:load a:FREQRESP.MAT2. To get a list of the variables that w

Strany 97

Loading a File into MATRIXx1. To load FREQRESP.MAT, start MATRIXx and type:load (‘FREQRESP.MAT’)2. To see X-axis values, type:o2i1xTo see Y-axis value

Strany 98

BStandard Data Format (SDF)This appendix describes the organization of files that use the Standard Data Format (SDF). SDF filescontain both measuremen

Strany 99

Records—the Basic SDF UnitsAn SDF file consists of a number of smaller units called records: one “master,” called the File Header,followed by a variab

Strany 100 - Variable File Notes

Record OrderEach measurement file begins with two ASCII characters followed by the File Header. Fields in the FileHeader tell you how many additional

Strany 101

Reading Data from Files into a ProgramThe functions in the SDF Libraries allow you to write your own C programs accessing SDF data viafunction calls.

Strany 102 - SDFTOSDF

Figure B-6. SDF File StructureStandard Data Format (SDF)B-4

Strany 103

The two ASCII characters at the beginning of the file identify it as an SDF file. The first characteris B, the second is \0 (null).Special Fields in a

Strany 104 - Example 2

Record and Structure DescriptionsThe following tables describes the individual records and structures from which the SDF files are built.Each table in

Strany 105 - Discussion

Figure B-7. IEEE Data Type DefinitionFigure B-8. SDF Field Data TypesStandard Data Format (SDF)B-7

Strany 106 - SDFYDATA

Table B-2. SDF_FILE_HDR (File Header record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units1 1:2 recordType short 102 3:6 recordSize l

Strany 107

Table B-2. SDF_FILE_HDR (File Header record), continuedFieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units10 27:28 num_of_VECTOR_record —

Strany 108

* Bytes i.d. = instrument-dependentStandard Data Format (SDF)B-10

Strany 109

Table B-3a. SDF_MEAS_HDR (Measurement Header record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units1 1:2 recordType short 112 3:6 reco

Strany 110

Table B-3b. SDF_MEAS_HDR (Measurement Header record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units15 103:110 centerFreq — center freq

Strany 111

Table B-4a. SDF_DATA_HDR (Data Header record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units1 1:2 recordType short 122 3:6 recordSize

Strany 112

2 Legal InformationThe information contained in this document is subject to change without notice.Agilent Technologies makes no warranty of any kind

Strany 113

InstallationTo install the Standard Data Format Utilities, copy all files on the two disks to any directory on your PC.Or, if you do not have a hard d

Strany 114 - Example 3

* Bytes i.d. = instrument-dependentTable B-4b. SDF_DATA_HDR (Data Header record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units6(cont.

Strany 115

Table B-4c. SDF_DATA_HDR (Data Header record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units11 43:44 xResolution_type — tells you how

Strany 116 - X32TOBIN

Table B-4d. SDF_DATA_HDR (Data Header record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units19 59:60 yIsValid — (0=not valid, 1=valid)

Strany 117 - Error Messages

34 147:148 multiPassDecimations —>0=thenumberofdecimationsincludedinthe multi-pass data.short 0:32767*Bytes i.d. = instrument-dependentTable B-5. S

Strany 118

Table B-6a. SDF_CHANNEL_HDR (Channel Header record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units1 1:2 recordType short 142 3:6 recor

Strany 119 - Viewdata

Standard Data Format (SDF)B-19

Strany 120

Table B-6b. SDF_CHANNEL_HDR (Channel Header record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units17 143:146 inputImpedance — Input im

Strany 121

Table B-7. SDF_SCAN_STRUCT (Scan Structure record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units1 1:2 recordType short 152 3:6 record

Strany 122

Table B-8. SDF_SCANS_BIG (Scan big record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units1 1:2 recordType short 182 3:6 recordSize lon

Strany 123 - VIEWDATA

Table B-9. SDF_SCAN_VAR (Scan variable record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units1 1:2 recordType short 192 3:6 recordSize

Strany 124 - Example 5

2What is Standard Data Format?IntroductionStandard Data Format, SDF, is a data format that allows measurement and analysis data to be sharedamong seve

Strany 125 - VIEWDATA menu

Table B-10. SDF_COMMENT_HDR (Comment record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units1 1:2 recordType short 202 3:6 recordSize l

Strany 126

Table B-11. SDF_XDATA_HDR (X-axis Data record)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units1 1:2 recordType short 162 3:6 recordSize

Strany 127 - File menu (if Type is SDF)

Table B-14. SDF_WINDOW (Window structure)FieldIndexBinaryIndex*Field Name/DescriptionDataTypeRange/Units1 1:2 windowType0=window not applied1=Hanning2

Strany 128 - Xvalues Scans Help Quit

Reconstructing a TraceThe simplest SDF file defines a single trace. A trace consists of a series of discrete points, each definedby an X-axis value an

Strany 129 - Display menu

You can calculate X-axis values this way when xResolution_type is 1 (logarithmic resolution):x0 = abscissa_firstXx1 = x0 * abscissa_deltaXx2 = x0 * ab

Strany 130

Y-axis ValuesA trace’s Y-axis values are always stored in an SDF file’s Y-axis Data record. And when the file definesa single trace, that record inclu

Strany 131 - Format menu

Correcting Y-axis DataY-axis data is stored in the instrument’s internal unit (usually volts) with all calibration correctionsapplied. Two other kinds

Strany 132 - Trace menu

Role of the Vector HeaderThe Vector Header record contains the information you need to link a trace to the appropriate correctionfactors. First, it te

Strany 133 - TitleType menu

What values would a Vector Header record contain for this frequency response trace? Here is an examplerecord:recordType:13recordSize:18unique_record:-

Strany 134 - TraceData menu

Creating the Correction FactorAs you have seen in this section, the Vector Header record and its associated Channel Header recordscontain all the info

Strany 135 - Grid menu

Measurement (Data) ResultsSome analyzers save a complete set of measurement results. Others save an individual trace.For example, when you save data f

Strany 136

Locating a Vector of Y-axis DataWhen an SDF file defines just one trace, the Y-axis Data record contains a single vector of Y-axis data.However, when

Strany 137 - Xscale menu

Here are the two ways the vectors could be organized in the Y-axis data block:scan_type is Scan (1): scan_type is Depth (0):S0.D0. V0 S0.D0. V0V1 V1V2

Strany 138 - Xscale Spacing menu

Time Capture DataA time capture data contains long streams of raw time data captured by an instrument. The files containssome or all of the following

Strany 139 - Xscale Type menu

Frequency Correction DataFrequency Correction Data is identified in a time capture file with the following SDF_DATA_HDRattributes:dataType 34 (frequen

Strany 140 - Yscale menu

Tachometer DataTachometer data is identified in a time capture file with the following SDF_DATA_HDR attributes:dataType 37 (tachometer data)ydata_type

Strany 141 - Yscale Type menu

External Trigger DataExternal trigger data is identified in a time capture file with the following SDF_DATA_HDR attributes:dataType 48 (external trigg

Strany 142 - Units menu

Waterfall/Map/MultiSpectrum/Spectrogram DataMany instrument create multiple scans of data and display them as a waterfall, a map, a multispectrum, ora

Strany 143 - Data menu

Bit Meaning when bit is set0row channel overload1column channel overload8questionable data9uncalibrated data15real-time data16digital demodulation syn

Strany 144 - ShowTrace menu

Example FileThe following multi-page illustration shows the contents of a simple measurement file (of theSDF 1.) It defines just one trace. The trace’

Strany 145

stopFreqIndex: 400averageType: 1averageNum: 10pctOverlap: 0.000000E+00measTitle:videoBandWidth: 0.000000E+00SDF_DATA_HDR 0recordType: 12recordSize: 11

Strany 146 - User Entered Graphics

Number of Input Channels (Rows)Another difference between SDF files is the number of input channels. For example, the HP 3566A andHP 3567A are multi-c

Strany 147

00000000SDF_VECTOR_HDR 0recordType: 13recordSize: 18unique_record:−1the_CHANNEL_record[0]: 0the_CHANNEL_record[1]:−1pwrOfChan[0]: 96pwrOfChan[1]: 0SDF

Strany 148 - User Entered Text

02−400000int2engrUnit: 1.000000E-02inputImpedance: 1.000000E+06SDF_YDATA_HDRrecordType: 17recordSize: 20587.688535E-03: 513 real points1.922215E-03: |

Strany 150

CBatch FilesIntroductionThis chapter documents the batch files included with the Standard Data Format Utilities. These files‘’automate’’ some procedur

Strany 151 - Save menu

63_ML.BATConvert all HP 3563A/62A data files on the specified LIF disk drive to PC-MATLAB Mat-file format.Destination is *.MAT where ‘’*’’ is the same

Strany 152

63_MX.BATConvert all HP 3563A/62A data files on the specified LIF disk drive to MATRIXx Mat-file format.Destination is *.MAT where ‘’*’’ is the same n

Strany 153 - SDF Library Functions

63_PLOT.BATPlot all HP 3563A/62A data files on the specified LIF disk drive. Default drive is ‘’b:’’.Syntax 63_PLOT [drive:]@echo offset drv63=%1set d

Strany 154 - The Standard Data Format

63_SDF.BATConvert all HP 3563A/62A data files on the specified LIF disk drive to SDF. Default drive is ‘’b:’’.Syntax 63_SDF.BAT [drive:]@echo offset d

Strany 155

60_ML.BATConvert all HP 3560A data files that are transferred over the RS-232 port to PC-MATLAB Mat-fileformat. The default port is ‘’1’’ (COM1). The

Strany 156 - SdfClose

60_MX.BATConvert all HP 3560A data files that are transferred over the RS-232 port to MATRIXx Mat-file format.The default port is ‘’1’’ (COM1). The de

Strany 157 - of those records from the

Waterfalls and Maps (Scans)Some of the supported analyzers allow you to save waterfalls or maps—a number of spectra. These maybe the waterfall steps f

Strany 158 - SdfMeasHdr

60_PLOT.BATPlot all HP 3560A data files that are transferred over the RS-232 port. The default port is ‘’1’’ (COM1).The default baud rate is ‘’9600’’.

Strany 159 - SdfDataHdr

60_SDF.BATConvert all HP 3560A data files that are transferred over the RS-232 port to SDF. The default port is‘’1’’ (COM1). The default baud rate is

Strany 160 - SdfVectHdr

69_ML.BATConvert all HP 3569A data files that are transferred over the RS-232 port to PC-MATLAB Mat-fileformat. The default port is ‘’1’’ (COM1). The

Strany 161 - SdfChanHdr

69_MX.BATConvert all HP 3569A data files that are transferred over the RS-232 port to MATRIXx Mat-file format.The default port is ‘’1’’ (COM1). The de

Strany 162 - SdfScanStruct

69_PLOT.BATPlot all HP 3569A data files that are transferred over the RS-232 port. The default port is ‘’1’’ (COM1).The default baud rate is ‘’9600’’.

Strany 163 - SdfScanBig

69_SDF.BATConvert all HP 3569A data files that are transferred over the RS-232 port to SDF. The default port is‘’1’’ (COM1). The default baud rate is

Strany 164 - SdfScanVar

IB63_ML.BATUpload HP 3563A/62A active trace via HP-IB and convert it to PC-MATLAB Mat-file format.Syntax IB63_ML.BAT [filename]@echo offset file63=%1i

Strany 165 - SdfScansUsed

IB63_MX.BATUpload HP 3563A/62A active trace via HP-IB and convert it to MATRIXx Mat-file format.Syntax IB63_MX.BAT [filename]@echo offset file63=%1if

Strany 166 - SdfYdata

IB63_PLT.BATUpload HP 3563A/62A active trace via HP-IB and plot it.Syntax IB63_PLT@echo offset file63=HP3563hpib63 %file63%.63 /oviewdata %file63%.63

Strany 167 - DataType Conversion performed

IB63_SDF.BATUpload HP 3563A/62A active trace via HI-IB and convert it to SDF format.Syntax IB63_SDF [filename]@echo offset file63=%1if ‘%file63%’==’’

Strany 168 - SdfYdataWrite

Time Capture (Scans)Some of the supported analyzers allow you to capture long streams of raw time data and then later replaythe data into a measuremen

Strany 170 - SdfScanData

INDEX!60TOSDF 4-563TOSDF 4-7660TOSDF 4-869TOSDF 4-988TOSDF 4-1189TOSDF 4-13AASCII fileconverting to SDF 4-15ASCTOSDF 4-15BbackupLIF disks 3-20batch fi

Strany 171 - SdfTrunc

converting to ASCII 4-59HP894x0Awith Mathcad 8-1Iinitializing LIF directory 3-17installing SDF libraries 1-10installing SDF Utilities 1-10LLIF CHECK 3

Strany 172 - SdfCommentHdr

SdfYdataWrite 6-16SETUP63 4-55SETUP88 4-57SETUP89 4-59signals (Mathcad) 8-1Spectrogram Data B-40Standard Data Format 6-2, B-1Structuredescriptions B-6

Strany 175 - Overview

3File System Conversion (LIF/DOS)DescriptionLIF (Logical Interchange Format) is the Hewlett-Packard standard disk format that may be used toexchange f

Strany 176 - Returns not applicable

Hardware and Software RequirementsUse of these utilities requires an IBM PC compatible with the MS-DOS 2.1 operating system (or greater).If you wish t

Strany 177

Online HelpOnline Help is available for each LIF utility command. For a description of a particular command and alist of its options, simply type the

Strany 178

Printed in USA July 2004NoticeHewlett-Packard to Agilent Technologies TransitionThis manual may contain references to HP or Hewlett-Packard. Please no

Strany 179

LIFMain program for LIF access. The first parameter specifies operation. Each operation has its own set offiles/options. For more help on a particular

Strany 180

LIF SCANChecks the PC for internal floppy drives and for HP-IB interface boards and then looks for disk drives(capable of reading LIF disks) connected

Strany 181 - Examples

Discussion‘’702:’’ identifies a disk drive at address 2 and unit 0 connected to an HP card at select code 7. If both anHP card and an National Instrum

Strany 182

LIF CHKVerifies that the disk inserted in the specified drive is fully readable by the LIF program. This serves twofunctions: first, to verify that th

Strany 183 - Introduction

LIF LSLists the contents of the LIF directory contained on a designated drive. All files are listed in the orderthat they are contained on the disk.Sy

Strany 184

ExampleList directory in long format:LIF LS 702: /LRoute directory listing to a file in your home directory:LIF LS 702: /A > FILELISTDiscussionHP 3

Strany 185 - Loading a File into PC-MATLAB

LIF CPCopies a LIF file to a DOS file, a DOS file to a LIF file, or a LIF file to another LIF file. <sfile> is thesource file name and <dfile

Strany 186 - Loading a File into MATRIXx

ExampleLIF to DOS copy from an external drive to your current PC directory:LIF CP 702:DAFREQ DSK_FREQDOS to LIF copy from home directory to external d

Strany 187 - Standard Data Format (SDF)

If a directory is specified as a destination, then a file with the same name as the source file will be created.If only a directory is specified as a

Strany 188 - Records—the Basic SDF Units

File System Conversion (LIF/DOS)LIF CP3-13

Strany 190

Example 1Copy all the DOS files in the directory \DOSdir to the LIF disk at 702:LIF CP a:\DOSdir 702:Example 2Copy all the DOS files with the suffix ‘

Strany 191 - Special Fields in a Record

LIF RMRemoves (deletes) the specified file from the LIF directory.SyntaxLIFRM<file>[/U][/N][/F][/W]orLIF DEL <file> [/U] [/N] [/F] [/W]Opt

Strany 192

DiscussionWhen you type in the name of a file (except where /N is specified), this utility automatically converts avalid LIF file name as follows:• Sh

Strany 193

LIF INITThe command LIF INIT optionally formats and initializes a new directory on a LIF disk.SyntaxLIF INIT <d>:[name] [/U] [/F] [/O:<opt>

Strany 194

ExampleFormat a disk in an external drive:LIF INIT 702:MIKE /FFormatasingle-sideddiskonanHP9122D:LIF INIT 702:HALL /F /O:4 /I:2DiscussionThe [name] sp

Strany 195

HP 9122D Formatting OptionsIf you have an HP 9122D and wish to use it to format and initialize disks with the LIF program, makesure you use the follow

Strany 196

LIFDIAGLIFDIAG contains diagnostic functions useful for recovering data from damaged/corrupted disks and toperform fast full LIF to LIF disk backups.T

Strany 197

EDIT Menu:Edit: Read Next Prev Find Modify Write Log Help QuitHot Keys: RNPFMWOHQRead Read/display the logical sector specified. Logical sectors are a

Strany 198

Log Specifies a log file where the displayed hex/ASCII sector contents will be appendedto. For example, ‘’prn’’ specifies the printer.Help Display com

Strany 199

BACKUP Menu:Backup: Go Source Dest Length Errors Log Help QuitHot Keys: GS DLEOHQGo Start the backup. If the source and destination disks are the same

Strany 200

TABLE OF CONTENTSCHAPTER 1: General InformationConvertingFilesBetweenLIFFormatandDOSFormat ...1-4README.TXT ...

Strany 201

Error MessagesCannot formatinternal diskThe internal disks on the PC cannot be formatted by LIF INIT. Use anHP-IB disk drive to format your disks, if

Strany 202

Disk timeout The external disk drive did not respond in the time allowed. This canoccur if no disk drive is at the specified address, the disk is notc

Strany 203

Not a valid LIFfile systemThe disk does not contain a valid LIF volume header. Check your disk,it is either a DOS disk, or the disk is corrupt.Notaval

Strany 204

4Sharing Data Between AnalyzersIntroductionThe Standard Data Format Utilities are programs that translate data files from the HP 35665A,HP 3560A, HP 3

Strany 205

The utilities are as follows:60TOSDF Convert an HP 3560A data file to an SDF data file.63TCSDF Convert the data portion of a binary capture/throughput

Strany 206 - double unit is volts

SDFTO63 Convert a single measurement result from an SDF data file to an HP 3563A (orHP 3562A) data file.SDFTOASC Convert an SDF data file to an ASCII

Strany 207

Hardware and Software RequirementsUse of these utilities requires an IBM PC compatible with the MS-DOS 2.1 operating system(or greater).HP 3563A/3562A

Strany 208

60TOSDFConvert data from the HP 3560A source data file and put results in the destination SDF file. Thedestination SDF filename is chosen based on the

Strany 209

63TCSDFConvert the data portion of a binary capture/throughput file from the HP 3563A (or HP 3562A) to SDFtime capture format (16-bit integer data). T

Strany 210

63TOSDFConvert an HP 3563A (or HP 3562A) data file <sfile> to an SDF data file and outputs to <dfile>.HP 3563A/62A data files on a LIF fil

Strany 211

60TOSDF ...4-563TCSDF...4-663TOSDF ...

Strany 212

660TOSDFExtract data from an HP 35660A data file <sfile> and put results in the SDF data file <dfile>.Syntax 660TOSDF <sfile> <df

Strany 213 - Reconstructing a Trace

69TOSDFConvert data from the HP 3569A source data file and put results in the destination SDF file. If [dfile] isnot specified, the destination SDF fi

Strany 214

ExampleTransfer an HP 3569A data file (which is in Intel Hex-32 format) to a file (FREQ.X32) on a personalcomputer using the RS-232 port. Convert the

Strany 215 - (yIsComplex)

88TOSDFConverts an HP 3588A data file <sfile> to an SDF data file and outputs to <dfile>. An HP 3588A setupstate file <hfile> can be

Strany 216 - Correcting Y-axis Data

DiscussionWhen using the /F option, the setup state file <hfile> must contain the analyzer state information thatrepresents the setup whenever t

Strany 217

89TOSDFConverts an HP 3589A data file <sfile> to an SDF data file and outputs to <dfile>. An HP 3589A setupstate file <hfile> can be

Strany 218

DiscussionWhen using the /F option, the setup state file <hfile> must contain the analyzer state information thatrepresents the setup whenever t

Strany 219

ASCTOSDFConvert the source file to the destination file and place the result in the destination file. The followingoptions are only valid when used wi

Strany 220

/B:<blksize> Block size. Use this when the header type is Time. The default is the number ofpoints in the file./L:<lines> Frequency lines.

Strany 221

BINTOX32Convert data from the HP 3569A source binary file and put the results in the destination Intel Hex-32 datafile.Syntax BINTOX32 <sfile> &

Strany 222 - +(channelScale

Filemenu(ifTypeisASCII) ... 5-10Displaymenu... 5-11Activemenu ...

Strany 223 - Compressed Time Data

DFDATA63Converts the data portion of a binary capture/throughput file (containing digital filter time data) from theHP 3563A (or HP 3562A) to a PC-MAT

Strany 224

Example 1Convert up to 4096 points of your file (GLITCH) to a PC-MATLAB file (GLITCH.MAT); includesX-axis data points. Note the PC-MATLAB searches for

Strany 225 - External Trigger Data

DFHDR63Converts the header portion of a binary capture/throughput file <sfile> (containing digital filter data) fromthe HP 3563A (or HP 3562A) t

Strany 226 - Scan variable Description

ExampleAfter copying the capture/throughput file to your PC,using the LIF CP command (LIF CP 702:CSGLITCHGLITCH), type:DFHDR63 GLITCH GLITCH.ASCThe fi

Strany 227 - Bit Meaning when bit is set

DOWNLOADTransfer data over the personal computer’s RS-232 port and place it in the destination file.Syntax DOWNLOAD <dfile> [/U] [/O] [/B:<ba

Strany 228 - Example File

HEADER63Converts the data header portion of a binary data file <sfile> from the HP 3563A (or HP 3562A) to anASCII form [dfile]. Refer to the HP

Strany 229

ExampleAfter copying the data file to your PC, using the LIF CP command (LIF CP 702:DAFREQ FREQ1), type:HEADER63 FREQ1 FREQ1.ASC /L:0The file FREQ1.AS

Strany 230

HPIB63Transfer the active trace data from an HP 3562A/63A over the personal computer’s HP-IB and place it inthe destination file. Use 63TOSDF.EXE to c

Strany 231

REPEATRepeatedly calls the specified program, varying the file name (with wild cards) and the destination filename, or all the results/rows/columns/sc

Strany 232

ExampleTo convert all the scans in MAP.DAT to ASCII and put each scan in a different file (e.g. 0.asc,1.asc, etc.):REPEAT SDFTOASC /S:* MAP.DAT (#.ASC

Strany 233

SdfCommentHdr... 6-20SdfCommentRead ... 6-21SdfCommentWrite...

Strany 234 - Syntax 63_ML [drive:]

SDFEDITEdit (change) header fields in an SDF file. Fields are not case sensitive and may be abbreviated. Multiplefields and Multiple SDF header types

Strany 235 - Syntax 63_MX [drive:]

ExampleTo change the point and/or direction on an already existing SDF file, see the following SDFEDITexample:To change the point number for channel 0

Strany 236 - Syntax 63_PLOT [drive:]

SDFPRINTConverts the contents of the input SDF file <sfile> to ASCII and prints all or portions of it. Either theSDF record headers (default) an

Strany 237 - Syntax 63_SDF.BAT [drive:]

/C:<col> Print data only for the specified column. If not specified, then all columns in<sfile> will be selected./P:<flag> If <fl

Strany 238 - 60_ML.BAT

To print all the headers to this SDF file type:SDFPRINT SINEARB.DATTo print only the data for ‘’Normalized Variance’’ channel 2 (row 0 is channel 1, r

Strany 239 - 60_MX.BAT

SDF_COMMENT_HDR Contains comments about the data.XDATA Contains the X-axis data needed to reconstruct a trace. This can be usedby Swept Sine or Order

Strany 240 - 60_PLOT.BAT

SDFTEXTModify/print SDF file <sfile> comment text data. If [cfile] is specified then the comment in the SDF fileis modified, otherwise the comme

Strany 241 - 60_SDF.BAT

SDFTO58Convert SDF file <sfile> to the Data Set 58 format. The result is placed in an output file [dfile] ifspecified; otherwise the result is s

Strany 242 - 69_ML.BAT

SDFTO63Converts a single measurement result from an SDF data file <sfile> to an HP 3563A (or HP 3562A) datafile <dfile>. HP 3563A/62A data

Strany 243 - 69_MX.BAT

Example 1To find out what results are available in an SDF measurement results file from HP 3566A/67A swept sinemeasurement:SDFTO63 /I SINEARB.DATThis

Strany 244 - 69_PLOT.BAT

60_MX.BAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-760_PLOT.BAT . . . . . . . . . . . . . . . . . . . . .

Strany 245 - 69_SDF.BAT

Example 2To convert the ‘’Normalized Variance’’ channel 2 (row 0 is channel 1, row 1 is channel 2) to HP 3563Aformat, perform the following steps:1. C

Strany 246 - Syntax IB63_ML.BAT [filename]

SDFTOASCConvert an SDF data file to an ASCII data file and place the result in the destination file ( if it is entered).Otherwise view the result on t

Strany 247 - Syntax IB63_MX.BAT [filename]

/R:<row>[-<rowEnd>][,C]Select data for the specified row range. The default is 0. If ‘’C’’ is specified, thenthe row data will be arranged

Strany 248 - Syntax IB63_PLT

Example 4Convert the complex data to dB, phase (instead of the default real, imaginary), and phase isin radians.SDFTOASC FRF.DAT FRF.TXT /T:D,P /Y:AEx

Strany 249 - Syntax IB63_SDF [filename]

SDFTOBINConvert the source SDF file to the destination binary file. The binary data has the bytes swapped in thesame direction as the rest of the DOS

Strany 250

/G:<dBRef>] Magnitude value used as a reference for dB type of coordinates. If /G with noparameter, then default is 20E−6 (dBSPL)./D:<data>

Strany 251

SDFTOMLConverts data from an SDF format file to the format used in the PC-MATLAB program. The created fileor files have the suffix ‘’.MAT’’ if no dest

Strany 252

/S:<scans> Extract data only for the specified data scans (default all scans). For example: /S:0means scan 0 only, /S:0-4 means scans 0 through

Strany 253

SDFTOMXConverts data from the SDF format to the format used in the MATRIXx program. The created file orfiles have the suffix ‘’.MAT’’ if no destinatio

Strany 254

/S:<scans> Extract data only for the specified data scans (default all scans). For example: /S:0means scan 0 only, /S:0-4 means scans 0 through

Komentáře k této Příručce

Žádné komentáře