R3131 Spectrum Analyzer Operation Manual
4.1 GPIB Remote Programming
4-35Aug 28/98
Example PC-9: Execute OBW and output the result.
Sample result: OBW = 171000 : Fc = 2.503E+07
Example PC-10: Output level values for the maximum, 2nd and 3rd peak points of the signal.
Sample result: 1st PK=-9.44:2nd PK=-10.06:3rd PK=-11.84
10 ISET IFC:ISET REN ’
20 PRINT @8;”CF30MZ” ’ Set individual data.
30 PRINT @8;”SP10MZ”
40 PRINT @8;”MK30MZ”
50 PRINT @8;”OBWPER 95%” ’ Set OBW%.
60 PRINT @8;”OBW” ’ Execute OBW.
70 INPUT @8;”OBW?” ’ Read the result of OBW.
80 INPUT @8;”FC,OBW” ’ Carrier frequency, and occupied bandwidth.
90 PRINT “OBW=”;OBW;”:Fc=”;FC”
100 STOP
110 END
10 ISET IFC:ISET REN ’
20 PRINT @8;”CF0MZ” ’ Set central frequency and frequency span
30 PRINT @8;”SP100MZ”
40 PRINT @8;”PS”
50 INPUT @8;”ML?”
60 INPUT @8;A ’ Read peak level.
70 PRINT @8;”NXP”
80 INPUT @8;”ML?”
90 INPUT @8;B ’ Read 2nd peak level.
100 PRINT @;”NXP”
110 INPUT @8;”ML?”
120 INPUT @8;C ’ Read 3rd peak level.
130 PRINT”1st PK=”;A;”:2nd Pk=”;B;”:3rd PK=”;C
140 STOP
150 END