Example: Microsoft Visual C++ For Windows - Agilent Technologies 33250A User Manual

80 mhz function / arbitrary waveform generator
Hide thumbs Also See for 33250A:
Table of Contents

Advertisement

Example: Microsoft Visual C++ for Windows

//'"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""'
//' Copyright (c) 2000 Agilent Technologies.
//'
//' Agilent Technologies provides programming samples for illustration
//' purposes only.
This sample program assumes that you are familiar
//' with the programming language being demonstrated and the tools used
//' to create and debug procedures.
//' answer questions relating to the functionality of the software
//' components provided by Agilent, but they will not modify these samples
//' to provide added functionality or construct procedures to meet your
//' specific needs.
//' You have a royalty-free right to use, modify, reproduce, and distribute
//' this sample program (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 programs.
//'"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""'
//
// Agilent 33250A 80 MHz Function/Arb Waveform Generator Examples
//
// Examples include Modulation, Pulse, Sweeping, Burst, and Status Checking.
// Examples illustrate various uses of short/long form SCPI.
// Examples also illustrate enabling/disabling output BNCs.
// To view results on Scope, set to:
//
Channel 1: Output BNC, 50ohms, 50us/div, 200mV/div
//
Channel 2: Sync BNC, 50us/div, 500mV/div, trigger on Channel 2
//
// Microsoft Visual C++ 6.0 for GPIB/RS-232
// 3-30-00
//
#include <stdio.h>
#include <comdef.h>
//
// Import the IOUtils
// (your directory is dependent on where BenchLlink XL was installed)
//
#pragma warning(disable:4192)
#import "C:\siclnt\servers\AgtIOUtils.dll"
using namespace AgilentIOUtilsLib;
Continued...
Chapter 6 Application Programs
Example: Microsoft Visual C++ for Windows
All Rights Reserved.
Agilent support engineers can help
// Suppresses warning from import
'
'
'
'
4
'
'
'
'
'
'
'
'
'
'
6
287

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents