HP E8491A manual Ieee Data Transfer Protocol, Optimizing the Configuration

Page 59

Optimizing the Configuration

I/O performance is impacted slightly by the hardware configuration.The VXI mainframe closest to the PC (root node) has the highest priority. For example, if instruments in VXI mainframes 1 and 3 (Figure 4-1) contend for the bus at the same time, the root node will grant mainframe 1 access to the bus first. However, the bus’s fair arbitration protocol (covered in the next section) ensures that each device has equal access to the bus and that devices closer to the root are not continually granted the bus.

IEEE 1394

Data Transfer

Protocol

Data transfer over the IEEE 1394 bus can be either asynchronous or

isochronous1. Hewlett-Packard’s IEEE 1394 based VXI systems use asynchronous data transfers and a “fair arbitration” protocol to ensure each VXI mainframe has equal access to the bus. Figure 4-2 illustrates the concepts of asynchronous data transfers and fair arbitration.

VXI mainframe 1

VXI mainframe 3

 

block transfer

block transfer

VXI mainframe 2

data packet

data packet

 

 

data packet

data packet

 

 

data packet

data packet

 

 

F I n-1

 

 

 

 

Fairness Interval n

 

 

 

 

 

 

F I n+1

 

 

 

 

 

 

 

 

 

 

mainframe 1 or 2

mainframe 1 or 2

 

mainframe 3

 

 

arb

 

data

 

ack

arb

 

data

 

ack

arb

 

data

 

ack

 

 

 

 

 

 

seq

 

packet

 

seq

 

packet

 

seq

 

packet

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

subaction 1

 

 

subaction 2

 

 

 

subaction 3

 

 

arbitration rest gap

 

 

 

 

subaction gaps

 

 

 

 

arbitration gap

Figure 4-2. IEEE 1394 Data Transfer Protocol.

1.Isochronous data transfers broadcast variable amounts of data at regular intervals with no acknowledgement. Isochronous and Asynchronous data transfers can occur on the same bus.

Chapter 4

IEEE 1394 Fundamentals and Interface Overview 59

Image 59
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 ConfigurationInstrument Drivers InstallingEditing the HP E8491A Configuration on Windows 95 Platforms 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 Output CLKExternal Trigger Input Cooling Trigger DelaysPower Supply Loading 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