Agilent 34401A SRQEvent Programming Sample

Development ADE:  VB 7.0, Visual Studio 2003

IO Library: VISA-COM w/o formatted IO

Description

The Agilent 34401A SRQEvent Programming Sample demonstrates how you can use the multimeter's status registers to determine when a command sequence is completed. For more information see "The SCPI Status Model" in the Agilent 34401A User Guide.

NOTE: This Example uses the IEventHandler. This will only work with GPIB

 To build and run 34401A SRQEvent, 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 SRQEvent.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.