HP E8491B IEEE 1394 Configuration And User's Manual

Pc link to vxi
Table of Contents

Advertisement

Quick Links

HP E8491B IEEE 1394 PC Link to VXI Configuration and User's Guide
Introduction .................................................................................................................. 11
Component Overview ......................................................................................... 11
The HP E8491B PC Link to VXI Interconnect ............................................ 11
The HP I/O Libraries .................................................................................... 11
Using this Manual .............................................................................................. 11
Chapter 2: Interface Installation and Configuration ..................................... 11
Appendix A: Specifications .......................................................................... 12
Additional Information ........................................................................................ 12
Chapter 2
Interface Installation and Configuration ................................................................... 13
Step 1: Installing the IEEE 1394Host Adapter .................................................... 13
Where to go Next .......................................................................................... 17
Step 2: Installing the HP E8491B Interconnect .................................................. 17
Alternate Configurations .............................................................................. 19
Where to go Next .......................................................................................... 20
Step 3: Installing VXI Instruments ...................................................................... 20
Installing C-size Instruments ........................................................................ 21
Installing A- and B-size Instruments ............................................................ 22
Step 4: Installing the HP I/O Libraries ................................................................ 24
Configuring the HP E8491B Interconnect .................................................... 24
Editing the HP E8491B Configuration ......................................................... 26
Step 5: Installing HP VXIplug&play Instrument Drivers ................................... 28
Step 6. Verifying the Installation ........................................................................ 29
Using Instrument Soft Front Panels .............................................................. 29
Viewing the Resource Manager Output ....................................................... 30
Troubleshooting Installation Problems ............................................................... 33
Running the Resource Manager .......................................................................... 33
............................................................................................................. 6
................................................................................................................. 6
Conformity............................................................................................ 7
................................................................................................ 9
...................................................................................................... 13
...................................................... 11
Contents
Contents
1

Advertisement

Table of Contents
loading

