7-57
(3) AF signal measurement
<Example 4.3> Measure the AF signal.
1) Project file: SMPL403.MAK
1 FORM4Ø3.FRM
2 INITØØ1.BAS Uses the code file of the initialization mod-
ule described 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 SETAF.BAS Code file of the setting module of AF
measurement parameters
5 AFMEAS.BAS Code file of the AF measurement module
6 VBIB.BAS
7 NIGLOBAL.BAS
8 ProjWinSize = 87, 394, 243, 136
9 ProjWinShow = 2
2) Form file: FORM403.FRM
The following procedures are added and described.
1 Sub Form_click()
2 Call Initial_gpib' Calls the GPIB initialization routine.
3 Call Set_AF_parameter'
Calls the AF parameter setting routine.
4 Call AF_Measure' Calls the AF measurement routine.
5 End Sub
3) Code module file: SETAF.BAS
1 '----------------------------
2 ' MT88Ø1C GPIB Sample Program
3 ' Set AF Parameters
4 '----------------------------
5'
6'
7'
8 Sub Set_AF_parameter ()
9'
1Ø Call ibwrt(Ans%, "SYS IS136")'
Selects IS-136 measuring system.
11 Call ibwrt(Ans%, "PNLMD TESTER")'
Sets measurement mode to “TX/RX”
tester.
12 '
13 Call ibwrt(Ans%, "MEAS SETCOM")'
Moves to common parameter setting
screen.
7.2 Sample Program (Example of Program Using Visual Basic)