Agilent Technologies

IVI-COM Driver: Taking a Thermocouple Measurement using VB.NET Read Me

This sample program sets the 34970A for a simple scan that makes both DCV and type J thermocouple temperature measurements.

Date: September 16, 2004
Version: 1.0.0.0
Language: Microsoft® Visual Basic .NET version 7.0
Operating System: Windows® NT® 4.0, 2000 Professional, or XP
Library: IVI Agilent34970A (Agilent Technologies) 1.0 Type Library
            Agilent ItlTypeLib 3.5 Type Library
            IviDriver 1.0 Type Library

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

This program is an example program intended for use with Microsoft Visual Basic .NET version 7.0 and the Agilent IVI-COM driver for the 34970A.

This program uses the Agilent IVI-COM objects to program the instrument. To use the IO object in another Visual Basic project, set the reference to include the following libraries under the project's References menu:
  IVI Agilent34970 (Agilent Technologies) 1.0 Type Library
  Agilent ItlTypeLib 3.5 Type Library
  IviDriver 1.0 Type Library
  Microsoft Visual Basic .NET Compatibility Runtime

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.


© Agilent 2000-2006