EasyManuals Logo

Agilent Technologies 33500 Series User Manual

Agilent Technologies 33500 Series
278 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 #240 background imageLoading...
Page #240 background image
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

Table of Contents

Other manuals for Agilent Technologies 33500 Series

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies 33500 Series Specifications

General IconGeneral
BrandAgilent Technologies
Model33500 Series
CategoryLaboratory Equipment
LanguageEnglish

Related product manuals