Agilent 33120A AMmod
Programming Sample
Development ADE:
VB.Net(VB7.0) , Visual Studio 2003
IO Library:
VISA-COM w/o formatted IO
Description
The Agilent 33120A
AMmod
Programming Sample demonstrates simple remote communication with the Agilent
33120A.
-
Using VISA-COM library
and formatted IO to communicate with the instrument
-
Initializing an IO
connection to the 33120A and then closing the connection
- Reading
the Identification string and hardware revision
-
This program uses
low-level SCPI commands to configure' the function generator to output an AM
waveform.
-
This
program also shows how to use "state storage" to store the instrument
configuration in memory
To
build and run 33120A
AMmod, 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 AMmod.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.