Agilent Technologies 4288A Programming Manual page 35

1khz/1mhz capacitance meter
Table of Contents

Advertisement

Lines 580 to 640
Lines 650 to 710
Line 720
Lines 740 to 750
Lines 760 to 810
Line 830
Example 3-1
Setting up measurement conditions and display (setup.bas)
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
Chapter 3
Setting Up Measurement Conditions and Display
If Dev_mode_pri$ is "OFF," specifies the deviation measurement
mode for the primary parameter as OFF. Otherwise, specifies the
deviation measurement mode for the primary parameter as ON and
specifies the deviation display method and the deviation reference
value as Dev_mode_pri$ and Dev_ref_pri, respectively.
If Dev_mode_sec$ is "OFF," specifies the deviation measurement
mode for the secondary parameter as OFF. Otherwise, specifies the
deviation measurement mode for the secondary parameter as ON and
specifies the deviation display method and the deviation reference
value as Dev_mode_pri$ and Dev_ref_sec, respectively.
Specifies the page number of the instrument settings display area as
Page_no.
Specifies the ON/OFF state of the current monitor and that of the
voltage monitor for the measurement signal level as I_mon$ and
V_mon$, respectively.
If Beep_mode$ is "OFF," specifies the beep output as OFF. Otherwise,
specifies it as ON and the beep mode as Beep_mode$.
Saves the instrument settings into the built-in nonvolatile memory
(save location number: Save_no).
DIM Pri$[9],Sec$[9],Range$[9],Meas_time$[9]
DIM Disp$[9],Fix_msd$[9],Dev_mode_pri$[9],Dev_mode_sec$[9]
DIM I_mon$[9],V_mon$[9],Beep_mode$[9]
REAL Freq,Level,Delay,Dev_ref_pri,Dev_ref_sec
INTEGER Cable,Ave,Digit,Page_no,Save_no
!
ASSIGN @Agt4288a TO 717
!
Pri$="CP"
Sec$="D"
Freq=1000
Level=.5
Range$="AUTO"
Meas_time$="LONG"
Cable=0
Ave=4
Delay=.001
!
Disp$="ON"
Digit=5
Fix_msd$="OFF"
Dev_mode_pri$="PCNT"
Dev_ref_pri=1.0E-8
Dev_mode_sec$="OFF"
Dev_ref_sec=0
Page_no=4
!
I_mon$="OFF"
V_mon$="ON"
Beep_mode$="FAIL"
Save_no=9
!
OUTPUT @Agt4288a;":SYST:PRES"
OUTPUT @Agt4288a;":CALC1:FORM "&Pri$
OUTPUT @Agt4288a;":CALC2:FORM "&Sec$
! Meas. Parameter
Primary
!
Secondary: D
! Test Signal
Frequency: 1 kHz
!
Level
! Meas. Range
! Meas. Time Mode
! Cable Length
! Averaging Factor
! Trigger Delay Time
! Display
! Digit
! Fixed Decimal Point Display : Off
! Deviation
[Pri]
Mode
!
Measurement
Ref.Value: 10 nF
!
[Sec]
Mode
!
Ref.Value: 0
! Meas. Setting Page Number
! Test Signal
Current
!
Level Monitor
Voltage
! Beep mode
! Save Location Number
Sample Program
: Cp
: 500 mV
: Auto
: Long
: 0 m
: 4
: 1 ms
: On
: 5
: Percent
: Off
: 4
: Off
: On
: Fail
: 9
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents