Agilent 34401A StatRegSRQ Programming Sample
Development ADE: C#, Visual Studio 2003
IO Library: VISA-COM w/o formatted IO
Description
The Agilent 34401A StatRegSRQ 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: Polling will only work with GPIB Interface. It does not work for RS232.
To build and run 34401A StatRegSRQ, 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 StatRegSRQ.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.