Agilent Technologies 4294A Programming Manual page 218

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

Advertisement

Application Sample Programs
Measuring Magnetic Materials
Lines 2750 to 2880 Processing when the softkey labeled as "Cole-cole Plot" is pressed
Lines 2900 to 3000 Processing when the softkey labeled as "Re-measure" is pressed.
Lines 3020 to 3120 Processing when the softkey labeled as "Quit" is pressed.
Example 13-4
Magnetic Material (Relative Permeability) Measurement
10
20
30
40
50
60
70
80
90
100
110
120
130
140 Constants:
150
160
170 Disp_proc: !
180
190
200
210
220
230
240
250 Adjustment: !
260
270
280 Meas:!
290
300
310
320
330
340
350 Adapter_setup: !
360
370
380
390
400
410
420
430
440
450
460
470
480
490
500
510
520
530
540
550 Phase_meas_wait: GOTO Phase_meas_wait
218
Displays the COLE-COLE plot on the complex plane.
!*************************************************
!* 4294A + 16454A Permeability Measurement
!* Instrument BASIC Sample Program
!*************************************************
DIM R_data(1:801,1:2),X_data(1:801,1:2),Freq(1:801)
DIM Urr_data(1:801,1:2),Uri_data(1:801,1:2),Urm_data(1:801,1:2)
DIM Cole_data(1:801,1:2),Tan_d_data(1:801,1:2)
INTEGER Result
!
ASSIGN @Agt4294a TO 800
Scode=8
OUTPUT @Agt4294a;"DISA HIHB"
OUTPUT @Agt4294a;"HOLD"
!
U0=1.257E-6
!########################################## Main
CLEAR SCREEN
PRINT "4294A + 16454A Permeability Measurement Program"
PRINT ""
PRINT "[ ]
Perform the adapter setup (7mm)"
PRINT "[ ]
Perform fixture compensation"
PRINT "x: done, s: skip."
!
GOSUB Adapter_setup
GOSUB Fixt_compen
GOSUB Input_size
GOSUB Sweep
GOSUB Calc
GOTO Display
!
!########################################## Sub-routines
OUTPUT @Agt4294a;"E4TP APC7"
DISP "Perform the adapter setup?
INPUT "",Ans
IF Ans=1 THEN
PRINT TABXY(2,3);"s]
RETURN
END IF
F_adapt_setup=1
OUTPUT @Agt4294a;"PRES"
PRINT TABXY(5,3);"->"
OUTPUT @Agt4294a;"ESNB 256; *SRE 4"
!
OUTPUT @Agt4294a;"*CLS"
ON INTR Scode GOTO Phase_meas_end
ENABLE INTR Scode;2
DISP "Connect OPEN (0S) to the 7mm port and press 'Continue'."
PAUSE
DISP "Now measuring PHASE data..."
OUTPUT @Agt4294a;"ECALP"
0:Yes, 1:Skip";
"
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents