EasyManua.ls Logo

ADVANTEST R3131 Series

ADVANTEST R3131 Series
276 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
R3131 Spectrum Analyzer Operation Manual
4.1 GP1B Remote Programming
4.1.10 Basic Programming
N88BASIC is used in PC9801 series and HP-BASIC is used in HP200 and 300 series.
(1) Sample Programs for PC9801 series (GPIB address = 8).
Example PC-1: Master reset the device and set center frequency to 30 MHz.
10 ISET IFC:ISET REN
20 PRINT @8;"IP"
30 PRINT @8;"CF30MHZ"
40 STOP
50 END
' Execute interface clear and remote enable.
' Execute interface master reset.
Set center frequency to 30 MHz
Example PC-2: Set reference level to 87 dBmV, 5 dB/div and RBW to 100 kHz.
10 ISET IFC:ISET REN
20 PRINT @8;"UU RL87DB"
30 PRINT @8;"DD5DB"
40 PRINT @8;"RB100KZ"
50 STOP
60 END
' Set REF level to 87 d131.tV
' Set 5 dB/div
' Set RBW to 100 kHz
Example PC-3: Assign numeric value to variable.
10 ISET IFC:ISET REN
20 SPA=8:A=10:B=2:C=20 ' Assign a set value to each variable.
30 PRINT @SPA;"CF',A,"MZ" Set center frequency to 10 MHz
40 PRINT @SPA;"SP",B,"MZ" ' Set frequency span to 2 MHz
50 PRINT @SPA;"AT",C,"DB" ' Set NM' to 20 dB.
60 STOP
70 END
Example PC-4: Save set data to or recall it from register 5.
10 ISET IFC:ISET REN
20 TITLEWR3131 SPECTRUM ANALYZER"
30 PRINT @8;"CF3OMZ SP1MZ DTP"
40 PRINT @8;"LON/" +TITLE$ +"I"
50 PRINT @8;"SV5"
60 PRINT @8;"CF1GZ SP200MZ"
70 PRINT @8;"RC5"
80 STOP
90 END
Define a label.
Set each data.
Label ON
Save values in register 5.
Change center frequency and
frequency span.
Recall values from register 5.
4-31

Table of Contents

Related product manuals