7-53
7.2.5 Digital TX all measure item measurement, AF measurement
This paragraph describes examples of the programs for digital TX all measure item
measurement and AF signal measurement.
(1) Setting the measurement items
<Example 4.1>
Set the measurement items of the digital TX all measure item measurement.
1) Project file: SMPL401.MAK
1 FORM4Ø1.FRM
2 INITØØ1.BAS Uses the code file of the initialization mod-
ule in paragraph 7.2.2.
3 RESP01.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 SETALL.BAS This is the code file of the measurement
item setting module.
6 VBIB.BAS
7 NIGLOBAL.BAS
8 ProjWinSize=87,394,243,136
9 ProjWinShow=2
2) Form File: FORM401.FRM
The following procedures are added and described.
1 Sub Form4Ø1_click ()
2 Call initial_gpib' Calls GPIB initialization routine.
3
Call Set_TX_parameter'
Calls TX parameter setting routine.
4 Call Sel_TX_all' Calls measurement items setting routine.
5 End Sub
3) Code module file: SETALL.BAS
1 '-------------------------------------
2 ' MT88Ø1C GPIB Sample Program
3 ' Select TX All Measure Item
4 '-------------------------------------
5'
6'
7'
8 Sub Sel_TX_all ()
9'
10 Call ibwrt(Ans%, "MEAS TXITEM")'
Moves to Select All Measure Item screen.
11 Call ibwrt(Ans%, "AITEM STD")'
Sets the mode to Standard mode.
12
Call ibwrt(Ans%, "MTEMPPASS ON")'
Judges Template.
13 Call ibwrt(Ans%, "LTEMPPASS BOTH")'
Selects Template On & Off.
14 End Sub
Shift to the Select All Measure Item screen in line 10. First, set the default param-
eter “Standard” of the MT8801C in line 11. Next, add or change required items in
lines 12 and 13.
7.2 Sample Program (Example of Program Using Visual Basic)