HP E8491A manual Utility Function Overview, Using ivxisc

Page 73

The irq.cf Configuration File

The ttltrig.cf Configuration File

The vximanuf.cf Configuration File

The vximodel.cf Configuration File

Utility Function Overview

Using ivxisc

The irq.cf file is a database that maps specific interrupt lines to VXI interrupt handlers. If you have non-programmable interrupters and you want the interrupters to be recognized by a VXI interrupt handler, you must make an entry in this file. Additionally, if you have progammable interrupters and you want them to be recognized by a device other than what’s assigned by the resource manager (the commander of that device), you can make an entry in this file to override the default. Keep in mind that not all VXI devices need to use interrupt lines and not all interrupt lines need to be assigned. Note that any interrupt lines assigned in this file cannot also be assigned in the vmedev.cf configurtion file.

This file is edited by selecting “Edit mapping of VXI devices to interrupt lines” in the Resource Manager window (Figure B-2).

The ttltrig.cf file contains the mapping of VXI devices to TTL trigger lines in extended VXI systems. If you have a MXI-extended (multiple-mainframe) system and you are sending / receiving triggers between mainframes, you must map the TTL trigger line to the logical address of the device asserting the trigger. This file is only used for extended VXI systems.

This file is edited by selecting “Edit mapping of VXI devices to ttl trigger lines” in the Resource Manager window (Figure B-2).

The vximanuf.cf file contains a database that cross references the VXI manufacturer id numbers and the name of the manufacturer. The ivxirm utility reads the manufacturer id number from the VXI device. The ivxisc utility then uses that number and this file to print out the name of the manufacturer. If you add a new VXI device from a vendor that is not currently in the file, you may want to add an entry to the file.

This file can not be edited using ‘I_O Config’.

The vximodel.cf file contains a database that lists a cross reference of manufacturer id, model id, and VXI device names. The ivxirm utility reads the model id number from the VXI device and the ivxisc utility uses that information and this file to print out the VXI device model. If you add a new VXI device to your system that is not currently in this database, you may want to add an entry to this file.

This file can not be edited using ‘I_O Config’.

Within the <drive:>\siclnt\bin or \sicl95\bin directory are utility functions that view the resource manager output (ivxisc) and which clear the

HP E8491A interface (iclear) and run the resource manager (if the iproc utility is running).

The ivxisc function is used to view the resource manager output. ivxisc is executed from the Windows command (DOS) prompt (..\siclnt\bin or \sicl95\bin directory) as:

ivxisc vxi<logical unit>

Appendix B

Editing the HP E8491A Resource Manager Configuration 73

Image 73
Contents Contents Chapter Index Contents HEWLETT-PACKARD Warranty Statement Documentation History Manufacturer’s Name Page Business Reply Mail Page Component Overview Interface Installation ConfigurationAdditional Information VXI Programming Using Ieee 1394 Serial BusInstalling Ieee Host Adapter Interface Installation and ConfigurationLayout of the Adaptec AHA-8940 1394-to-PCI Host Adapter Locating a PCI bus Expansion Slot Connecting the Power Cable Where to go Next Installing HP E8491A InterconnectPage Connecting the HP E8491A to the Host Adapter Instruments Installing VXI InstrumentsInstalling C-size Instruments Shows the installation of A- and B-size instruments Installing A- and B-size InstrumentsPage Interface Installation and Configuration Chapter 10. The HP IO Libraries Program Group Configuring the HP E8491A Interconnect11. The HP IO Libraries IO Config Utility 12. Editing the HP E8491A Configuration 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 Block Data Transfers Optimizing ProgramsBlock 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 TTLTRG7 TTLTRG0 HP E8491A TriggeringItrigall Configuring the E8491A Trig In and Trig Out PortsTurn off the autozero function iprintfe1412, Zeroauto OFF\n Program, ivxitrigroutee8491s, ITRIGEXT0 Locating E8491A Shared Memory Using HP E8491A Shared MemoryLocating Shared Memory Using HP Visa Starting address of E8491A shared Memory hexadecimal #define E8491 VXI00INSTR Storing Readings Shared Memory HP Visa ExampleUnsigned char ViClosefw E8491 Error handling function Storing Readings Shared Memory Sicl Example Ivxirminfoe8491, 0, &info startaddr = info.memstart Comments Ieee 1394 Topology and Terminology Ieee 1394 Fundamentals Interface OverviewTerms shown in -1 are defined in the following table Features of the Ieee 1394 BusIeee Data Transfer Protocol Optimizing the ConfigurationIeee 1394 Fundamentals and Interface Overview Chapter Adaptec AHA-8940 Host Adapter Interface Cable PIN # HP E8491A PC to VXI InterconnectConfiguration Label HP IO Libraries Using the HP E8491A With the HP E1406 Command ModuleGeneral Interface Characteristics VXI CharacteristicsExternal Trigger Input CLKExternal Trigger Output Power Supply Loading Trigger DelaysCooling Specifications Appendix a Configuration File Overview Editing the HP E8491A Resource Manager ConfigurationPage Page Page Utility Function Overview Using ivxiscPage Iclear Sicl interface name, logical address Page Index MXI Trig In specifications Index