7-9
7.2.3 Transmission (TX) measurement
(1) Setting the TX measurement parameters
<Example 2.1> Setting the TX measurement parameters (carrier frequency, ref-
erence level, and burst type) in the MT8801C.
1) Project file: SMPL201.MAK
1 FORM2Ø1.FRM Specifies the form file.
2 INITØØ1.BAS Use the code file of the initialization mod-
ule described in paragraph 7.2.2.
3 SETTX.BAS Code file of modules for setting the TX
measurement parameters
4 VBIB.BAS
5 NIGLOBAL.BAS
6 ProjWinSize=87,394,243,136
7 ProjWinShow=2
Specify the code module file of the initialization routine described in the previous
paragraph as the code file on line 2.
2) Form file: FORM201.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 setting routine.
4 End Sub
3) Code module file: SETTXBAS
1 '----------------------------
2 ' MT88Ø1C GPIB Sample Program
3 ' Set TX Parameters
4 '----------------------------
5'
6'
7'
8 Sub Set_TX_parameter ()
9'
1Ø Call ibwrt(Ans%, "SYS IS136")'
Selects IS-136 measuring system.
11 Call ibwrt(Ans%, "PNLMD SYSTEM")'
Moves to system setting screen.
12 Call ibwrt(Ans%, "RFINOUT MAIN")'
Uses Main Input/Output connector.
13 Call ibwrt(Ans%, "PNLMD TESTER")'
Sets measurement mode to “TX/RX tester.”
7.2 Sample Program (Example of Program Using Visual Basic)