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 #298 background imageLoading...
Page #298 background image
R3132 Series Spectrum Analyzer Operation Manual
4.2.10 Example Programs
4-54
Example VB-12: Measuring OBW and displaying it
Dim LENG1 As Integer, LENG2 As Integer
Dim OBW As String
Dim FC As String
Dim searchchar As String
Call ibclr(spa) Perform a device clear.
Call ibwrt(spa, "CF 30MZ") Send the command already set.
Call ibwrt(spa, "SP 1MZ")
Call ibwrt(spa, "MK 30MZ")
Call ibwrt(spa, "OBW ON")
Call ibwrt(spa, "TS")
Call ibwrt(spa, "OBW?") Send the query command.
Rdbuff = Space(60) Allocate the area to the read buffer.
Call ibrd(spa, Rdbuff) Read the read buffer (the maximum number of bytes to be output
is determined by the buffer area size).
Formatting output character string
LENG1 = InStr(1, Rdbuff, Chr(44), 0) Search for the first comma.
FC = Mid(Rdbuff, 1, LENG1 - 1) Read the character prior to the comma.
DoEvents
LENG2 = InStr((LENG1 + 1), Rdbuff, Chr(13), 0) Determine the last data by searching for the delimiter.
OBW = Mid(Rdbuff, (LENG1 + 1), (LENG2 - LENG1-1))
Read the data between the second comma and the delimiter.
RichTextBox1.Text = "OBW = " & OBW & vbCrLf & "Fc = " & FC & vbCrLf
Display the data on the screen.
An example display:
OBW = +9.810000000000E+05
FC = +3.000250000000E+07

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