Gpib Gpib Gpib; Excel Macro Example - Agilent Technologies 34420A User Manual

Nano volt/micro ohm meter
Table of Contents

Advertisement

Chapter 6 Application Programs
Microsoft Excel Macro Example
Microsoft Excel Macro Example
You can use Windows
commands to the meter and return measurement results directly into a
Microsoft® Excel spreadsheet.
This example uses the Hewlett-Packard "Instrument Tools for Windows"
GPIB
and the 82335B HB-IB Interface. The "Instrument Tools for
Windows" contains two programs to support HP-IB operations, an
GPIB
Interactive HP-IB program and a HP-IB DDE Server.
To use the "Instrument Tools for Windows" with Microsoft® Excel, follow
this general procedure:
1
Install Tools for Windows (if not already installed).
2
Start the Interactive HP-IB application and create and save a configuration
file (.IBC file) that describes the interface with the meter. Be sure EOI is
disabled and EOL is set to include the <lf> character. Refer to the
"Instrument Tools for Windows" User's Manual for procedures and
descriptions of creating a configuration (.IBC) file.
You can test your interface connection in the Interactive HP-IB program
by sending an output string of *IDN? and entering the results. A typical
response is shown in the example in cell F4.
GPIB
3
Start the HP-IB DDE server. This application starts and minimizes to an
icon.
4
Run the macro shown in the example.
In the macro, the following commands are part of the HP-IB DDE
program and are documented in the "Instrument Tools for Windows"
User's Manual. All other commands are Microsoft® Excel commands and
are documented in the Excel function reference.
[Abort]
[clear(device)]
EnterS
EOL
OutputS
Dynamic Data Exchange (DDE) to send
"Instrument Tools for Windows"
GPIB
GPIB
GPIB
GPIB
GPIB
6
243

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents