![Agilent Technologies 4294A Скачать руководство пользователя страница 186](http://html.mh-extra.com/html/agilent-technologies/4294a/4294a_programming-manual_2867882186.webp)
186
13
Application Sample Programs
Basic Measurement
Basic Measurement
Example 13-1 shows a sample program of a basic capacitor measurement. This program is
stored on the sample program disk as the bsc_meas.bas file.
This program performs the same measurement described in “Learning basic operations” of
the
Agilent 4249A Operation Manual
. Connect the Agilent 16047E test fixture for lead
parts to the Agilent 4294A, and then start the 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 already discharged
capacitor onto the test fixture, and then press the
[Enter]
key. After the completion of a
single sweep, the self-resonant point is searched for using the marker, and the frequency
and the impedance at that point are displayed. After the display, “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. Figure 13-1 shows an example when
executing this program using Instrument BASIC.
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 parameter: frequency, sweep
type: LOG, sweep start value: 100 Hz, sweep stop value: 100 MHz,
bandwidth setting: 2, trace A display format: logarithmic Y axis, trace
B display format: linear Y axis, trace A/B split display: on) into the
variables: Adapter$, Meas_para$, Swp_para$, Swp_type$, Start, Stop,
Bw$, Fmt_a$, Fmt_b$, and Spl_disp$, respectively.
Lines 290 to 300 Sets the adapter selection to Adapter$ and then triggers a reset.
Lines 310 to 360 Sets the measurement parameter to Meas_para$; the sweep parameter,
Swp_para$; the sweep type, Swp_type$; the sweep start point, Start;
the sweep stop point, Stop; the bandwidth, Bw$, respectively.
Lines 400 to 410 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 420 to 450 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.
Lines 490 to 530 Sets the trace A display format to Fmt_a$; the trace B display format,
Fmt_b$; the trace A/B split display, Spl_disp$, respectively.
Lines 570 to 580 Prompts the user to connect a DUT, and waits for a press of the
[Enter]
key after the connection.
Содержание 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 ...