EasyManua.ls Logo

Anritsu MT8801C - Page 444

Anritsu MT8801C
493 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7-29
(10) Power meter (zero point calibration)
<Example 2.10> Zero point calibration of power meter
1) Project file: SMPL210.MAK
1 FORM21Ø.FRM
2 INITØØ1.BAS Uses the code file of the initialization mod-
ule in paragraph 7.2.2.
3 RESPØ1.BAS Uses the code file of the response reading
module described in paragraph 7.2.1 (2).
4 SETTX.BAS This is the code file of the parameter set-
ting module for TX measurement in para-
graph 7.2.3 (1).
5 SGOUT.BAS Uses the code file of the SG output control
module described in paragraph 7.2.1 (2).
6 ZEROSET.BAS This is the code file for the zero point cali-
bration module.
7 VBIB.BAS
8 NIGLOBAL.BAS
9 ProjWinSize=87,394,243,136
10 ProjWinShow=2
2) Form file: FORM210.FRM
The following procedures are added and described.
1 Sub Form_click ()
2 Call initial_gpib' Calls GPIB initialization routine.
3 Call Set_TX_parameter'
Calls TX parameter setting routine.
4 Call zero_set' Calls zero point calibration routine.
5 End Sub
3) Code module file: ZEROSET.BAS
1 '----------------------------
2 ' MT88Ø1C GPIB Sample Program
3 ' Power meter (zero set)
4 '----------------------------
5'
6'
7'
8 Sub zero_set ()
9 Dim sbuf As String * 4Ø
1Ø Dim Stat%, I%
11 '
12 Call SG_out(Ø)' Sets the SG output to off.
7.2 Sample Program (Example of Program Using Visual Basic)

Table of Contents

Related product manuals