EasyManuals Logo

ADVANTEST R3131 Series User Manual

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
Page #237 background imageLoading...
Page #237 background image
R3131 Spectrum Analyzer Operation Manual
4.1 GPIB Remote Programming
4.1.13 Using the Status Byte
(1) Sample Programs for PC9801 series (GPIB address = 8)
Example PC-15: Execute single sweeping and wait the end of the sweeping (when not using
SRQ signal).
10
20
30
40
50
60
70
80
90
100
110
120
ISET IFC:ISET REN
SPA=8
PRINT @SPA;"SI"
PRINT @SPA;"OPR8"
PRINT @SPA;"CLS"
PRINT @SPA;"SR"
*LOOP
PRINT @SPA;"STB?":INPUT @SPA;S
IF (S AND 128)0 THEN GOTO *LOOP
STOP
Send IFC signal and set REN signal in one.
• Set GPIB address (8) in a variable.
Set in the single sweeping mode.
• Make Sweep-end bit of operation
' status register enable.
Clear the status byte.
• Begin the sweeping.
' Read the status byte.
' Wait until the operation status bit (end of
' sweeping) is set in one.
Example PC-16: Execute ACP measurement and begin reading the result after the measurement is
ended (when not using SRQ signal).
10 ISET IFC:ISET REN
20 SPA=8
30 PRINT @SPA;"CF1500MZ"
40 PRINT @SPA;"SP250KZ"
50 PRINT @SPA;"RBIKZ;VB1OKZ"
60 PRINT @SPA;"ST2OSC"
70 PRINT @SPA;"DTP"
80 PRINT @SPA;"ADCH5OKZ"
90 PRINT @SPA;"ADBS21KZ"
100 PRINT @SPA;"OPR8"
110
120 PRINT @SPA;"*CLS"
130 PRINT @SPA;"ACP"
140 *LOOP
150 PRINT @SPA;"*STB?": INPUT
@SPA;S
160 IF(S AND 128)=0 THEN GOTO
*LOOP
170 PRINT @SPA;"ACP?"
180 INPUT @SPA;LO,UP
190 PRINT"-50K:";LO;",+50K:";UP
200 STOP
Send IFC signal and set REN signal in one.
Set GPIB address (8) in a variable.
• Set the center frequency to 1500 MHz.
Set the frequency span to 250kHz.
• Set RBW to 1kHz and VBW to 10kHz.
Set the sweep time at 20 seconds.
Set the detector mode to positive.
Set the channel space to 50kHz.
Set the bandwidth to 21kHz.
Make the sweep-end bit of the
operation status register enable.
' Clear the status byte.
Begin ACP measurement.
' Read the status byte.
' Wait the end of ACP measurement.
Request the output of the ACP measurement
result.
Read the ACP measurement result.
Display the measurement result.
4-43

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ADVANTEST R3131 Series and is the answer not in the manual?

ADVANTEST R3131 Series Specifications

General IconGeneral
BrandADVANTEST
ModelR3131 Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals