![Agilent Technologies 4294A Скачать руководство пользователя страница 108](http://html.mh-extra.com/html/agilent-technologies/4294a/4294a_programming-manual_2867882108.webp)
108
Chapter 7
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
Identifies the external controller and Instrument BASIC and sets the
GPIB address.
Lines 90 to 120
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.
Lines 140 to 180 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.
Lines 190 to 250 Performs a sweep once and then performs the auto scale to
automatically set the scale parameters so that the waveforms fit on the
screen.
Lines 270 to 290 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.
Line 300 to 310
Executes the “OUTPCERR?” command to read analyzed parameters.
Lines 330 to 380 Displays the analysis results.
Example 7-4
Ceramic Resonator Parameter Analysis
10 DIM Ana_trc$[9],Buff$[9]
20 REAL Cent,Span,Thrr,Zr,Fr,Za,Fa,R1,R2,R3
30 IF SYSTEM$("SYSTEM ID")="HP4294A" THEN
40 ASSIGN @Hp4294a TO 800
50 ELSE
60 ASSIGN @Hp4294a TO 717
70 END IF
80 !
90 Cent=6.0E+7
100 Span=2.0E+4
110 Ana_trc$="DATA"
120 Thrr=2.0
130 !
140 OUTPUT @Hp4294a;"PRES"
150 OUTPUT @Hp4294a;"MEAS IMPH"
160 OUTPUT @Hp4294a;"CENT ";Cent
170 OUTPUT @Hp4294a;"SPAN ";Span
180 OUTPUT @Hp4294a;"FMT LOGY"
190 OUTPUT @Hp4294a;"SING"
200 OUTPUT @Hp4294a;"*OPC?"
210 ENTER @Hp4294a;Buff$
220 OUTPUT @Hp4294a;"TRAC A"
230 OUTPUT @Hp4294a;"AUTO"
240 OUTPUT @Hp4294a;"TRAC B"
250 OUTPUT @Hp4294a;"AUTO"
Содержание 4294A
Страница 4: ...4 ...
Страница 18: ...18 Contents ...
Страница 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Страница 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Страница 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Страница 130: ...130 Chapter9 Communication with External Equipment Using the I O Ports Sample Program to Use the I O Port ...
Страница 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Страница 246: ...246 13 Application Sample Programs File Transfer Function ...
Страница 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Страница 507: ...Index Index 507 Index ...
Страница 508: ...508 Index Index ...
Страница 509: ...Index Index 509 Index ...
Страница 510: ...510 Index Index ...
Страница 511: ...Index Index 511 Index ...
Страница 512: ...512 Index Index ...
Страница 513: ...Index Index 513 Index ...
Страница 514: ...514 Index Index ...
Страница 515: ...Index Index 515 Index ...
Страница 516: ...516 Index Index ...
Страница 517: ...Index Index 517 Index ...
Страница 518: ...518 Index Index ...