34970A VISA Com and VB60 Measurement Example Program
This program sets the 34970A for 2 simple scans that make both DCV and type J
thermocouple temperature measurements. The program also checks the instrument and
module identification to make sure there is communication between the 34970A and the
computer, and the correct module is installed. The returned data is entered into a
list box.
This program uses the Agilent VISACom COM objects to program the instrument.
To use the IO object in another Visual Basic project, set the reference to
include the appropriate libraries in the Project/References menu:
"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
The program was developed in Microsoft(r) Visual Basic version 6.0
Date: August 19, 2004
Version: 1.0.0.0
Language: Microsoft(r) Visual Basic version 6.0
Operating System: Windows(r) 98, 95, NT 4.0, 2000, XP
VISA Com 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
Application Files.
Agilent Technologies will not modify the program to provide added
functionality or construct procedures to meet your specific needs.