Agilent Technologies

34980A IVI C and VCNET 2005 Measurement Example Program

This program sets the 34980A 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 34980A and 
the computer, and the correct module is installed. The returned data is entered 
into a list box.

The program requires a 34921A MUX module to operate correctly. Program must be modified
for other modules.

This program uses the IVI-C driver. Also needed is the ag34980A.h file located in:
"C:\Program Files\IVI\Include". Also, if the ivi.h, iviDmm.h, and iviSwtch.h files
are not in the folder, they must be added. They can be downloaded from the National
Instruments web page. They are part of the NI IVI Compliance files; use the latest
version. Executing the IVI Compliance files copies the files into the appropriate
The program was developed in Microsoft® Visual C++ .NET 2005 as a WIN32 project.

Date: August 16, 2006
Language: Microsoft® Visual C++ .NET 2005
Operating System: Windows(r) NT 4.0, 2000 Professional, XP
VISA Version: Use Agilent I/O Library Suite 14.0 or above
IVI Driver version:

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

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

top of page

© Agilent 2000-2006