EasyManua.ls Logo

Agilent Technologies 33220A User Manual

Agilent Technologies 33220A
363 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 #320 background imageLoading...
Page #320 background image
319
Chapter 6 Application Programs
Program Listings
4
6
Example: Downloading an Arbitrary Waveform (ASCII)
This program (found in the “Examples\chapter6\ASCIIarb” subdirectory on the CD-
ROM) downloads an arbitrary waveform to the function generator as ASCII data. Data
values are in the range -1 to +1.
Private Sub cmdASCIIArb_Click()
Dim io_mgr As VisaComLib.ResourceManager
Dim Fgen As VisaComLib.FormattedIO488
Set io_mgr = New VisaComLib.ResourceManager
Set Fgen = New VisaComLib.FormattedIO488
Set Fgen.IO = io_mgr.Open(txtIO.Text)
Dim Waveform() As String
Dim I As Integer
Dim DataStr As String
ReDim Waveform(1 To 4000)
On Error GoTo MyError
' This program uses the arbitrary waveform function to
' download and output a square wave pulse with a calculated
' rise time and fall time. The waveform consists of 4000
' points downloaded to the function generator as ASCII data.
With Fgen
.WriteString "*RST" ' Reset the function generator
.IO.Clear ' Clear errors and status registers
.IO.Timeout = 40000 ' Set timeout to 40 seconds for long
' download strings
End With
' Compute waveform
txtError.Text = ""
txtError.SelText = "Computing Waveform..." & vbCrLf
For I = 1 To 5
Waveform(I) = Str$((I - 1) / 5) ' Set rise time (5 points)
Next I
For I = 6 To 205
Waveform(I) = "1" ' Set pulse width (200 points)
Next I
For I = 206 To 210
Waveform(I) = Str$((210 - I) / 5) ' Set fall time (5 points)
Next I
For I = 211 To 4000
Waveform(I) = "0" ' Set remaining points to zero
Next I
DataStr = Join(Waveform, ",") ' Create string from data array
Continued...

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 33220A and is the answer not in the manual?

Agilent Technologies 33220A Specifications

General IconGeneral
Function Generator TypeArbitrary Waveform Generator
Output Amplitude10 mVpp to 10 Vpp into 50 Ω
Output Impedance50 Ω
WaveformsSine, Square, Ramp, Triangle, Noise, Arbitrary
InterfaceGPIB, USB
Power Requirements100 to 240 VAC, 50/60 Hz

Summary

Quick Start

To Prepare the Function Generator for Use

Check the list of supplied items and connect the power cord and turn on the function generator.

To Set the Output Frequency

Steps to change the output frequency to 1.2 MHz using the front panel controls.

To Rack Mount the Function Generator

Instructions for mounting the Agilent 33220A in a standard 19-inch rack cabinet.

Front-Panel Menu Operation

Front-Panel Menu Reference

Overview of the front-panel menus and examples of their use.

To Select the Output Termination

Setting the output termination impedance for accurate amplitude and offset measurements.

To Configure the Remote Interface

Setting up GPIB, USB, and LAN interfaces for remote instrument control.

Features and Functions

Output Configuration

Information on configuring the function generator for outputting various waveforms.

Amplitude Modulation (AM)

Details on setting up and performing amplitude modulation.

Calibration Overview

Introduction to calibration features and security settings.

Remote Interface Reference

SCPI Command Summary

Overview of SCPI command syntax and conventions.

Output Configuration Commands

Low-level SCPI commands for controlling output functions.

Interface Configuration Commands

Commands for configuring GPIB, LAN, and USB interfaces.

Error Messages

Command Errors

List and explanation of errors related to command syntax and parameters.

Execution Errors

List and explanation of errors resulting from incorrect command execution or settings.

Device Dependent Errors

Errors indicating potential hardware failures or memory corruption.

Application Programs

Introduction

Overview of example programs for controlling the instrument via SCPI.

Program Listings

Includes examples like Sine Waveform, Amplitude Modulation, and Pulse Width Modulation.

Tutorial

Direct Digital Synthesis

Explanation of the DDS signal generation technique used by the instrument.

Creating Arbitrary Waveforms

Guide on creating custom waveforms using the front panel or software.

Signal Imperfections

Description of harmonic, non-harmonic, and phase noise imperfections in signals.

Specifications

Waveforms

Lists standard and built-in arbitrary waveform types.

Common Characteristics

Details general specifications like frequency accuracy and amplitude range.

Product Dimensions

Provides physical dimensions for benchtop and rack-mount configurations.

Related product manuals