Using the Multiplexer
47
Figure 2-8. Scanning with VXIbus Triggers
The following example program was developed with the ANSI C language
using the Agilent VISA extensions. The program was written and tested in
Microsoft
®
Visual C++ but should compile under any standard ANSI C
compiler.
To run the program you must have the Agilent SICL Library, the Agilent
VISA extensions, and an Agilent 82340 or 82341 GPIB module installed
and properly configured in your PC. An Agilent E1406 Command Module
is required.
This following example resets and configures the multimeter for DC
Voltage measurements, resets and configures the multiplexer for 2-Wire
configuration TTL Trigger bus synchronization, use of the analog bus, and
scanning channels 00 through 09.
#include <visa.h>
#include <stdio.h>
#include <stdlib.h>
/* Interface address is 112, Module secondary address is 14*/
#define INSTR_ADDR “GPIB0::9::14::INSTR”
/* interface address for Agilent E1412 Multimeter */
#define MULTI_ADDR “GPIB0::9::3::INSTR”
int main()
Summary of Contents for E8462A
Page 2: ...x...
Page 10: ...8 Notes...
Page 11: ...9 Notes...
Page 12: ...10 Notes...
Page 15: ...Configuring the Agilent E8462A Multiplexer 13 Figure 1 1 Agilent E8462A Simplified Schematic...
Page 68: ...66 Using the Multiplexer...
Page 104: ...102 Agilent E8462A Relay Multiplexer Command Reference...
Page 118: ...116 Agilent E8462A Relay Multiplexer Command Reference...
Page 126: ...124 Agilent E8462A Scanning Voltmeter Application Examples Chapter 4 Notes...
Page 146: ...144 Register Based Programming...
Page 156: ...154 Index...