53131A, 53132A, 53181A VISA and VBNET Measurement Example Program
This program shows three different ways to make measurements for the 53131A, 53132A,
and 53181A Counters. It uses the 'MEASure?', 'CONFigure and 'READ?', and
'CONFigure', 'INITiate', and 'FETCh' commands. The returned measurements are output
in a list box.
The program requires that VISA is installed in your computer. VISA comes with the
Agilent I/O Library. A modified version of visa32.bas is included in the project
as file visa32.vb.
For VISA to work correctly, the visa32.bas file was modified, as shown in comments
in the the file. Also, the "Microsoft.VisualBasic.Compatibility.dll" has to be
referenced in the project sincd VISA needs some older Visual Basic cpabilities,
especially in setting the size of string variables.
The program was developed in Microsoft(r) Visual Basic .NET version 7.0
Date: August 27, 2004
Language: Microsoft(r) Visual Basic .NET version 7.0
Operating System: Windows(r) NT 4.0, 2000 Professional, XP
VISA Version: Use Agilent I/O Library version M.01.01.04 or above
Microsoft, Windows, NT, XP are registered trademarks of Microsoft Corporation
Copyright (c) 2004 Agilent Technologies Inc. All rights reserved.
You have a royalty-free right to use, modify, reproduce and distribute these example
files (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
Agilent Technologies will not modify the program to provide added
functionality or construct procedures to meet your specific needs.