7-11
(2) Executing modulation analysis and reading the result of analysis
<Example 2.2> Executing modulation analysis and reading the result of measur-
ing the vector error.
1) Project file: SMPL202.MAK
1 FORM2Ø2.FRM
2 INITØØ1.BAS Use the code file of the initialization mod-
ule described in paragraph 7.2.2.
3 RESPØ1.BAS Use the code file of the response reading
module described in paragraph 7.2.1 (2).
4 SETTX.BAS Indicates the code file of the parameter
setup module for TX measurement de-
scribed in paragraph 7.2.3 (1).
5 SGOUT.BAS Indicates the code file of the SG output
control module described in paragraph
7.2.1 (2).
6 MODANAØ1.BAS Indicates the code file of the modulation
analysis module.
7 VBIB.BAS
8 NIGLOBAL.BAS
9 ProjWinSize=87,394,243,136
1Ø ProjWinShow=2
2) Form file: FORM202.FRM
Write the following additional procedures:
1 Sub Form_click ()
2 Call initial_gpib' Calls the GPIB initialization routine.
3 Call Set_TX_parameter'
Calls the TX parameter setup routine.
4 Call SG_out(1)' Calls the test signal output routine.
5 Call mod_analysis1' Calls the modulation analysis routine.
6 Call SG_out(Ø)' Calls the test signal output routine.
7 End Sub
3) Code module file: MODANA01.BAS
1 '----------------------------
2 ' MT88Ø1C GPIB Sample Program
3 ' Modulation analysis(1)
4 '----------------------------
5'
6'
7'
8 Sub mod_analysis1 ()
7.2 Sample Program (Example of Program Using Visual Basic)