This program makes 100 measurements and returns the statistical data for the measurements.
Date: November 1, 2004
Version: 1.0.0.0
Language: Microsoft® Visual Basic .NET version 7.0
Operating System: Windows® NT® 4.0, 2000 Professional, or XP
VISA COM Version: Use Agilent I/O Library version M.01.01.04 or above
This program makes 100 measurements and returns the statistical data for the measurements. This includes the number of measurements made (NSAMP), the standard deviation (SDEV), the average value (MEAN), the maximum value (UPPER), and the minimum value (LOWER). The data is calculated either during the measurements or after the measurements (this function is selectable).
The readings are stored internally as Double Integers allowing the 3458A to store a maximum of 5120 readings (this example only stores 4100).
This program uses the Agilent VISA COM objects to program the instrument. To
use the IO object in another Visual Basic project, set the reference to add
the appropriate libraries in the Project/References menu and COM tab:
"VISA COM 1.0 Type Library", corresponds to VISACOM.tlb
"Agilent VISA COM Resource Manager 1.0", corresponds to
AgtRM.DLL
"VISA COM 488.2 Formatted I/O 1.0", corresponds to the
BasicFormattedIO.dll
VISA COM comes with the Agilent I/O Library version M.01.01.04 or above.
AGILENT PROVIDES THIS FREE SOFTWARE "AS IS". ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO ANY WARRANTY OF NON-INFRINGEMENT, THE IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, REASONABLE CARE AND SKILL, AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED. Agilent shall not be liable in any way whatsoever for any damages of any nature arising from its use. In no event shall Agilent be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to: procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability or tort (including negligence or otherwise) except if caused by willful misconduct or gross negligence arising in any way out of the use of this software, even if advised of the possibility of such damage and if it has been ensured that such data can be reconstructed with reasonable expenditure from data material provided in machine-readable form.
Windows is a U.S. registered trademark of Microsoft Corporation.
Microsoft is a U.S. registered trademark of Microsoft Corporation.
Windows NT is a U.S. registered trademark of Microsoft Corporation.
Copyright © 2004 Agilent Technologies, Inc.