EasyManua.ls Logo

ADVANTEST R3162 User Manual

Default Icon
588 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 #299 background imageLoading...
Page #299 background image
R3132 Series Spectrum Analyzer Operation Manual
4.2.10 Example Programs
4-55
Example VB-13: Reading and displaying the three largest peak levels
Dim pk1 As String, pk2 As String, pk3 As String
Call ibclr(spa) Perform a device clear.
Call ibwrt(spa, "CF 0MZ") Apply the settings.
Call ibwrt(spa, "SP 100MZ")
Call ibwrt(spa, "PS") Search for the peak.
Call ibwrt(spa, "ML?") Query command to search for the marker level
Rdbuff = Space(25) Reserve buffer memory space.
Call ibrd(spa, Rdbuff) Receives the output.
pk1 = LeftB(Rdbuff, (InStrB(1, Rdbuff, Chr(13), 1) - 1))
Read the data between the starting point and the delimiter.
Call ibwrt(spa, "NXP") Search for the next peak.
Call ibwrt(spa, "ML?")
Rdbuff = Space(25)
Call ibrd(spa, Rdbuff)
pk2 = LeftB(Rdbuff, (InStrB(1, Rdbuff, Chr(13), 1) - 1))
Read the data between the starting point and the delimiter.
Call ibwrt(spa, "NXP")
Call ibwrt(spa, "ML?")
Rdbuff = Space(25)
Call ibrd(spa, Rdbuff)
pk3 = LeftB(Rdbuff, (InStrB(1, Rdbuff, Chr(13), 1) - 1))
Read the data between the starting point and the delimiter.
RichTextBox1.Text = "1st PK = " & pk1 & vbCrLf & "2nd PK = " & pk2 & vbCrLf & "3rd PK = " & pk3 & vbCrLf
Display the data on the screen.
An example display:
1st PK = -8.553906250000E+01
2nd PK = -7.004687500000E+01
3rd PK = -8.655468750000E+01

Table of Contents

Question and Answer IconNeed help?

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

ADVANTEST R3162 Specifications

General IconGeneral
Frequency Range9 kHz to 3 GHz
Input Impedance50 Ω
Amplitude Range-150 dBm to +30 dBm
Frequency Accuracy±1 ppm
Input VSWR1.5:1
Display Average Noise Level-150 dBm

Summary

Safety Summary

Warning Labels

Explains warning labels and symbols used on the product and in the manual.

Basic Precautions

Lists essential safety measures for operating the instrument.

Environmental Conditions

Environmental Conditions

Specifies required ambient conditions for optimal and safe operation.

Introduction

Product Description

Details key features and capabilities of the spectrum analyzer.

Operating Environment

Specifies environmental conditions for operation.

Power Requirements

Details electrical power specifications.

System Checkout

Procedure for initial setup and self-test.

Operation

Panel Description

Detailed explanation of the analyzer's front, rear, and other panels.

Basic Operation

Fundamental procedures for operating the analyzer.

Displaying Spectrums and Operating the Markers

How to view and manipulate spectrum data.

Reference

Menu Function Descriptions

Detailed explanations of panel and soft key functions.

REMOTE PROGRAMING

GPIB Remote Programming

Methods for controlling the analyzer remotely via GPIB.

RS-232 Remote Control Function

Alternative remote control method using RS-232.

PERFORMANCE VERIFICATION

Procedures of Performance Verification

Detailed steps for verifying instrument performance.

APPENDIX

ERROR MESSAGE

Lists and explains error messages.

LIMITED WARRANTY

Warranty Terms and Conditions

Legal disclaimer and warranty coverage.

Related product manuals