This executable file contains example programs for the Agilent 34980A Multifunction Switch/Measure Unit and Modules. To download, click on the link below and follow the instructions in the dialog box. The installation directory defaults to C:\Program Files\Agilent\34980, but you can specify the directory in which to install the example programs. For the VISA COM examples, you must have the Agilent I/O Libraries revision M or later with VISA COM installed.
Notice
The example programs listed below are protected by copyright. Copyright © 2004 Agilent Technologies, Inc.
You have a royalty-free right to use, modify, reproduce and distribute the example programs (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 example programs.
Agilent Technologies provides programming examples for illustration only. All example programs assume that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Agilent support engineers can help explain the functionality of Agilent software components and associated commands, but they will not modify these example programs to provide added functionality or construct procedures to meet your specific needs.
Example Programs:
Example programs are provided for each of the following programming languages.
VB 6.0
There are five example programs contained in the following directories using VISA and VISA COM:
- 34921A MUX Scanning: Demonstrates how to configure functions and scan, and read the data from a scan for the 34921A MUX. May be easily adapted to other MUX cards.
- 34951A DAC: Demonstrates programming the DAC for DC output, creating an internal waveform, creating a waveform from a file, and creating burst of specified length.
- 34952A Multi Funct: Demonstrates digital input and output, DC output from the DAC, reading and configuring the totalizer.
- EZ 34951A DAC: Simple example to output an internal waveform.
- EZ 34952A Multifunction: Simple example for DC output, digital I/O and totalizer.
There are three example programs contained in the following directories using IVI-COM:
- EZ_DAC: Simple example to output an internal waveform.
- EZ_MultiFunc: Simple example for DC output, digital I/O and totalizer.
- MuxExample: Demonstrates how to configure functions and scan, and read the data from a scan for the 34921A MUX. May be easily adapted to other MUX cards.
VB 7.0
There are three example programs contained in the following directories using IVI-COM:
- EZ_DAC: Simple example to output an internal waveform.
- EZ_MultiFunc: Simple example for DC output, digital I/O and totalizer.
- MuxExample: Demonstrates how to configure functions and scan, and read the data from a scan for the 34921A MUX. May be easily adapted to other MUX cards.
C/C++
There are three example programs contained in the following directories for using VISA:
- Mux_34921A: Demonstrates how to configure functions and scan, and read the data from a scan for the 34921A MUX. May be easily adapted to other MUX cards.
- waveform_34951A: Demonstrates programming the DAC for creating an internal waveform.
- IO_totalizer_34952A: Demonstrates digital input and output, DC output from the DAC, reading and configuring the totalizer.
C #
There are three example programs contained in the following directories for using IVI-C:
- DmmScan: Demonstrates how to configure functions and scan, and read the data from a scan for the 34921A MUX. May be easily adapted to other MUX cards.
- Dac51: Demonstrates programming the DAC for creating an internal waveform.
- Multifunction: Demonstrates digital input and output, DC output from the DAC, reading and configuring the totalizer.
Excel
There are two Excel examples contained in the Excel directory for Excel 2000 or later using VISA COM:
- 3451A_VISACom.xls: Demonstrates reading data from a spreadsheet and programming the DAC for creating a waveform with the data.
- 34921A scanning.xls: Demonstrates how to configure functions and scan, and read the data from a scan for the 34921A MUX. Inserts the scanned data into a spreadsheet. May be easily adapted to other MUX cards.
LabVIEW
There are three LabVIEW examples contained in the LabVIEW directory for LabVIEW 7.0 or later:
- MUX example.vi: Demonstrates how to configure functions and scan, and read the data from a scan for the 34921A MUX. May be easily adapted to other MUX cards.
- DAC example.vi: Demonstrates programming the DAC for creating an internal waveform.
- DigIo_example.vi: Demonstrates digital input and output, DC output from the DAC, reading and configuring the totalizer using the 34952A Multfunction Card.
VEE
There are three VEE examples contained in the VEE directory using VEE 7.0 or later:
- mux_34921A.vee: Demonstrates how to configure functions and scan, and read the data from a scan for the 34921A MUX. May be easily adapted to other MUX cards.
- waveform_34951A.vee: Demonstrates programming the DAC for creating an internal waveform.
- IO_totalizer_34952A.vee: Demonstrates digital input and output, DC output from the DAC, reading and configuring the totalizer.
There are three example programs contained in the following directories for using IVI-C:
- DmmScan: Demonstrates how to configure functions and scan, and read the data from a scan for the 34921A MUX. May be easily adapted to other MUX cards.
- Dac51: Demonstrates programming the DAC for creating an internal waveform.
- Multifunction: Demonstrates digital input and output, DC output from the DAC, reading and configuring the totalizer.
|