![Agilent Technologies Agilent 33500 Series User Manual Download Page 221](http://html.mh-extra.com/html/agilent-technologies/agilent-33500-series/agilent-33500-series_user-manual_2867489221.webp)
220
Chapter 4 Application Programs
Program Listings
4
Program Listings
Example: A Simple Sine Waveform
This program (found in the “Examples\chapter6\SimpleSine” subdirectory on the CD-
ROM) selects the function as “sine,” and then sets the frequency, amplitude and offset of
the waveform.
' """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
' This Simple Sine program enables a simple sine wave output on channel 1
' of a 33500 Series instrument with the following signal characteristics:
'
'Wave Shape: Sine
'Frequency: 1000 Hz
'Amplitude: 2 Volt Peak to Peak
'Offset: 0 Volt
'Output Impedence: 50 Ohm
'Channel1 Output: Enabled
'
' """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Private Sub Command1_Click()
Dim io_mgr As VisaComLib.ResourceManager
Dim mfIo As VisaComLib.FormattedIO488
Set io_mgr = New AgilentRMLib.SRMCls
Set mfIo = New FormattedIO488
Set mfIo.IO = io_mgr.Open(Text1.Text, NO_LOCK, 2000, "")
On Error GoTo MyError
' This program sets up a waveform by selecting the waveshape
' and adjusting the frequency, amplitude, and offset.
Summary of Contents for Agilent 33500 Series
Page 13: ...12 ...
Page 16: ...1 1 Quick Start ...
Page 41: ...40 Chapter 1 Quick Start To Rack Mount the Waveform Generator 1 ...
Page 42: ...2 2 Front Panel Menu Operation ...
Page 90: ...3 3 Features and Functions ...
Page 218: ...4 4 Application Programs ...
Page 243: ...242 Chapter 4 Application Programs Program Listings 4 ...
Page 244: ...5 5 Tutorial ...
Page 261: ...260 Chapter 5 Tutorial Ground Loops 5 ...
Page 262: ...6 Specifications ...