Agilent Technologies

34980A VISA and VISUAL C/C++ 6.0 Measurement Example Program

34970A VISA and VC60 Measurement Example Program

This program sets the 34980A 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 34980A and the 
computer, and the correct module is installed. The returned measurements are output 
in a list box.

This program requires either a 34921A or 34925A (with program modification) module.

The program requires that VISA is installed in your computer. VISA comes with the 
Agilent I/O Library. Also link visa32.lib file and include the visa.h file in the 

The program was developed in Microsoft(r) Visual C++ version 6.0

Date: September 21, 2005
Language: Microsoft(r) Visual C++ version 6.0
Operating System: Windows(r) 98SE, NT 4.0, 2000, XP
VISA Version: Use Agilent IO Library Suite 14.0 or above

Microsoft, Windows, NT, XP are registered trademarks of Microsoft Corporation

Copyright (c) 2005 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-2006