Agilent Technologies 4294A Programming Manual page 99

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

Advertisement

Lines 360 to 430
Example 7-1
Searching for Peaks Using the Marker
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190
200
210
220
230
240
250
260
270
280
290
300
310
320
330
340
350
360
370
380
390
400
410
420
430
440
Chapter 7
Reading Measurement Data at Specific Measurement Points (Using the
for the peak and moves the marker to that negative peak, and positions
submarker 2 at the peak.
Reads and displays submarker-specified measurement parameter
values.
DIM Sear_min$[9],Sear_max$[9],Act_trc$[9],Buff$[9]
REAL P_peak,N_peak
IF SYSTEM$("SYSTEM ID")="HP4294A" THEN
ASSIGN @Hp4294a TO 800
ELSE
ASSIGN @Hp4294a TO 717
END IF
!
Sear_min$="10MHZ"
Sear_max$="100MHZ"
Act_trc$="A"
!
OUTPUT @Hp4294a;"PRES"
OUTPUT @Hp4294a;"SING"
OUTPUT @Hp4294a;"*OPC?"
ENTER @Hp4294a;Buff$
!
OUTPUT @Hp4294a;"TRAC "&Act_trc$
OUTPUT @Hp4294a;"AUTO"
!
OUTPUT @Hp4294a;"MKR ON"
OUTPUT @Hp4294a;"PARS ON"
OUTPUT @Hp4294a;"SEARMIN "&Sear_min$
OUTPUT @Hp4294a;"SEARMAX "&Sear_max$
!
OUTPUT @Hp4294a;"PKDLTX 1MHZ"
OUTPUT @Hp4294a;"PKDLTY 0.1"
OUTPUT @Hp4294a;"PKPOL POS"
OUTPUT @Hp4294a;"SEAM PEAK"
OUTPUT @Hp4294a;"SMKR1 ON"
!
OUTPUT @Hp4294a;"PKPOL NEG"
OUTPUT @Hp4294a;"SEAM PEAK"
OUTPUT @Hp4294a;"SMKR2 ON"
!
OUTPUT @Hp4294a;"SMKRVAL1?"
ENTER @Hp4294a;P_peak
OUTPUT @Hp4294a;"SMKRVAL2?"
ENTER @Hp4294a;N_peak
!
PRINT "Search Range: "&Sear_min$&" - "&Sear_max$
PRINT "Positive Peak: ";P_peak;"[ohm]"
PRINT "Negative Peak: ";N_peak;"[ohm]"
END
Processing Measurement Results
Marker Function)
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents