
Chapter 6
89
Reading/Writing Measurement Data
Reading/Writing Data
6. Reading/W
riting
2
. Cha
p
te
r T
itle
3
. Chap
te
r T
itle
4
. Chap
te
r T
itle
5. Chap
te
r T
itle
Me
asur
eme
n
t Da
ta
590 PRINT "LEVEL MONITOR RESULT"
600 PRINT "Freq[Hz] OscV[V] OscI[A] DC V[V]"
610 FOR I=1 TO 11
620 PRINT USING Img$;Swp_prm(I),Mon_osc_v(I),Mon_osc_i(I),Mon_bias(
I)
630 NEXT I
640 END
Reading limit test results
To read limit test results, use the following commands:
•
“OUTPFAIP?” on page 380
•
“OUTPLIML?” on page 383
•
“OUTPLIMF?” on page 383
•
“OUTPLIMM?” on page 384
Example 6-3 shows a sample program for reading limit test results. This program is
available under the filename of “lim_test.bas” on the sample program disk.
This program creates a limit line table, turns ON the limit test function, performs sweep
once, and reads and displays those pieces of measurement data found to be unacceptable.
Lines 100 to 140 Identifies the external controller and Instrument BASIC and sets the
GPIB address.
Lines 150 to 220 Substitutes the measurement parameter selection, the sweep start
point, the sweep stop point, the number of measurement points, the
maximum and minimum values of screen for trace A, and the
maximum and minimum values of screen for trace B into the
corresponding variables Meas_para$, Star, Stop, Nop, Top_a, Btm_a,
Top_b, and Btm_b, respectively.
Lines 240 to 410 Substitutes the start point, the upper and lower limits for start point,
the stop point, and the upper and lower limits for stop point for each of
the limit line table segments into the corresponding variables
Lim_star_a(*), U_lim_star_a(*), L_lim_star_a(*), Lim_stop_a(*),
U_lim_stop_a(*), and L_lim_stop_a(*), respectively.
Lines 430 to 600 Substitutes the parameters of the limit line table for trace B into the
corresponding variables Lim_star_b(*), U_lim_star_b(*),
L_lim_star_b(*), Lim_stop_b(*), U_lim_stop_b(*), and
L_lim_stop_b(*) respectively.
Lines 620 to 670 Resets the Agilent 4294A and then sets the measurement parameters,
the sweep start point, the sweep stop point, and the number of
measurement points to the corresponding variables Meas_para$, Star,
Stop, and Nop and enables traces A and B to be displayed on separate
screens.
Lines 690 to 710 Specifies trace A as the active trace and sets the maximum and
minimum value of the screen for trace A to Top_a and Btm_a,
respectively.
Lines 720 to 850 Creates a limit line table for trace A and turns ON the limit test
function.
Summary of Contents for 4294A
Page 4: ...4 ...
Page 18: ...18 Contents ...
Page 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Page 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Page 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Page 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Page 246: ...246 13 Application Sample Programs File Transfer Function ...
Page 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Page 507: ...Index Index 507 Index ...
Page 508: ...508 Index Index ...
Page 509: ...Index Index 509 Index ...
Page 510: ...510 Index Index ...
Page 511: ...Index Index 511 Index ...
Page 512: ...512 Index Index ...
Page 513: ...Index Index 513 Index ...
Page 514: ...514 Index Index ...
Page 515: ...Index Index 515 Index ...
Page 516: ...516 Index Index ...
Page 517: ...Index Index 517 Index ...
Page 518: ...518 Index Index ...