Agilent Technologies 4294A Programming Manual page 108

Precision impedance analyzer
Hide thumbs Also See for 4294A:
Table of Contents

Advertisement

Processing Measurement Results
Analyzing Measurement Results
information on the parameters you can analyze.
Example 7-4 shows a sample program for ceramic resonator parameter analysis using the
"OUTPCERR?" command. This program is available under the filename "ana_com.bas"
on the sample program disk.
This program performs a sweep once, uses the "OUTPCERR?" command to analyze
ceramic resonator parameters, and reads and displays the analysis results.
Lines 30 to 70
Lines 90 to 120
Lines 140 to 180
Lines 190 to 250
Lines 270 to 290
Line 300 to 310
Lines 330 to 380
Example 7-4
Ceramic Resonator Parameter Analysis
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190
200
210
220
230
240
250
108
Identifies the external controller and Instrument BASIC and sets the
GPIB address.
Assigns the sweep center value, the sweep span value, the trace
selected for analysis, and the peak threshold the corresponding
variables Cent, Span, Ana_trc$, and Thrr, respectively.
Resets the Agilent 4294A, sets impedance amplitude and phase as
measurement parameters, sets the sweep center value and the sweep
span value, respectively, to Cent and Span, and specifies log Y-axis
format as display format.
Performs a sweep once and then performs the auto scale to
automatically set the scale parameters so that the waveforms fit on the
screen.
Specifies the entire sweep range as the analysis range and sets the trace
selected for analysis and the peak threshold to "Ana_trc$" and "Thrr,"
respectively.
Executes the "OUTPCERR?" command to read analyzed parameters.
Displays the analysis results.
DIM Ana_trc$[9],Buff$[9]
REAL Cent,Span,Thrr,Zr,Fr,Za,Fa,R1,R2,R3
IF SYSTEM$("SYSTEM ID")="HP4294A" THEN
ASSIGN @Hp4294a TO 800
ELSE
ASSIGN @Hp4294a TO 717
END IF
!
Cent=6.0E+7
Span=2.0E+4
Ana_trc$="DATA"
Thrr=2.0
!
OUTPUT @Hp4294a;"PRES"
OUTPUT @Hp4294a;"MEAS IMPH"
OUTPUT @Hp4294a;"CENT ";Cent
OUTPUT @Hp4294a;"SPAN ";Span
OUTPUT @Hp4294a;"FMT LOGY"
OUTPUT @Hp4294a;"SING"
OUTPUT @Hp4294a;"*OPC?"
ENTER @Hp4294a;Buff$
OUTPUT @Hp4294a;"TRAC A"
OUTPUT @Hp4294a;"AUTO"
OUTPUT @Hp4294a;"TRAC B"
OUTPUT @Hp4294a;"AUTO"
Chapter 7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents