This program sets the 34970A/72A for a simple scan that makes 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./
Additonally, if the instrument is a 34972A, logging to a USB memory stick is enabled. With logging enabled, readings will be saved to internal memory and to USB memory if USB memory is present. If USB memory stick is not present, then only internal memory will be filled with the readings./
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
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,br> "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
The program was developed in Microsoft® Visual Basic .NET version 7.0Date: August 27, 2004,2010
Microsoft, Windows, NT, XP are registered trademarks of Microsoft Corporation
Copyright © 2004,2010 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.