7-33
(12) Measurement of adjacent channel leakage power
<Example 2.12> Measuring adjacent channel leakage power
1) Project file: SMPL212.MAK
1 FORM212.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 read
module 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 This is the code file of the SG output con-
trol module in paragraph 7.2.1 (2).
6 ADJCH.BAS This is the code file of the adjacent channel
leakage power measurement module.
7 VBIB.BAS
8 NIGLOBAL.BAS
9 ProjWinSize=87,394,243,136
1Ø ProjWinShow=2
2) Form file: FORM212.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 SG_out(1)' Calls test signal output routine.
5 Call Adj_ch' Calls adjacent channel leakage power mea-
surement routine.
6 Call SG_out(Ø)' Calls test signal output routine.
7 End Sub
3) Code module file: ADJCH.BAS
1 '----------------------------
2 ' MT88Ø1C GPIB Sample Program
3 ' ADJ. CH
4 '----------------------------
5'
6'
7'
8 Sub Adj_ch ()
9 Dim Low9Ø$, Low6Ø$, Low3Ø$, Up3Ø$, Up6Ø$, Up9Ø$
1Ø '
7.2 Sample Program (Example of Program Using Visual Basic)