HP manual HP IO Libraries, Using the HP E8491A With the HP E1406 Command Module

Page 64

Using the HP E8491A

with the HP E1406

Command Module

The HP I_O

Libraries

Though not a common configuration, the HP E1406 command module can be used in the same mainframe as the HP E8491 to provide HP-IB access to instruments. In this configuration, however, the E8491A must be the mainframe’s resource manager.

The software required to use the IEEE 1394 interface in a VXI system is contained in the HP I_O Libraries and HP VXIplug&play Drivers. The software supports the Windows 95 and Windows NT platforms.

The software “stack” shown below shows the relationship of the

VXIplug&play drivers to HP VISA/ SICL, to the host adapter drivers, and to the VXI instruments. Notice that Hewlett-Packard’s implementation of the IEEE 1394 interface requires HP VISA and will not work with the VISA supplied by other vendors.

Development Environment

(C/C++, Visual BASIC, HP VEE)

HP Universal Instrument

HP VXI plug&play Instrument

Drivers

Drivers

 

 

HP VISA / HP SICL

HP I_O Libraries

Host Adapter Drivers

VXI Instruments

Figure 4-6. System Software and Drivers.

Most application programs are written using the instruments’

VXIplug&play drivers. The plug&play driver functions make subsequent calls to the VISA functions and so on. Message-based instruments can be programmed at the HP VISA / SICL level by embedding SCPI commands in the HP VISA / SICL functions.

64 IEEE 1394 Fundamentals and Interface Overview

Chapter 4

Image 64
Contents Contents Chapter Index Contents HEWLETT-PACKARD Warranty Statement Documentation History Manufacturer’s Name Page Business Reply Mail Page Interface Installation Configuration Component OverviewVXI Programming Using Ieee 1394 Serial Bus Additional InformationInterface Installation and Configuration Installing Ieee Host AdapterLayout of the Adaptec AHA-8940 1394-to-PCI Host Adapter Locating a PCI bus Expansion Slot Connecting the Power Cable Installing HP E8491A Interconnect Where to go NextPage Connecting the HP E8491A to the Host Adapter Installing VXI Instruments InstrumentsInstalling C-size Instruments Installing A- and B-size Instruments Shows the installation of A- and B-size instrumentsPage Interface Installation and Configuration Chapter Configuring the HP E8491A Interconnect 10. The HP IO Libraries Program Group11. The HP IO Libraries IO Config Utility Editing the HP E8491A Configuration 12. Editing the HP E8491A ConfigurationEditing the HP E8491A Configuration on Windows 95 Platforms InstallingInstrument Drivers Verifying the Installation Viewing the Resource Manager Output 17 is a partial listing of a typical resource manager output Page Running the Resource Manager Page VXI Programming Using the Ieee 1394 Serial Bus Optimizing Programs Block Data TransfersBlock Transfers using HP VXIplug&play Drivers For i=0 i10 i+=2 Printf%lf\n\n,dataPtri*range/32768 Comments HP Visa Error checking routine Comments HP E8491A Triggering TTLTRG7 TTLTRG0Configuring the E8491A Trig In and Trig Out Ports ItrigallTurn off the autozero function iprintfe1412, Zeroauto OFF\n Program, ivxitrigroutee8491s, ITRIGEXT0 Using HP E8491A Shared Memory Locating E8491A Shared MemoryLocating Shared Memory Using HP Visa Starting address of E8491A shared Memory hexadecimal Storing Readings Shared Memory HP Visa Example #define E8491 VXI00INSTRUnsigned char ViClosefw E8491 Error handling function Storing Readings Shared Memory Sicl Example Ivxirminfoe8491, 0, &info startaddr = info.memstart Comments Ieee 1394 Fundamentals Interface Overview Ieee 1394 Topology and TerminologyFeatures of the Ieee 1394 Bus Terms shown in -1 are defined in the following tableOptimizing the Configuration Ieee Data Transfer ProtocolIeee 1394 Fundamentals and Interface Overview Chapter Adaptec AHA-8940 Host Adapter Interface Cable HP E8491A PC to VXI Interconnect PIN #Configuration Label Using the HP E8491A With the HP E1406 Command Module HP IO LibrariesInterface Characteristics VXI Characteristics GeneralExternal Trigger Input CLKExternal Trigger Output Power Supply Loading Trigger DelaysCooling Specifications Appendix a Editing the HP E8491A Resource Manager Configuration Configuration File OverviewPage Page Page Using ivxisc Utility Function OverviewPage Iclear Sicl interface name, logical address Page Index MXI Trig In specifications Index