SECTION 6 GPIB
6-53
6.9 Sample Program
This section explains how to write a program for controlling the MG3641A/MG3642A and MS2651A spectrum
analyzer on the configuration below in the N88-BASIC language of the NEC PC9800 personal computer.
Generate a program that varies the MG3641A/MG3642A output level every 2 dB step in the range from –30 dBm to
0 dBm according to the input of the amplifier and measures the output level of the amplifier with the MS2651A
spectrum analyzer in this connection state.
Amplifier
(Measured)
Controller
GPIB
MG3641A/MG3642A
MS2651A spectrum analyzer