
224
13
Application Sample Programs
Measurement controlling oscillator level
Measurement controlling oscillator level
Example 13-5 shows a sample program of a measurement by correctly applying specified
test signal level at DUT using the oscillator level monitor function. This program is stored
on the sample program disk as the alc.bas file.
Connect the Agilent 16047E test fixture for lead parts to the Agilent 4294A, and then start
this program. When “Set Open-Connection” appears, make the connection to measure data
for open compensation, and press the
[y]
key and the
[Enter]
key. Then, when
“Set Short-Connection” appears, perform the same operation to measure data for short
compensation.
NOTE
For how to use the 16047E, for example, the connection to measure data for open/short
compensation, refer to its manual.
Then, when “Set DUT, then Push [Enter] key” appears, mount an DUT onto the test
fixture, and then press the
[Enter]
key. A measurement is operated at each measurement
point using the manual sweep function, and the measurement result is displayed (refer to
Figure 13-6). At the each measurement, the oscillator level is controlled to apply the
correct signal level at DUT. After the completion of measurements at all points, “Once
more? [Y]es/[N]o” appears. If you want to measure the capacitor again or another DUT,
press the
[y]
key and the
[Enter]
key to continue the measurement. If you want to finish the
measurement, press a key other than the
[y]
key and the
[Enter]
key.
Lines 80 to 140
Identifies the external controller and Instrument BASIC and sets the
GPIB address and the select code.
Lines 160 to 250 Substitutes the measurement conditions (adapter setting: NONE,
measurement parameter: |Z|-
θ
, sweep type: LOG, sweep start value: 1
kHz, sweep stop value: 10 MHz, Number of measurement points: 21,
trace A display format: logarithmic Y axis, trace B display format:
linear Y axis, oscillator level mode: CURR, test signal level: 1 mA)
into the variables: Adapter$, Meas_para$, Swp_type$, Start, Stop,
Nop, Fmt_a$, Fmt_b$, Power_mode$ and Level, respectively.
Lines 260 to 270 Substitutes the limit of difference between test signal level and its
monitor level (1%), and the maximum number of times to iterate a
setting the oscillator level into the variables: Err_limit and Iteration
(10 times), respectively.
Lines 290 to 300 Sets the adapter selection to Adapter$ and then triggers a reset.
Lines 310 to 350 Sets the measurement parameter to Meas_para$; the sweep type,
Swp_type$; the sweep start point, Start; the sweep stop point, Stop,
respectively.
Lines 390 to 400 Enables bit 8 (calibration/compensation data measurement
completion) in the instrument event status register to use an SRQ and
sets bit 2 in the service request enable register to 1.
Lines 410 to 440 Uses the FNFixt_comp subprogram to measure open/short data. If an
error is detected after each measurement, stops the program. For the
FNFixt_comp subprogram, refer to the description in Example 4-3 on
page 65.
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 ...