Agilent Technologies 4294A Programming Manual page 50

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

Advertisement

Setting Measurement Conditions
A Sample Program for Setting Measurement Conditions
Lines 90 to 130
Lines 150 to 180
Lines 220 to 500
Lines 540 to 680
Lines 700 to 710
Lines 750 to 900
Lines 920 to 970
Lines 980 to 990
Lines 1030 to 1070 These lines set the display parameters of trace A.
Lines 1110 to 1180 These lines set the display parameters of trace B.
Lines 1200 to 1230 These lines wait for execution of the commands used to make settings,
Example 3-1
Setting measurement conditions
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190
200
210
50
These lines distinguish between an external controller and the
Instrument BASIC and set the GPIB address.
These lines substitute the settings of adapter selection, measurement
parameters, and limits of dc bias output and of dc bias range to the
variables Adapter$, Meas_para$, Dc_b_max, Dc_b_rng$,
respectively.
These lines substitute the parameter settings necessary for making a
list sweep table to the variables List_star(*), List_stop(*), Nop(*),
Osc_mode$(*), Osc_pow(*), Dc_b_mode$(*), Dc_bias(*),
Bw_fact$(*), and P_ave(*).
These line substitute the display-related parameter settings to the
variables Split$, Accumulate$, Disp_a$, Disp_b$, Fmt_a$, Fmt_b$,
Top_v_a, Btm_v_a, Ref_p_b, Ref_v_b, Scal_b, Phase_unit$, and
Exp_phase$.
These lines reset the Agilent 4294A and then set the adapter selection
to the variable Adapter$.
These lines make a list sweep table.
These lines set the measurement parameter to Meas_para$, limit of dc
bias output to Dc_b_max, dc bias range to Dc_b_rng$, On/Off setting
of dc bias to On and set the type of sweep to List Sweep and the
display format to Segment By Segment.
These lines set the display parameters common to traces A and B.
indicate the message of completion, and end the program.
DIM Adapter$[9],Meas_para$[5],Dc_b_rng$[9],Buff$[9]
DIM Osc_mode$(1:3)[9],Dc_b_mode$(1:3)[9],Bw_fact$(1:3)[9]
DIM Split$[9],Accumulate$[9],Disp_a$[9],Disp_b$[9]
DIM Fmt_a$[9],Fmt_b$[9],Phase_unit$[9],Exp_phase$[9]
REAL List_star(1:3),List_stop(1:3),Osc_pow(1:3),Dc_bias(1:3)
REAL Dc_b_max,Top_v_a,Btm_v_a,Ref_v_b,Scal_b
INTEGER Nop(1:3),P_ave(1:3),Ref_p_b
!
IF SYSTEM$("SYSTEM ID")="HP4294A" THEN
ASSIGN @Hp4294a TO 800
ELSE
ASSIGN @Hp4294a TO 717
END IF
!
Adapter$="OFF"
Meas_para$="IMPH"
Dc_b_max=15.0
Dc_b_rng$="M10"
!
! List Sweep Table
! -- Segment 1 --
Chapter 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents