Vxi Programming Using The Ieee 1394 Serial Bus; Using This Chapter; Programming Register-Based And Message-Based Vxi Instruments; Opening Instrument Sessions - HP E8491B IEEE 1394 Configuration And User's Manual

Pc link to vxi
Table of Contents

Advertisement

VXI Programming Using the IEEE 1394

Using this Chapter

Programming
Register-Based and
Message-Based VXI
Instruments
Opening Instrument
Sessions
Chapter 3
This chapter contains examples and general information for programming
VXI systems over the IEEE 1394 serial bus. The contents of the chapter
include:
Programming Register-Based and Message-Based
Instruments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Opening Instrument Sessions . . . . . . . . . . . . . . . . . . . . . . . .

Optimizing Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
HP E8491B Triggering . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using HP E8491B Shared Memory . . . . . . . . . . . . . . . . . . .
There are no SCPI instrument drivers for register-based instruments
installed in, or downloaded to, the HP E8491B. Therefore, register-based
instruments are programmed over the IEEE 1394 bus using either their
VXIplug&play drivers, or through register-level peeks and pokes using
HP VISA or SICL.
Message-based instruments are programmed using HP VXIplug&play
drivers, or using SCPI commands embedded in HP VISA or SICL function
calls.
VXIplug&play drivers for HP register-based and message-based
instruments are contained on the HP Universal Instrument Drivers CD
which ships with each HP VXI instrument.
Programs which run over the IEEE 1394 interface begin by opening a
session between the VXI instrument and the driver or I/O library (VISA or
SICL). An address that includes the interface name and number (described
in Chapter 2) and the instrument's logical address is used in opening these
sessions.
Following are three segments that open sessions to an E1563A Digitizer in
HP VXIplug&play, HP VISA, and SICL programs.
HP VXIplug&play
ViSession vi;
// open device (VXIplug&play) session to the HP E1563
errStatus = hpe1563_init("VXI0::24::INSTR",VI_FALSE,
VI_FALSE, &vi);

VXI Programming Using the IEEE 1394 Serial Bus

Chapter 3
Serial Bus
35
35
36
43
47
35

Advertisement

Table of Contents
loading

Table of Contents