Agilent 33120A
ArbPulse Programming Sample
Development ADE:
VB.Net (VB7.0), Visual Studio 2003
IO Library:
VISA-COM w/o formatted IO
Description
The Agilent 33120A
ArbPulse Programming Sample demonstrates simple remote communication with the
Agilent 33120A.
-
Initializing an IO
connection to the 33120A and then closing the connection
-
Reading the
Identification string and hardware revision
-
This program shows how
to generate an arbitrary square wave pulse waveform with calculated raise time
and fall time using the arbitrary waveform function.
-
This also
shows how to download a waveform consisting of 4000 ASCII data points to the
function generator.
To build and run 33120A
ArbPulse , you must have Visual Studio 2003 and Agilent IO Libraries Suite
installed on your PC.
Building the
Sample
To build the sample,
open the solution file ArbPulse.sln in Visual Studio 2003. From the menu,
select "Build | Rebuild Solution".
Running the
Sample
From the Visual Studio
2003 menu, select "Debug | Start", of press the F5 key.
Copyright © 2004-2005
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 Technologies 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 Technologies support
engineers can help explain the functionality of Agilent Technologies 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 was developed on Windows XP with Agilent IO Libraries
M.01.01.04, Agilent VISA-COM 1.2, and Visual Studio 2003, running on a 3.0 GHz
Pentium 4 with 1 GB of memory.