Readings are taken and transferred from the
instrument to E8491A shared memory over
the VXI backplane.
DUT
Readings are transferred in blocks from shared memory to the PC over the IEEE 1394 serial bus.
Figure 3-4. Storing Readings in Shared Memory.
Storing Readings in
Shared Memory -
HP VISA Example
This example uses the HP E1410 VXIplug&play driver to configure the multimeter, take the readings, and store them in E8491A shared memory. HP VISA functions are used to transfer the readings from shared memory to the PC.
//SHAR_VISA.CPP - This program demonstrates how to access the
//HP E8491A’s shared memory. The program stores readings taken
//by the HP E1410 multimeter in HP E8491A shared memory, and then
//transfers those readings from shared memory to the computer.
#include "hpe1410.h"// include the driver header file #include "visa.h"
#include <stdio.h> #include <stdlib.h> #include <windows.h>
//project files: SHAR_VISA.cpp, hpe1410.lib, VISA32.lib
//specify the addressing path to the multimeter
#define | E1410 | "VXI0::24::INSTR" | // | E1410 | path |
#define | E8491 | "VXI0::0::INSTR" | // | E8491 | path |
//check for instrument errors #define INSTR_ERROR 0xBFFC0D07
50 VXI Programming Using the IEEE 1394 Serial Bus | Chapter 3 |