
Chapter 4
61
Preparing For Accurate Measurement
User Calibration
1. Ch
apter
T
itle
2
. Cha
p
te
r T
itle
3
. Chap
te
r T
itle
4
. Gettin
g Read
y Fo
r
5. Chap
te
r T
itle
Accu
ra
te
M
e
as
ur
em
e
n
t
Example 4-2
Data measurement for user calibration
10 DIM Input_val$[9],Buff$[9],Adapter$[9]
20 REAL Open_g,Open_c,Short_r,Short_l,Load_r,Load_l
30 INTEGER Scode,Err_no
40 CLEAR SCREEN
50 IF SYSTEM$("SYSTEM ID")="HP4294A" THEN
60 ASSIGN @Hp4294a TO 800
70 Scode=8
80 ELSE
90 ASSIGN @Hp4294a TO 717
100 Scode=7
110 END IF
120 Cal_point$="USER"
130 !
140 ! Initial Setting
150 !
160 OUTPUT @Hp4294a;"PRES"
170 OUTPUT @Hp4294a;"*OPC?"
180 ENTER @Hp4294a;Buff$
190 OUTPUT @Hp4294a;"CALP ";Cal_point$
200 !
210 ! Entry Standard Value
220 !
230 CALL Inp_data("Open(G)",Open_g)
240 CALL Inp_data("Open(C)",Open_c)
250 CALL Inp_data("Short(R)",Short_r)
260 CALL Inp_data("Short(L)",Short_l)
270 CALL Inp_data("Load(R)",Load_r)
280 CALL Inp_data("Load(L)",Load_l)
290 OUTPUT @Hp4294a;"DCALOPENG ";Open_g
300 OUTPUT @Hp4294a;"DCALOPENC ";Open_c/1.E-15
310 OUTPUT @Hp4294a;"DCALSHORR ";Short_r
320 OUTPUT @Hp4294a;"DCALSHORL ";Short_l
330 OUTPUT @Hp4294a;"DCALLOADR ";Load_r
340 OUTPUT @Hp4294a;"DCALLOADL ";Load_l
350 !
360 ! Data Measurement
370 !
380 OUTPUT @Hp4294a;"ESNB 256"
390 OUTPUT @Hp4294a;"*SRE 4"
400 !
410 Result=FNUser_cal(@Hp4294a,Scode,"Open")
420 IF Result<>0 THEN Prog_end
430 !
440 Result=FNUser_cal(@Hp4294a,Scode,"Short")
450 IF Result<>0 THEN Prog_end
460 !
470 Result=FNUser_cal(@Hp4294a,Scode,"Load")
480 IF Result<>0 THEN Prog_end
490 !
500 OUTPUT @Hp4294a;"CALDON"
510 OUTPUT @Hp4294a;"*OPC?"
520 ENTER @Hp4294a;Buff$
530 PRINT "All Data Measurement Complete"
540 Prog_end: END
550 !
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 ...