Agilent Technologies

VISA32.VB: Taking a Thermocouple Measurement using VB.NET Read Me

34970A/34972A using visa32.vb and VBNET Measurement Example Program

This program sets the 34970A/34972A 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.

The program requires that VISA is installed in your computer. VISA comes with the Agilent I/O Library.

Include the visa32.vb file. This file comes with VISA version M.01.01.041 or above. This file is different from the visa32.bas since the visa32.vb was developed for VB.NET (the visa32.bas file is for VB version 6 and below).

The program was developed in Microsoft® Visual Basic .NET version 7.0

Date: August 27, 2004; Revised January 2010.
Version: 1.0.0.0
Language: Microsoft® Visual Basic .NET version 7.0 (Studio 2005)
Operating System: Windows® NT 4.0, 2000 Professional, XP, Vista
VISA Version: Use Agilent I/O Library version M.01.01.041 or above

Microsoft, Windows, NT, XP, Vista 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.


© Agilent 2000-2010