![Agilent Technologies Agilent 33500 Series User Manual Download Page 240](http://html.mh-extra.com/html/agilent-technologies/agilent-33500-series/agilent-33500-series_user-manual_2867489240.webp)
239
Chapter 4 Application Programs
Program Listings
4
4
Example: Signal Sum
This program (found in the “Examples\chapter6\Signal Sum Example” subdirectory on
the CD-ROM) configures a pulse waveform with duty cycle, which is then slowly
modulated by a triangle waveform.
'****************************************************************************
' Copyright © 2010 Agilent Technologies Inc. All rights
' reserved.
'
' You have a royalty-free right to use, modify, reproduce and distribute
' the Sample Application Files (and/or any modified version) in any way
' you find useful, provided that you agree that Agilent has no
' warranty, obligations or liability for any Sample Application Files.
'
' Agilent Technologies provides programming examples for illustration only,
' This sample program assumes that you are familiar with the programming
' language being demonstrated and the tools used to create and debug
' procedures. Agilent support engineers can help explain the
' functionality of Agilent software components and associated
' commands, but they will not modify these samples to provide added
' functionality or construct procedures to meet your specific needs.
'****************************************************************************
'****************************************************************************
'This sample program is intended for use with Microsoft Visual studio 6.0
'and Agilent Visa Object library.
'
'Sample program execution requires VISA library installation.
'
'Add ibraries below in Project\reference menu before executing sample 'program:
'VISA COM 3.0 Type Library, Location: <visa install location>\VisaCom\GlobMgr.dll
'VISA COM 488.2 Formatted I/O 1.0, Location:
'
<visa install location>\VisaCom\BasFrmIO.dll
'VISA COM Resource Manager 1.0, Location:
'
<Agilent IO Library install>\bin\AgtRM.dll
' ****************************************************************************
' """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
'Signal SUM Example is a sample program to demonstate the capablity of adding two
Channels function and get the output
'
'Algorithm:
' 1. Set the base signals to sum on Channel1 & Channel2.
' 2. Set the SUM modulation on Channel 1.
' 3. Source for SUM modulation will be Channel2 function.
' 4. Set Sum Amplitude.
' 4. Enable modulation output.
' 5. Enable channels output.
' 6. For Verification, we can route the signal to oscilloscope and see the result.
'
'Channel 1 Parameters:
' Wave Shape: Sine
' Frequency: 1000 Hz
' Amplitude: 2 Volt Peak to Peak
' Offset: 0 Volt
' Output Impedence: 50 Ohm
'
'Channel 2 Parameters:
' Wave Shape: Square
' Frequency: 1000 Hz
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 ...