Section 7 Sample Programs
7-54
(2) Digital TX all measure item measurement
<Example 4.2> Set the measurement items and perform Digital TX all measure
item measurement based on the set items.
1) Project file: SMPL402.MAK
1 FORM4Ø2.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 SETALL.BAS This is the code file of the measurement
item setting module.
6 SGOUT.BAS This is the code file of the SG output con-
trol module in paragraph 7.2.1 (2).
7 TXALLØ1.BAS This is the code file of the digital TX all
item measurement module.
8 VBIB.BAS
9 NIGLOBAL.BAS
1Ø ProjWinSize=87,394,243,136
11 ProjWinShow=2
2) Form file: FORM402.FRM
The following procedures are added and described.
1 Sub Form4Ø2_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 setting routine for measurement item.
5 Call SG_out(1)' Calls test signal output routine.
6 Call TX_all_measure'
Calls digital TX all item measurement routine.
7 Call SG_out(Ø)' Calls test signal output routine.
8 End Sub
3) Code module file: TXALL01.BAS
1 '-------------------------------------
2 ' MT88Ø1C GPIB Sample Program
3 ' TX All Measurement
4 '-------------------------------------
5'
6'
7'