Summary of Contents for HP E8491B IEEE 1394

  • Page 1: Table Of Contents

    Contents HP E8491B IEEE 1394 PC Link to VXI Configuration and User’s Guide Edition 2 Safety Symbols ......................6 WARNINGS ......................... 6 Declaration of Conformity.................... 7 Reader Comment Sheet ....................9 Chapter 1 Introduction ........................11 Using the IEEE 1394 Serial Bus in VXI Systems ............
  • Page 2 VXI Data Transfers ..................60 OHCI-Compatible Host Adapter and Interface Cable ........61 The HP E8491B PC to VXI Interconnect ............62 Using the HP E8491B with the HP E1406 Command Module ....64 The HP I/O Libraries ................... 64 Appendix A Specifications ........................
  • Page 3 Appendix B Editing the HP E8491B Resource Manager Configuration ........69 Introduction......................... 69 Configuration File Overview ................69 The names.cf Configuration File ..............72 The oride.cf Configuration File ..............72 The vmedev.cf Configuration File ..............72 The cmdrsrvt.cf Configuration File .............. 72 The dynamic.cf Configuration File ...............
  • Page 4 Contents...
  • Page 5: Edition 2

    3. HP does not warrant that the operation of HP products will be interrupted or error free. If HP is unable, within a reasonable time, to repair or replace any product to a condition as warranted, customer will be entitled to a refund of the purchase price upon prompt return of the product.
  • Page 6: Safety Symbols

    Documentation History All Editions and Updates of this manual and their creation date are listed below. The first Edition of the manual is Edition 1. The Edition number increments by 1 whenever the manual is revised. Updates, which are issued between Editions, contain replacement pages to correct or add additional information to the current Edition of the manual.
  • Page 7: Declaration Of Conformity

    Supplementary Information: The product herewith complies with the requirements of the Low Voltage Directive 73/23/EEC and the EMC Directive 89/336/EEC (inclusive 93/68/EEC) and carries the "CE" mark accordingly. Tested in a typical configuration in an HP C-Size VXI mainframe. Jim White, QA Manager...
  • Page 8 Notes:...
  • Page 9: Reader Comment Sheet

    Please fold and tape for mailing Reader Comment Sheet HP E8491B IEEE 1394 PC Link to VXI Configuration and User’s Guide Edition 2 You can help us improve our manuals by sharing your comments and suggestions. In appreciation of your time, we will enter you in a quarterly drawing for a Hewlett-Packard Palmtop Personal Computer (U.S.
  • Page 11: Chapter 1 Introduction

    The bus links the PC backplane to the VXI mainframe backplane. This manual describes the implementation, configuration, and use of this interface. Component Implementation of the IEEE 1394 serial bus as an I/O interface for HP VXI systems is provided through three components and two operating systems: Overview •...
  • Page 12: Chapter 3: Vxi Programming Using The Ieee 1394 Serial Bus

    HP VISA and HP SICL manuals for detailed information. Also, included with the HP I/O Libraries is the utility ‘I_O Config’. This utility is used to configure the HP E8491B and has a help file associated with Note Pop-up or pull-down menus displayed by the HP I/O Libraries software will show I/O Libraries as “I_O Libraries”...
  • Page 13: Interface Installation And Configuration

    Step 3: Installing VXI Instruments ....• Step 4: Installing the HP I/O Libraries ....•...
  • Page 14 The layout of a typical host adapter is shown in Figure 2-1. 12 VDC Power Connector External IEEE 1394 Connectors Figure 2-1. Layout of a Typical OHCI-Compatible PCI-to-IEEE 1394 Host Adapter. WARNING Turn off and disconnect the power to your computer and to any peripheral devices before installing the host adapter.
  • Page 15 PCI expansion slots (usually white or ivory) shared slot Figure 2-2. Locating a PCI bus Expansion Slot. Note Many computer PCI systems have one pair of ISA and PCI slots close to each other. This saves space and allows you to install either an ISA card or a PCI card in the slot pair.
  • Page 16 4. Align the bus contacts on the bottom of the host adapter with the PCI bus slot. Carefully, but firmly, press the adapter into the slot. Host Adapter Figure 2-4. Installing the Host Adapter. 5. Secure the host adapter bracket to the computer chassis with the screw from the expansion slot cover removed in step C.
  • Page 17: Where To Go Next

    There are no configuration switches on the HP E8491B. The device’s logical address is 0 and it provides the system’s resource manager functionality via software that is part of the HP I/O Libraries. Its VXI servant area is 255, therefore; it is the interface to all VXI devices with logical addresses between 1 and 255.
  • Page 18 Figure 2-6. Installing the HP E8491B in the VXI Mainframe. 3. Tighten the retaining screws on the top and bottom of the module. Connecting the HP E8491B to the Host Adapter 4.
  • Page 19: Alternate Configurations

    IEEE 1394 bus. Alternate Configurations Certain applications may include the HP E1406A Command Module as an HP-IB interface to selected instruments. In this configuration, the E8491B must be the resource manager since its logical address is always 0. It is generally installed in mainframe slot 0 so that it also provides the system’s...
  • Page 20: Where To Go Next

    Continue with “Step 3: Installing VXI Instruments.” • If your VXI instruments are already installed: Proceed to “Step 4: Installing the HP I/O Libraries.” Step 3: Installing Generally, any VXI instrument can be installed in any slot other than slot 0.
  • Page 21: Installing C-Size Instruments

    Installing C-size Figure 2-8 shows the installation of C-size instruments. Instruments seat the module by retaining pushing in the screws extraction levers extraction levers slide the module into the mainframe until it plugs into the backplane connectors Figure 2-8. Installing C-size Instruments. Caution To prevent damage to the VXI instruments being installed, remove power from the mainframe or set the power switch to...
  • Page 22: Installing A- And B-Size Instruments

    Figure 2-9 shows the installation of a B-size instrument using a module carrier. The procedure is described in the following three steps. 1. Install the HP E1403 or E1407 A/B-size Module Carrier into the mainframe. This is done by aligning the top and bottom of the carrier with the card guides and slowly pushing the carrier into the mainframe.
  • Page 23 Figure 2-9. Installing A- and B-size VXI Instruments. Chapter 2 Interface Installation and Configuration...
  • Page 24: Step 4: Installing The Hp I/O Libraries

    Step 4: Installing The HP I/O Libraries CD contains the software required to use the IEEE 1394 interface in a VXI system. It also includes the OHCI-compatible host the HP I/O Libraries adapter drivers. Note Refer to Chapter 4: IEEE 1394 Fundamentals and Interface Overview for more information on the HP I/O Libraries and related software.
  • Page 25 I/O Libraries and configuring the HP E8491B. Clicking on the HP icon brings up a pop-up menu like that shown in Figure 2-13. Click on “Run I/O Config”. Either method described in this step brings up a configuration window similar to Figure 2-11.
  • Page 26: Editing The Hp E8491B Configuration

    Click OK to close the utility and complete the configuration. Editing the HP E8491B When it is necessary to edit your configuration, click ‘I_O Config’ in the HP I/O Libraries program group (Figure 2-10). To edit the HP E8491B, click Configuration (highlight) the configured interface (“vxi VXI0”) in the utility (Figure...
  • Page 27: Editing The Hp E8491B Configuration On Windows 95 Platforms

    The ‘Help’ button provides information on each item in the window. Editing the HP E8491B After installing the HP I/O Libraries and configuring the HP E8491B on the Windows 95 platform, an hp icon is placed in the bottom right corner of Configuration on your PC monitor (Figure 2-13).
  • Page 28: Step 5: Installing Hp Vxiplug&Play Instrument Drivers

    Once the drivers have been installed, reboot the PC. Note If you are updating an existing VXI system to use the HP E8491B and IEEE 1394 serial bus, we highly recommend that you obtain the latest version of the HP VXIplug&play drivers. Information on the latest drivers available can be found on the World Wide Web at http://www.hp.com/go/inst_drivers .
  • Page 29: Step 6. Verifying The Installation

    Step 6. Verifying the Once you have installed the hardware, the I/O Libraries, the VXIplug&play drivers, and have re-booted the PC, you should now verify the installation. Installation This ensures that you can communicate with instruments in the system over the IEEE 1394 interface.
  • Page 30: Viewing The Resource Manager Output

    Manager Output using the I/O Libraries’ ‘I/O Config’ utility. 1. Press the HP I/O Libraries Control icon in the lower right-hand side of your monitor and select “Edit VXI Resource Manager”. In the Resource Manager pop-up window, select “RM Output”. The resource manager output will show the “VXI Current Configuration”...
  • Page 31 2b. Perform steps 1, 2 and 3 in Figure 2-16. 1. Select Enable Advanced to activate the Advanced Settings controls. 2. Click Resource Manager to bring up the window below. 3. Click RM Output to view the resource manager output. Figure 2-16.
  • Page 32 Figure 2-17 is a partial listing of a typical resource manager output. Figure 2-17. Typical Resource Manager Output (partial listing). 32 Interface Installation and Configuration Chapter 2...
  • Page 33: Troubleshooting Installation Problems

    (it is possible that all slots are bus-mastering). 4. In addition to the above, you may need to move the HP E8491B to a separate IRQ line in the PC. PCI allows up to four devices sharing an IRQ line.
  • Page 34 34 Interface Installation and Configuration Chapter 2...
  • Page 35: Vxi Programming Using The Ieee 1394 Serial Bus

    Optimizing Programs ......• HP E8491B Triggering ......•...
  • Page 36: Optimizing Programs

    VXI<n> or SICL interface name vxi. The interface number is assigned using the ‘I/O Config’ utility (see Chapter 2). In the examples above, the logical address of the HP E1563 digitizer is 24 and INSTR indicates a VISA instrument control resource.
  • Page 37: Block Transfers Using Hp Vxiplug&Play Drivers

    The following extended SICL function is unique to the HP E8491B (must be used on the E8491B) and is used for block transfers over the bus: iblockmovex Additionally, the extended SICL functions shown below must be used when porting SICL programs to the IEEE 1394 bus from other I/O interfaces:...
  • Page 38 // open a VXIplug&play device session and reset the digitizer errStatus = hpe1563_init(E1563,0,1,&vi); if( VI_SUCCESS > errStatus) hpe1563_error_message( vi, errStatus, err_message); printf("Unable to open %s\n", E1563); printf("hpe1563_init() returned error message %s\n", err_message); return; // enable digitizer error detection hpe1563_errorQueryDetect(vi, 1); // set a 5s timeout period to allow functions to complete errStatus = hpe1563_timeOut(vi, 5000);...
  • Page 39 1. The maximum block transfer size allowed by the HP E1563A hpe1563_fetchAll_Q function is 2,000 bytes. 2. This manual is included on the HP I_O Libraries CD. By viewing the manual from the CD, you can cut and paste this program into your development environment.
  • Page 40: Block Transfers Using Hp Visa

    HP E1563A digitizer and the HP VISA function viMoveIn32. HP VISA // 1563visa.CPP - This program configures the HP E1563A digitizer using its // VXIplug&play driver and then transfers a block of 60,000 readings from // the digitizer’s FIFO memory to the computer using the VISA viMoveIn32 // function.
  • Page 41 (i=0; i<10; i+=2) printf("%lf\n\n",dataPtr[i]*range/32768); // reset digitizer following the transfer errStatus = hpe1563_reset(vi); // close the device session hpe1563_close(vi);// HP VXIplug&play session //************************************************************ // error checking routine void check (ViSession vi, ViStatus errStatus) ViInt32 inst_err; ViChar err_message[256];...
  • Page 42 HP VXIplug&play driver function calls and by HP VISA function (i.e viMoveIn32) calls. 2. This manual is included on the HP I_O Libraries CD. By viewing the manual from the CD, you can cut and paste this program into your development environment.
  • Page 43: Hp E8491B Triggering

    Trig Out port to +30V. * The E8491B Trig In and Trig Out ports are configured using the HP I/O Libraries ‘I/O Config’ utility. Using Triggers The triggering functionality of the HP E8491B is accessed through the...
  • Page 44: Configuring The E8491B Trig In And Trig Out Ports

    Configuring the E8491B Configuration of the E8491B external ‘Trig In’ and ‘Trig Out’ ports is done through the HP I/O Libraries’ ‘I/O Config’ utility. This portion of the utility Trig In and Trig Out Ports is shown in the following figure.
  • Page 45: Triggering Example

    ‘Trig In’ port is routed to TTL trigger lines on the VXI backplane. // TRIGSICL.CPP - This program demonstrates how trigger signals are // generated and routed using the HP E8491B. The program uses SICL functions // to generate and route a trigger signal from the face plate ‘Trig Out’...
  • Page 46 ‘Trig Out’ port which is connected by a jumper wire to the ‘Trig In’ port. 4. This manual is included on the HP I/O Libraries CD. By viewing the manual from the CD, you can cut and paste this program into your development environment.
  • Page 47: Trigger Pull Up

    Outp ut Trig g er State LH = N orm ally Low , Hig h True Outp ut Trig g er State HL = N orm ally Hig h, Low True (Default) Figure 3-2. Using a Pull Up on the HP E8491B ‘Trig Out’ Port. Using HP E8491B The E8491B has 128 kBytes of shared (VME) memory.
  • Page 48 Another way to view the output is using the SICL ivxisc utility contained in the <drive:>\siclnt\bin or sicl95\bin directory. This utility is an executable that is used with the SICL logical unit number (see “Editing the HP E8491B Configuration” in Chapter 2) to return the configuration output of the resource manager.
  • Page 49: Example Programs

    Example Programs The following examples show an application using the E8491B’s shared memory. In the program, 8,000 readings are taken with the HP E1410 multimeter. Because the E1410 has only enough memory to store 4,096 readings internally, all 8,000 readings are stored in shared memory and then transferred to the PC.
  • Page 50: Storing Readings In Shared Memory - Hp Visa Example

    // SHAR_VISA.CPP - This program demonstrates how to access the // HP E8491B’s shared memory. The program stores readings taken // by the HP E1410 multimeter in HP E8491B shared memory, and then // transfers those readings from shared memory to the computer.
  • Page 51 // set up byte swap function for readings transferred from // E8491B shared memory to the PC #define SWAP_FLOAT64(rdgs) { unsigned char src[8]; *((double *)src) = *((double *)rdgs); ((unsigned char *) (rdgs))[0] = ((unsigned char*) (src))[7]; \ ((unsigned char *) (rdgs))[1] = ((unsigned char*) (src))[6]; \ ((unsigned char *) (rdgs))[2] = ((unsigned char*) (src))[5];...
  • Page 52 // set 8000 readings errStatus = hpe1410_sampCoun(vi, 8000); check(vi, errStatus); // store the readings in HP E8491B shared memory // specify the E8491B shared memory base address errStatus = hpe1410_memVmeAddr(vi, start_addr); check(vi, errStatus); // specify the amount of memory required // (8000 readings * 8 bytes/reading) errStatus = hpe1410_memVmeSize(vi, 64000);...
  • Page 53 Error : %ld, %s\n", inst_err, err_message); else // get driver error message hpe1410_error_message(vi, errStatus, err_message); // display the error printf("HP E1410 Driver Error : %ld, %s\n", errStatus, err_message); hpe1410_reset(vi);// reset the multimeter hpe1410_close(vi);// close the multimeter handle exit(1); return;...
  • Page 54: Storing Readings In Shared Memory - Sicl Example

    Depending on the storage formats of your particular instruments, swapping may not be necessary. 2. This manual is included on the HP I/O Libraries CD. By viewing the manual from the CD, you can cut and paste this program into your development environment.
  • Page 55 // set a 10 us aperture time iprintf(e1410, "VOLT:APER 10.0e-6\n"); // set 8000 readings iprintf(e1410, "SAMP:COUN 8000\n"); // store the readings in HP E8491B shared memory // specify the E8491B shared memory base address iprintf(e1410, "MEM:VME:ADDR %d\n", start_addr); // specify the amount of memory required // (8000 readings * 8 bytes/reading) iprintf(e1410, "MEM:VME:SIZE 64000\n");...
  • Page 56 Depending on the storage formats of your particular instruments, swapping may not be necessary. 2. This manual is included on the HP I/O Libraries CD. By viewing the manual from the CD, you can cut and paste this program into your development environment.
  • Page 57: Ieee 1394 Fundamentals And Interface Overview

    The HP E8491B PC to VXI Interconnect ....• The HP I/O Libraries....... IEEE 1394 Topology Optimizing the IEEE 1394 bus must include an understanding of the topology and terms associated with its use.
  • Page 58: Features Of The Ieee 1394 Bus

    VXI mainframe 3. Child A node (HP E8491B) is a child if it is farther from the root than an adjacent node. In Figure 1, VXI mainframe 3 is a child node because it is farther from the root than VXI mainframe 1.
  • Page 59: Optimizing The Configuration

    Optimizing the I/O performance is impacted slightly by the hardware configuration.The VXI mainframe closest to the PC (root node) has the highest priority. For Configuration 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.
  • Page 60: Asynchronous Data Transfers

    2. A fairness interval consists of one or more subactions in which data packets are transferred over the bus. A fairness interval is as follows: 1. The interval begins when devices (HP E8491B’s) arbitrate for control of the bus. 2. When a device is granted control, it transfers its data packet and is then disabled from arbitrating until the next fairness interval.
  • Page 61: Ohci-Compatible Host Adapter And Interface Cable

    OHCI-Compatible The OHCI-compatible PCI-to-IEEE 1394 host adapter is a PC plug-in card capable of transferring data at up to 400 MBits/second. The adapter has three Host Adapter and external IEEE 1394 ports. Each OHCI adapter represents one bus segment Interface Cable capable of supporting up to 63 nodes.
  • Page 62: The Hp E8491B Pc To Vxi Interconnect

    HP E1406A Command Module - a VXI resource manager/slot 0 device common in many GPIB-based systems. A VXI mainframe with the HP E8491B in slot 0 can also be powered on/off at any time without affecting other mainframes in the system.
  • Page 63 VXI systems. Reset Button Reset Resets the HP E8491B and all instruments in the mainframe. Re-runs the resource manager. HP E8491B Figure 4-5. The HP E8491B IEEE 1394 to VXI Interconnect. Chapter 4 IEEE 1394 Fundamentals and Interface Overview...
  • Page 64: Using The Hp E8491B With The Hp E1406 Command Module

    Using the HP E8491B 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 with the HP E1406 instruments. In this configuration, however, the E8491B must be the Command Module mainframe’s resource manager.
  • Page 65: Appendix A Specifications

    * 200 MHz Pentium PC 32 bit: 1.0 MByte/s to PC 1.0 MByte/s to HP E8491B 400 MHz Selectron Host Languages C/C++, Visual Basic, HP VEE, LabView VXI Characteristics General VXI Device Type Message-based commander Data transfer bus Slot 0 functionality...
  • Page 66: Clk 10

    CLK 10 Clk In Input Frequency Stability 100 ppm Duty Cycle 50% ± 5% Clk Out Output Frequency Stability 100 ppm Duty Cycle 50% ± 5% External Trigger Input Connector SMB (on faceplate) Levels TTL, CMOS, ECL, 0 to +33V Programmable Threshold 0 to +30V Range...
  • Page 67: Trigger Delays

    Trigger Delays Maximum delay from TTLTRG to 60 ns ECLTRG Maximum delay from ECLTRG to 60 ns TTLTRG Maximum delay from Trig In port 300ns to ECLTRG or TTLTRG Maximum delay from TTLTRG or 100 ns ECLTRG to Trig Out port Cooling Watts / slot ∆...
  • Page 68 68 Specifications Appendix A...
  • Page 69: Editing The Hp E8491B Resource Manager Configuration

    \sicl95\defaults directory when the HP I/O Libraries are installed. Except Overview where noted, the following files can be edited from the HP I/O Libraries’ ‘I/O Config’ utility (Figure B-1) as shown on the following pages. When editing a file, note the following: 1.
  • Page 70 I_O Config. Select configured HP E8491B interface and then click Edit. This brings up the window (partial view) in Figure B-2. Figure B-1. Editing Configuration Files from the ‘I/O Config’ Utility. 70 Editing the HP E8491B Resource Manager Configuration Appendix B...
  • Page 71 3. Check Enable Advanced and then click Resource Manager... 4. Select the portion of the configuration to edit and then click Edit. Figure B-2. Editing Configuration Files from the ‘I/O Config’ Utility (cont’d). Appendix B Editing the HP E8491B Resource Manager Configuration...
  • Page 72: The Names.cf Configuration File

    This file is edited by selecting “Edit list of dynamically configured devices” in the Resource Manager window (Figure B-2). 72 Editing the HP E8491B Resource Manager Configuration Appendix B...
  • Page 73: The Irq.cf Configuration File

    Within the <drive:>\siclnt\bin or \sicl95\bin directory are utility functions that view the resource manager output (ivxisc) and which clear the Overview HP E8491B interface (iclear) and run the resource manager (if the iproc utility is running). Using ivxisc The ivxisc function is used to view the resource manager output. ivxisc is executed from the Windows command (DOS) prompt (..\siclnt\bin or...
  • Page 74 <logical unit> is the value from the ‘Logical Unit’ window in the HP I/O Libraries ‘I/O Config’ utility. An example of the output produced by ivxisc is shown in Figures B-3 and B-4. Figure B-3. Output of ivxisc. 74 Editing the HP E8491B Resource Manager Configuration...
  • Page 75: Using Iclear

    Figure B-4. Output of ivxisc (cont’d). Using iclear The iclear function is used to clear the interface (HP E8491B) or individual message-based instruments in the VXI mainframe. iclear is executed from the DOS command prompt (..\siclnt\bin or \sicl95\bin directory) as: iclear <SICL interface name, [logical address]>...
  • Page 76 76 Editing the HP E8491B Resource Manager Configuration Appendix B...
  • Page 77: Index

    Index HP E8491B IEEE 1394 PC Link to VXI Configuration and User’s Guide alternate configurations E1406 applying power using the E8491B with asynchronous data transfers E8491B configuring editing the configuration Windows 95 platforms BIOS examples Block – HP VISA block data transfers block data transfers HP VXIplug&play block data transfers...
  • Page 78 IRQ line irq.cf shared memory ivxisc locating using HP VISA locating using SICL shared memory examples SICL programs loading porting for use with the E8491B power supply soft front panels locating E8491B shared memory...
  • Page 79 Using using HP E8491B shared memory using instrument soft front panels using the HP E8491B with the HP E1406 Command Module utility functions iclear ivxisc verifying the installation viewing the resource manager output vmedev.cf...
  • Page 80 80 Index...

Table of Contents