National Instruments MXI VXI-PCI8026 Getting Started
National Instruments MXI VXI-PCI8026 Getting Started

National Instruments MXI VXI-PCI8026 Getting Started

Ni-vxi/ni-visa software for linux
Table of Contents

Advertisement

Quick Links

MXI
Getting Started with Your
VXI/VME-PCI8026 and the
NI-VXI
/NI-VISA
Software
for Linux
VXI/VME-PCI8026 for Linux
December 1999 Edition
Part Number 322651A-01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MXI VXI-PCI8026 and is the answer not in the manual?

Questions and answers

Summary of Contents for National Instruments MXI VXI-PCI8026

  • Page 1 ™ Getting Started with Your VXI/VME-PCI8026 and the ™ ™ NI-VXI /NI-VISA Software for Linux VXI/VME-PCI8026 for Linux December 1999 Edition Part Number 322651A-01...
  • Page 2 Switzerland 056 200 51 51, Taiwan 02 2377 1200, United Kingdom 01635 523545 For further support information, see the Technical Support Resources appendix. To comment on the documentation, send e-mail to techpubs@ni.com © Copyright 1999 National Instruments Corporation. All rights reserved.
  • Page 3: Important Information

    Any action against National Instruments must be brought within one year after the cause of action accrues. National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control.
  • Page 4 Classification requirements are the same for the Federal Communications Commission (FCC) and the Canadian Department of Communications (DOC). Changes or modifications not expressly approved by National Instruments could void the user’s authority to operate the equipment under the FCC Rules.
  • Page 5 interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures: • Reorient or relocate the receiving antenna. •...
  • Page 6: Table Of Contents

    Onboard DRAM ....................2-3 Install the PCI-MXI-2 ......................2-3 Chapter 3 VXI-MXI-2 Configuration and Installation Configure the VXI-MXI-2....................3-1 Front Panel Features ..................3-3 Removing the Metal Enclosure .................3-3 VXIbus Logical Address ...................3-3 VXIbus Slot 0/Non-Slot 0 .................3-5 © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 7 Load Configuration from File ................6-2 Revert to Current Configuration ............... 6-3 Logical Address Configuration Editor .............. 6-3 Device Settings ................... 6-3 Logical Address..............6-3 Device Type ................. 6-3 Address Space ..............6-4 VXI/VME-PCI8026 for Linux viii © National Instruments Corporation...
  • Page 8 Request Level ...............6-16 VXI/VME Fair Requester.............6-16 Arbiter Timeout ..............6-16 MXI Bus Options ....................6-16 MXI Bus System Controller ...............6-17 MXI Bus Timeout Value..............6-17 Advanced MXI Settings..............6-17 MXI Auto Retry..............6-17 Transfer Limit...............6-18 Parity Checking ..............6-18 © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 9 Physical ......................A-6 Electrical ......................A-6 Performance ...................... A-7 VME-MXI-2........................A-8 MXIbus Capability Descriptions ..............A-8 VMEbus Capability Codes................A-8 Requirements ....................A-10 Environmental ....................A-10 Physical ......................A-10 Electrical ......................A-10 Performance ...................... A-11 VXI/VME-PCI8026 for Linux © National Instruments Corporation...
  • Page 10 Figure 3-8. SMB Trigger Input Termination .............3-13 Figure 3-9. MXIbus Termination................3-14 Figure 3-10. EEPROM Operation................3-16 Figure 3-11. SIMM Size Configuration ...............3-18 Figure 3-12. MXI-2 Cable Configuration Using a PCI-MXI-2 and a VXI-MXI-2 .............3-20 © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 11 VME-MXI-2 Hardware Default Settings ..........1-13 Table 1-7. VXI/VME-MXI-2 Configuration Editor Default Settings ..... 1-13 Table 2-1. PCI-MXI-2 DRAM Configurations ............2-3 Table 3-1. VXI-MXI-2 DRAM Configurations ............3-17 Table 4-1. VME-MXI-2 DRAM Configurations ............ 4-9 VXI/VME-PCI8026 for Linux © National Instruments Corporation...
  • Page 12: About This Manual

    About This Manual This manual contains instructions for installing and configuring the National Instruments VXI-PCI8026 or VME-PCI8026 Series interface kit for Linux. The VXI-PCI8026 kit includes a VXI-MXI-2 module that plugs into a VXI mainframe and links your PCI-based computer to the VXIbus.
  • Page 13: Conventions

    About This Manual Begin by reading this getting started manual to guide you through the installation and configuration of the hardware and software. You should install and configure the components of the VXI/VME-PCI8026 kit in the order in which this manual describes them. Be sure to review the Quick Start and Default Settings sections in Chapter 1, Introduction and Quick Start.
  • Page 14: Related Documentation

    Multisystem Extension Interface Bus Specification, Version 2.0, National Instruments Corporation • PCI Local Bus Specification, Revision 2.0, PCI Special Interest Group • VXI-MXI-2 User Manual, National Instruments Corporation • VME-MXI-2 User Manual, National Instruments Corporation • VXI-6, VXIbus Mainframe Extender Specification, Rev. 2.0, VXIbus Consortium ©...
  • Page 15: Introduction And Quick Start

    VXI/VME-MXI-2 means that information applies to either the VXI-MXI-2 or the VME-MXI-2. The following flowchart shows where to turn in this manual for more details on configuring and using the hardware and software. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 16: How To Use This Manual

    Chapter 1 Introduction and Quick Start How to Use This Manual Gather What You Need Chapter 1 to Get Started Configure and Install the Chapter 2 PCI-MXI-2 Using VXI or VME? Configure and Install the Configure and Install the Chapter 3 Chapter 4 VXI-MXI-2 VME-MXI-2...
  • Page 17: Vxi/Vme-Pci8026 Kit Overview

    NI-VXI/VISA software media for the PCI-MXI-2 MXI-2 Description MXI-2 is the second generation of the National Instruments MXIbus product line. The MXIbus is a general-purpose, 32-bit, multimaster system bus on a cable. MXI-2 expands the number of signals on a standard MXI cable by including VXI triggers, all VXI interrupts, CLK10, and all of the utility bus signals (SYSFAIL*, SYSRESET*, and ACFAIL*).
  • Page 18: Hardware Description

    MXI block data transfers which surpass previous block data throughput benchmarks. The new synchronous MXI block protocol increases MXI-2 throughput to a maximum of 33 MB/s between two MXI-2 devices. All National Instruments MXI-2 boards can initiate and respond to synchronous MXI block cycles. Note In the remainder of this manual, the term MXIbus refers to MXI-2.
  • Page 19: Software Description

    NI-VISA has a comprehensive library of software routines not only for VXI/VME programming, but also for GPIB, GPIB-VXI, and serial. You can use this software to program instruments connected via different types of interfaces. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 20: Optional Software

    Optional Software Your VXI/VME-PCI8026 kit includes the NI-VXI/VISA bus interface software. In addition, you can use National Instruments LabVIEW to ease your programming task. This standardized program matches the modular virtual instrument capability of VXI and can reduce your VXI/VMEbus software development time.
  • Page 21: Hardware Installation

    0 or 1. These are the default configurations for the PCI-MXI-2 and the VXI-MXI-2, respectively. For more details on the VXI-MXI-2 or VME-MXI-2 hardware, refer to either Chapter 3, VXI-MXI-2 Configuration and Installation, or Chapter 4, VME-MXI-2 Configuration and Installation. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 22: Installing And Loading The Ni-Vxi/Visa Software For Linux

    Chapter 1 Introduction and Quick Start Installing and Loading the NI-VXI/VISA Software for Linux For information on installing, uninstalling, or using the NI-VXI/VISA software, refer to Chapter 5, NI-VXI/VISA Software Installation. VME Users When used with a VXI-MXI-2, identifies and configures the VXI resman devices, including the VXI-MXI-2.
  • Page 23: Default Settings

    U17 Switch 1 (FOV) OFF: PCI-MXI-2 boots off the user-configured half of the EEPROM. U17 Switch 2 (TST) OFF: Factory configuration of the EEPROM is protected. U17 Switch 3 (POS) OFF: Do not alter this setting. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 24: Table 1-2. Pci-Mxi-2 Logical Address Configuration Editor Default Settings

    Chapter 1 Introduction and Quick Start Table 1-1. PCI-MXI-2 Hardware Default Settings (Continued) Hardware Component Default Setting U17 Switch 4 (CT) ON: Do not alter this setting. DRAM SIMM Installed Per customer order Table 1-2. PCI-MXI-2 Logical Address Configuration Editor Default Settings Editor Field Default Setting Logical Address...
  • Page 25: Table 1-3. Pci-Mxi-2 Device Configuration Editor Default Settings

    MXI CLK10 Receive MXI Transfer Limit Unlimited VXImove uses Synchronous MXI Enabled MXI-2 Auto Retry Enabled A24/A32 Write Posting Disabled User Window Size 64 KB Driver Window Size 32 KB Expansion ROM Enabled © National Instruments Corporation 1-11 VXI/VME-PCI8026 for Linux...
  • Page 26: Vxi/Vme-Mxi-2

    Chapter 1 Introduction and Quick Start VXI/VME-MXI-2 This section summarizes the hardware and software default settings for the VXI-MXI-2 and VME-MXI-2. Table 1-5. VXI-MXI-2 Hardware Default Settings Hardware Component Default Setting Logical Address (U43) VXIbus Slot 0/Non-Slot 0 (W2) Automatic detection VXIbus Local Bus (S8, S9) Both OFF: Single VXI-MXI-2 VXIbus CLK10 Routing (W3)
  • Page 27: Table 1-6. Vme-Mxi-2 Hardware Default Settings

    Disabled Interlocked Mode Disabled VXI/VME System Controller Auto 125 µs VXI/VME Bus Timeout Value VXI/VME Auto Retry Disabled VXI/VME Transfer Limit VXI/VME Arbiter Type Priority VXI/VME Request Level VXI/VME Fair Request Enabled © National Instruments Corporation 1-13 VXI/VME-PCI8026 for Linux...
  • Page 28 Chapter 1 Introduction and Quick Start Table 1-7. VXI/VME-MXI-2 Configuration Editor Default Settings (Continued) Editor Field Default Setting VXI/VME Arbiter Timeout Enabled MXI System Controller Auto MXI Bus Timeout Value 1 ms MXI Auto Retry Disabled MXI Transfer Limit Unlimited MXI Parity Checking Enabled MXI Fair Requester...
  • Page 29: Pci-Mxi-2 Configuration And Installation

    This section describes how to configure the following options on the PCI-MXI-2: • Configuration EEPROM • Onboard DRAM Figure 2-1 shows the PCI-MXI-2. The drawing shows the location and factory-default settings on the module. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 30: Figure 2-1. Pci-Mxi-2 Parts Locator Diagram

    Chapter 2 PCI-MXI-2 Configuration and Installation 1 U17 2 DRAM Figure 2-1. PCI-MXI-2 Parts Locator Diagram VXI/VME-PCI8026 for Linux www.ni.com...
  • Page 31: Configuration Eeprom

    Consult your computer user manual or technical reference manual for specific instructions and warnings. Plug in your PCI-based computer before installing the PCI-MXI-2. The power cord grounds the computer and protects it from electrical damage while you are installing the module. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 32: Figure 2-2. Pci-Mxi-2 Installed In A Computer

    Chapter 2 PCI-MXI-2 Configuration and Installation Warning To protect both yourself and the computer from electrical hazards, the computer should remain off until you are finished installing the PCI-MXI-2 module. Remove the top cover or access port to the PCI bus. Select any available PCI expansion slot.
  • Page 33: Vxi-Mxi-2 Configuration And Installation

    The drawing shows the location and factory-default settings of most of the configuration switches and jumpers on the module. Notice that switch S6 is accessible only by removing the front cover. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 34: Figure 3-1. Vxi-Mxi-2 Right-Side Cover

    Chapter 3 VXI-MXI-2 Configuration and Installation 1 U35 4 S8 7 U43 10 S4 2 W2 5 S9 8 S6 11 S3 3 W3 6 S7 9 S5 12 S2 Figure 3-1. VXI-MXI-2 Right-Side Cover VXI/VME-PCI8026 for Linux www.ni.com...
  • Page 35: Front Panel Features

    VXI configuration registers located on the device. With unique logical addresses, each VXIbus device in the system is assigned 64 bytes of configuration space in the upper 16 KB of A16 space. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 36 Chapter 3 VXI-MXI-2 Configuration and Installation Logical address 0 is reserved for the Resource Manager in the VXIbus system. Because the VXI-MXI-2 cannot act as a Resource Manager, do not configure the VXI-MXI-2 with a logical address of 0. Some VXIbus devices have dynamically configurable logical addresses. These devices have an initial logical address of hex FF or 255, which indicates that they can be dynamically configured.
  • Page 37: Vxibus Slot 0/Non-Slot 0

    Do not install a device configured for Slot 0 into another slot without first Caution reconfiguring it to either Non-Slot 0 or automatic configuration. Neglecting to do this could damage the device, the VXIbus backplane, or both. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 38: Figure 3-3. Vxibus Slot Configuration

    Chapter 3 VXI-MXI-2 Configuration and Installation Slot 0 Auto Nonslot 0 a. Automatic Slot 0 Detection (Default) Slot 0 Auto Nonslot 0 b. Manual Slot 0 Configuration Slot 0 Auto Nonslot 0 c. Manual Nonslot 0 Configuration Figure 3-3. VXIbus Slot Configuration When the VXI-MXI-2 is installed in Slot 0, it becomes the VMEbus System Controller.
  • Page 39: Vxibus Local Bus

    Figure 3-4c shows the setting to use if the VXI-MXI-2 is between two others. Use the setting of Figure 3-4d for the VXI-MXI-2 located to the right of all others. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 40: Vxibus Clk10 Routing

    Chapter 3 VXI-MXI-2 Configuration and Installation VXI-MXI to left VXI-MXI to left VXI-MXI to right VXI-MXI to right b. Leftmost VXI-MXI-2 in Mainframe a. Single VXI-MXI-2 in Mainframe (Default) VXI-MXI to left VXI-MXI to left VXI-MXI to right VXI-MXI to right c.VXI-MXI-2 between Two Others d.
  • Page 41: Figure 3-5. Vxibus Clk10 Routing

    When switch S3 is set so that the VXI-MXI-2 receives the SMB CLK10 signal, you have the option to add a 50 is unused—its setting does not matter—when S3 is configured to drive the external CLK SMB signal. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 42 Chapter 3 VXI-MXI-2 Configuration and Installation You can use an additional switch, S5, to control the polarity of the external CLK SMB signal when S3 is configured to drive it. S5 is unused—its setting does not matter—when S3 is configured to receive the external CLK SMB signal.
  • Page 43: Figure 3-6. Smb Clk10 Settings

    50W Termination for SMB CLK10 (Effective only when S3 is set to “IN”) S4 Off SMB CLK10 Output Polarity (Effective only when S3 is set to “OUT” ) INVERTED NON-INVERTED d. Receive External CLK SMB with 50 Termination Figure 3-6. SMB CLK10 Settings © National Instruments Corporation 3-11 VXI/VME-PCI8026 for Linux...
  • Page 44: Trigger Input Termination

    Chapter 3 VXI-MXI-2 Configuration and Installation The VXI-MXI-2 can also drive or receive the MXIbus CLK10 signal. Switch S7 controls whether the VXI-MXI-2 drives MXIbus CLK10 from the VXIbus CLK10 or receives MXIbus CLK10. As shown earlier in Figure 3-5c, if W3 is configured to use the MXIbus CLK10 to generate the VXIbus CLK10 signal, switch S7 must be configured to receive MXIbus CLK10.
  • Page 45: Mxibus Termination

    U35 to control whether MXIbus termination is automatic (Figure 3-9a), on (Figure 3-9b), or off (Figure 3-9c). The settings of switches 3 and 4 have no effect on MXIbus termination. © National Instruments Corporation 3-13 VXI/VME-PCI8026 for Linux...
  • Page 46: Figure 3-9. Mxibus Termination

    Chapter 3 VXI-MXI-2 Configuration and Installation Use switch 2 of U35 to select whether you want the VXI-MXI-2 to automatically control termination of the MXIbus. Switch 1 of U35 lets you manually control whether to terminate the MXIbus when automatic termination is turned off.
  • Page 47: Configuration Eeprom

    4 of U35. Figure 3-10 shows the configuration settings for EEPROM operation. The settings of switches 1 and 2 have no effect on EEPROM configuration. © National Instruments Corporation 3-15 VXI/VME-PCI8026 for Linux...
  • Page 48: Figure 3-10. Eeprom Operation

    Chapter 3 VXI-MXI-2 Configuration and Installation Restore Factory Configuration Change Factory Configuration Automatic MXIbus Termination Terminate MXIbus a. Boot from User Configuration (Factory Configuration Protected) (Default) Restore Factory Configuration Change Factory Configuration Automatic MXIbus Termination Terminate MXIbus b. Boot from Factory Configuration (Factory Configuration Protected) Restore Factory Configuration Change Factory Configuration Automatic MXIbus Termination...
  • Page 49: Onboard Dram

    8 M × 32 or — 32 MB 8 M × 36 8 M × 32 or 8 M × 32 or 64 MB 8 M × 36 8 M × 36 © National Instruments Corporation 3-17 VXI/VME-PCI8026 for Linux...
  • Page 50: Install The Vxi-Mxi-2

    Refer to Table 3-1 for how to adjust the switch (ON or OFF) for all supported DRAM configurations. Many of the DRAM options are available from National Instruments. Install the VXI-MXI-2 This section contains general installation instructions for the VXI-MXI-2.
  • Page 51: Connect The Mxibus Cable

    However, in such a case the first cable needs to have a double connector on one end. You can use a cable with a single connector on each end to connect the last device on the MXIbus. © National Instruments Corporation 3-19 VXI/VME-PCI8026 for Linux...
  • Page 52: Figure 3-12. Mxi-2 Cable Configuration Using A Pci-Mxi-2 And A Vxi-Mxi-2

    Chapter 3 VXI-MXI-2 Configuration and Installation VXI Mainframe T IO ® MXI-2 Cable PCI-MXI-2 Interface Module VXI-MXI-2 Slot 0 Module To External Computer To Other Additional MXI-2 Cable Mainframes (Ordered Separately) Figure 3-12. MXI-2 Cable Configuration Using a PCI-MXI-2 and a VXI-MXI-2 When you have properly connected the MXI-2 cable, power on the VXIbus mainframe and then the computer.
  • Page 53: Vme-Mxi-2 Configuration And Installation

    VMEbus chassis. Figure 4-1 shows the VME-MXI-2. The drawing shows the location and factory-default settings of the configuration switches and jumpers on the module. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 54: Figure 4-1. Vme-Mxi-2 Parts Locator Diagram

    Chapter 4 VME-MXI-2 Configuration and Installation 1 S2 3 W2 5 DRAM Bank 1 2 U21 4 U20 6 DRAM Bank 0 Figure 4-1. VME-MXI-2 Parts Locator Diagram VXI/VME-PCI8026 for Linux www.ni.com...
  • Page 55: Front Panel Features

    A16 space. Also, when setting base addresses, keep in mind the grouping requirements set by the system hierarchy. See VXI-6, VXIbus Mainframe Extender Specification, for more information on setting base addresses on a multimainframe hierarchy. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 56: Vme-Mxi-2 Intermodule Signaling

    Chapter 4 VME-MXI-2 Configuration and Installation Figure 4-2 shows switch settings for A16 base address hex C040 and F000. a. Switch Set to A16 Base Address Hex C040 (Default) b. Switch Set to A16 Base Address Hex F000 Figure 4-2. Base Address Selection VME-MXI-2 Intermodule Signaling If you will be installing more than one VME-MXI-2 in a single VMEbus chassis, you must select a user-defined pin for use by the VME-MXI-2.
  • Page 57: Mxibus Termination

    Use switch 3 to select whether you want the VME-MXI-2 to automatically control termination of the MXIbus. Switch 4 lets you manually control whether to terminate the MXIbus when automatic termination is turned off. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 58: Figure 4-4. Mxibus Termination

    Chapter 4 VME-MXI-2 Configuration and Installation Switch 4 has no effect when switch 3 is set for automatic MXIbus termination; you must turn off automatic termination if you want to manually control termination. a. Automatic MXIbus Termination (Default) b. Terminate MXIbus (On) c.
  • Page 59: Configuration Eeprom

    1 of U21. Figure 4-5 shows the configuration settings for EEPROM operation. The settings of switches 3 and 4 have no effect on EEPROM configuration. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 60: Onboard Dram

    Chapter 4 VME-MXI-2 Configuration and Installation a. Boot from User Configuration (Factory Configuration Protected) (Default) b. Boot from Factory Configuration (Factory Configuration Protected) c. Boot from User Configuration (Factory Configuration Unprotected) d. Boot from Factory Configuration (Factory Configuration Unprotected) Figure 4-5. EEPROM Operation Onboard DRAM The VME-MXI-2 can accommodate up to two 1.35 in.
  • Page 61: Figure 4-6. Simm Size Configuration

    Figure 4-6. SIMM Size Configuration Refer to Table 4-1 for how to adjust the switch (ON or OFF) for all supported DRAM configurations. Many of the DRAM options are available from National Instruments. Table 4-1. VME-MXI-2 DRAM Configurations National Instruments...
  • Page 62: Install The Vme-Mxi-2

    Chapter 4 VME-MXI-2 Configuration and Installation Table 4-1. VME-MXI-2 DRAM Configurations (Continued) National Instruments Switch Setting Bank 0 Bank 1 Total DRAM Option? of S6 4 M × 32 or — 16 MB 4 M × 36 4 M × 32 or 4 M ×...
  • Page 63: Connect The Mxibus Cable

    However, in such a case the first cable needs to have a double connector on one end. You can then use a cable with a single connector on each end to connect the last device on the MXIbus. © National Instruments Corporation 4-11 VXI/VME-PCI8026 for Linux...
  • Page 64: Figure 4-7. Mxi-2 Cable Configuration Using A Pci-Mxi-2 And A Vme-Mxi-2

    Chapter 4 VME-MXI-2 Configuration and Installation VME Chassis MXI-2 Cable PCI-MXI-2 Interface Module VME-MXI-2 Module To External Computer Additional MXI-2 Cable To Other (Ordered Separately) Mainframes Figure 4-7. MXI-2 Cable Configuration Using a PCI-MXI-2 and a VME-MXI-2 When you have properly connected the MXI-2 cable, power on the VMEbus mainframe and then the computer.
  • Page 65: Ni-Vxi/Visa Software Installation

    RedHat 5.x system, /opt type the following command: rpm --prefix=/opt/nivxi -Uvh nivxi-pcimxi-1.6-1.i386.rpm where is the version you are installing. Note that this version 1.6-1 number will be different if you are installing a newer version. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 66: Removing The Ni-Vxi Driver For Linux

    Chapter 5 NI-VXI/VISA Software Installation Note If you use rather than the script, you must repeat this step for each INSTALL package you want to install. If you install the software to a location other than the default, set the appropriate environment variable: for NI-VXI or NIVXIPATH...
  • Page 67: Completing The Software Installation

    , you are ready to use the NI-VXI Resource Editor resman program to interactively configure the hardware in your system. vxitedit Continue with Chapter 6, NI-VXI Configuration Utility, for instructions on using the configuration editors in vxitedit © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 68: Ni-Vxi Configuration Utility

    The rest of this chapter describes only the features of the PCI-MXI-2 Configuration Editor and the VXI/VME-MXI-2 Configuration Editor. For instructions on using the other editors, refer to the online help. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 69: Pci-Mxi-2 Configuration Editor

    Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 Configuration Editor When you run the PCI-MXI-2 Configuration Editor, the screen displays the serial number and hardware revision of the PCI-MXI-2 board in addition to several configuration options. The first three options are • Logical Address Configuration Editor •...
  • Page 70: Revert To Current Configuration

    Device Type This field indicates the classification of the PCI-MXI-2. The default value is MBD, designating a message-based device. The following table shows the available options. Classification Setting Extended Device Message-Based Device Register-Based Device © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 71: Address Space

    Chapter 6 NI-VXI Configuration Utility The device type affects only the contents of the Device Class field in the Device Type register. The functionality of the other registers does not change. Address Space This field indicates the addressing mode(s) of the device’s operational registers.
  • Page 72: Device Configuration Editor

    N contiguous logical addresses, where N is the value of the servant area size. This field is meaningful only when the PCI-MXI-2 is configured as a message-based device. Servant Area Range Default Value 0 to 255 © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 73: Number Of Handlers

    Chapter 6 NI-VXI Configuration Utility Note If the PCI-MXI-2 is the Resource Manager (Logical Address 0), this setting is irrelevant. Number of Handlers This field gives the number of interrupt handlers that the PCI-MXI-2 supports. Interrupt Handlers Default Value 0 to 7 Number of Interrupters This field gives the number of interrupters that the PCI-MXI-2 supports.
  • Page 74: Bus Configuration Editor

    After the specified amount of time has elapsed, the BTO circuitry terminates a MXIbus cycle if no slave has responded. The BTO is also disabled when the current MXIbus cycle maps to the VXI/VMEbus through a VXI/VME-MXI-2. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 75: Mxi Clk10

    Chapter 6 NI-VXI Configuration Utility The default timeout value is 1 ms. If the Enable MXI-2 Auto Retry option is enabled, you should use a MXI Bus Timeout of 1 ms or greater. MXI CLK10 The PCI-MXI-2 is capable of either receiving or driving the MXIbus CLK10 signal.
  • Page 76: A24/A32 Write Posting

    You can use the Size option to select the size of the user window (minimum of 4 KB, maximum of 2 GB). The more you increase the size of the user window, the larger the window you can map in MapVXIAddress() © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 77: Expansion Rom

    Chapter 6 NI-VXI Configuration Utility You can also disable this option. Disabling the user window causes the PCI-MXI-2 to request the minimum amount of address space on the PCI bus. With the window disabled, you will be unable to perform any low-level function calls such as , and VXIpeek()
  • Page 78: La Selection And Logical Address

    4 KB of memory space. This 4 KB space maps to the registers on the VXI/VME-MXI-2 and does not access onboard DRAM. Accessing this region will cause your VXI/VME-MXI-2 to behave incorrectly. © National Instruments Corporation 6-11 VXI/VME-PCI8026 for Linux...
  • Page 79: A16 And A24/A32 Write Posting

    Chapter 6 NI-VXI Configuration Utility Note If you do not want to lose 4 KB of DRAM you can get around this limitation by setting the Requested Memory option to double the amount that is installed on the VXI/VME-MXI-2, because the DRAM is aliased throughout the remainder of the requested memory space.
  • Page 80 MXIbus support the VME64 RETRY protocol. You can configure the VXI/VME-MXI-2 devices in this mainframe for normal operating mode because all masters that could cause a deadlock will automatically retry the operation. © National Instruments Corporation 6-13 VXI/VME-PCI8026 for Linux...
  • Page 81: Vxi/Vme Bus Options

    Chapter 6 NI-VXI Configuration Utility VXI/VME Bus Options Use the options in this group to control features of the VXI/VMEbus interface on the VXI/VME-MXI-2. VMEbus System Controller You can use the System Controller option to override the jumper setting on the VXI-MXI-2. The VME-MXI-2 does not have an onboard jumper setting for this option.
  • Page 82: Vxi/Vme Auto Retry

    This effectively gives the same priority to each bus request level. Refer to the VMEbus specification for more information on the different types of arbiters. © National Instruments Corporation 6-15 VXI/VME-PCI8026 for Linux...
  • Page 83: Request Level

    Chapter 6 NI-VXI Configuration Utility Request Level The VXI/VME-MXI-2 uses one of the four VMEbus request levels (0 to 3) to request use of the VME Data Transfer Bus (DTB). The VXI/VME-MXI-2 requests use of the DTB whenever an external MXIbus device, such as a PCI-based computer with a PCI-MXI-2 interface, attempts a transfer that maps into the VXI/VMEbus mainframe.
  • Page 84: Mxi Bus System Controller

    MXIbus to the VXI/VMEbus. This feature works in the same manner as the Auto Retry option described previously under the VXI/VME Bus Options section. By default, this option is disabled. © National Instruments Corporation 6-17 VXI/VME-PCI8026 for Linux...
  • Page 85: Transfer Limit

    Chapter 6 NI-VXI Configuration Utility Normally, when a cycle maps from the MXIbus to the VXI/VMEbus, any retry response received on the VXI/VMEbus is passed to the MXIbus. If you enable the Auto Retry feature, the VXI/VME-MXI-2 automatically retries any VXI/VME cycle that receives a retry response instead of passing a retry response on to the MXIbus.
  • Page 86: Mxi Clk10 Signal

    MXIbus CLK10 as the source for the VXIbus CLK10. Caution Do not configure more than one MXIbus device to drive MXI CLK10. Setting up a second device to drive MXI CLK10 could damage the device. © National Instruments Corporation 6-19 VXI/VME-PCI8026 for Linux...
  • Page 87: Using The Ni-Vxi/Visa Software

    The NI-VISA online help describes the attributes, events, and operations you can use in NI-VISA. The user manual is available in the directory. Use the VXIpnp/linux/NIvisa/Manuals Acrobat Reader program to open and navigate through this manual. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 88: Interactive Control Of Ni-Vxi/Visa

    Chapter 7 Using the NI-VXI/VISA Software Interactive Control of NI-VXI/VISA The easiest way to learn how to communicate with your instruments is by controlling them interactively. Use the VXI/VME interactive control utility ) to write to and read from your instruments. This utility displays victext the status of your VXI/VME transactions and informs you of any errors that occur.
  • Page 89: Low-Level Access Functions

    You can obtain the VXI address of your onboard memory using the function. When you have the VXI/VME address, GetDevInfo() you can access that memory using high-level or low-level VXI/VMEbus access functions. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 90: System Configuration Functions

    Chapter 7 Using the NI-VXI/VISA Software System Configuration Functions The System Configuration functions provide the lowest-level initialization of your VXI controller. For NI-VXI, use the function InitVXIlibrary() at the start of each application and the function at CloseVXIlibrary() the end of each application. For NI-VISA, use viOpenDefaultRM() at the start of each application and the function at the end of...
  • Page 91 (linker, debugger, and so on). Your compiler documentation is an important and useful source of information for writing, compiling, and debugging C programs. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 92: Appendix A Specifications

    • MXIbus D32, D16, D08(O) interrupt handler • MXIbus D32, D16, D08(O) interrupter • Release on Acknowledge or Register Access interrupter • MXIbus bus timer (programmable limit) • Automatic MXIbus System Controller detection © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 93: Pci Functionality

    Appendix A Specifications — PCI-MXI-2 PCI Functionality PCI Initiator (master) capability .....Supported PCI Target (slave) capability ....Supported Data path..........32 bits Card voltage/type........5 V only; 32-bit half-size card Parity generation/checking, Error reporting ........Supported Target decode speed .......Medium (1 clock) Target fast-back-to-back capability ..Supported Resource locking ........Supported as a master and slave PCI interrupts..........Interrupts passed on INTA# signal...
  • Page 94: Physical

    MTBF............. Contact factory Weight ............ 0.18 kg (0.4 lb) typical (no DRAM installed) Electrical +5 VDC Typical ..........2.2 A Direct Current (Max) ...... 3.5 A Performance Peak ............33 MB/s Sustained ..........23 MB/s © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 95 Appendix A Specifications — VXI-MXI-2 VXI-MXI-2 The following pages list the specifications for the VXI-MXI-2 module. MXIbus Capability Descriptions • Master-mode A32, A24, and A16 addressing • Master-mode block transfers and synchronous block transfers • Slave-mode A32, A24, and A16 addressing •...
  • Page 96 (Interrupt Handler) ......... VMEbus D32, D16, D08(O) interrupt handler D32, D16, D08(O) (Interrupter)..... VMEbus D32, D16, D08(O) interrupter ROAK, RORA ........Release on Acknowledge or Register Access interrupter BTO(x) ........... VMEbus bus timer (programmable limit) © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 97: Environmental

    Appendix A Specifications — VXI-MXI-2 Requirements VXIbus Configuration Space....64 B A24 or A32 Space........16 KB minimum (programmable) Environmental Temperature Operating .........0 to 55 °C Storage..........–40 to 85 °C Relative humidity Noncondensing, operating....0% to 95% Noncondensing, storage ....0% to 95% EMI ............FCC Class A verified Physical Board dimensions ........Fully enclosed, shielded VXI C-size board 233.35 by 340 mm...
  • Page 98 Typical DC current rating ....180 mA Maximum DC current rating... 225 mA –2 VDC Typical DC current rating ....80 mA Maximum DC current rating... 100 mA Performance Peak ............33 MB/s Sustained ..........23 MB/s © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 99: Vmebus Capability Codes

    Appendix A Specifications — VME-MXI-2 VME-MXI-2 The following pages list the specifications for the VME-MXI-2 module. MXIbus Capability Descriptions • Master-mode A32, A24 and A16 addressing • Master-mode block transfers and synchronous block transfers • Slave-mode A32, A24, and A16 addressing •...
  • Page 100 (Interrupt Handler) ......... VMEbus D32, D16, D08(O) interrupt handler D32, D16, D08(O) (Interrupter)..... VMEbus D32, D16, D08(O) interrupter ROAK, RORA ........Release on Acknowledge or Register Access interrupter BTO(x) ........... VMEbus bus timer (programmable limit) © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 101: Requirements

    Appendix A Specifications — VME-MXI-2 Requirements A16 Space..........64 B A24 or A32 Space........16 KB minimum (programmable) Environmental Temperature Operating .........0 to 55 °C Storage..........–40 to 85 °C Relative humidity Noncondensing, operating....0% to 95% Noncondensing, storage ....0% to 95% EMI ............FCC Class A verified Physical Board dimensions ........VMEbus double-height board 233.36 by 160 mm...
  • Page 102: Performance

    Appendix A Specifications — VME-MXI-2 Performance Peak ............33 MB/s Sustained ..........23 MB/s © National Instruments Corporation A-11 VXI/VME-PCI8026 for Linux...
  • Page 103: Ni-Vxi/Visa Software Overview

    Note Any executable not listed in this section is used by the driver and should not be executed by the user directly. • is the National Instruments multiple-mainframe Resource resman Manager. • is a text-based interactive control program. This program is victext described in detail in the NI-VXI Text Utilities Reference Manual.
  • Page 104: Header Files For Ni-Visa

    Appendix B NI-VXI/VISA Software Overview • contains parameter and return values for the interrupt and vxiint.h signal functions. • contains parameter and return values for the system sysint.h interrupt functions. • contains parameter and return values for the trigger functions. trig.h This file is useful in VXI systems but is not applicable for VME systems.
  • Page 105: Eeprom Configuration

    Figure C-1 shows the default settings for EEPROM operation. Caution Do not alter the settings of switches 3 and 4 of U17. Leave these switches as shown in Figure C-1 unless specifically directed by National Instruments. Figure C-1. EEPROM Operation Default Settings © National Instruments Corporation...
  • Page 106: Fixing An Invalid Eeprom Configuration

    Appendix C EEPROM Configuration Fixing an Invalid EEPROM Configuration Certain EEPROM configurations can cause your PCI computer to lock up while in its boot process. Generally, only the size and location of the memory windows can cause problems with the PCI-MXI-2 locking up your system.
  • Page 107 10. Replace the computer cover. 11. Turn on the computer. If the computer does not boot with this configuration, you will have to repeat these steps, modifying your configuration until a final configuration is reached. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 108: Appendix D Common Questions

    Which NI-VXI utility program must I use to configure the PCI-MXI-2? Use the VXI Resource Editor program to configure the vxitedit PCI-MXI-2. The Resource Editor program is located in the NIVXI/bin directory ( by default). /usr/local/nivxi/bin © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 109 Appendix D Common Questions Which NI-VXI utility program must I use to perform startup Resource Manager operations? Use the program to perform startup Resource Manager operations. resman It is located in the directory ( NIVXI/bin /usr/local/nivxi/bin default). uses the settings in the Configuration Editor of resman .
  • Page 110 I have a system that requires rugged chassis and bulkhead cables. Can I still use MXIbus? Yes, National Instruments sells MXIbus bulkhead cables. Contact National Instruments for further information. What kind of signal is CLK10 and what kind of signal do I need for an external CLK10? CLK10 is a differential ECL signal on the VXIbus backplane.
  • Page 111 Appendix D Common Questions Whenever I try to execute any of the NI-VXI utilities, I receive a message that it could not find a particular file even though the file does exist. What is wrong? When a NI-VXI utility cannot find a file that it needs, it usually means that one of the environment variables is set incorrectly.
  • Page 112: Technical Support Resources

    Technical Support Resources This appendix describes the comprehensive resources available to you in the Technical Support section of the National Instruments Web site and provides technical support telephone numbers for you to use if you have trouble connecting to our Web site or if you do not have internet access.
  • Page 113: Germany 089 741 31 30, Greece 30 1 42 96 427, Hong Kong 2645 3186, India

    If you have trouble connecting to our Web site, please contact your local National Instruments office or the source from which you purchased your National Instruments product(s) to obtain support. For telephone support in the United States, dial 512 795 8248. For...
  • Page 114: Glossary

    This 16 KB region is referred to as VXI configuration space. A24 space VXIbus address space equivalent to the VME 16 MB standard address space. A32 space VXIbus address space equivalent to the VME 4 GB extended address space. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 115 Glossary ACFAIL A VMEbus backplane signal that is asserted when a power failure has occurred (either AC line source or power supply malfunction), or if it is necessary to disable the power supply (such as for a high temperature condition). address Character code that identifies a specific location (or series of locations) in memory.
  • Page 116 A set of registers through which the system can identify a module device type, model, manufacturer, address space, and memory requirements. In order to support automatic system and memory configuration, the VXIbus specification requires that all VXIbus devices have a set of such registers. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 117 Glossary daisy-chain A method of propagating signals along a bus, in which the devices are prioritized on the basis of their position on the bus. Data Transfer Bus DTB; one of four buses on the VMEbus backplane. The DTB is used by a bus master to transfer binary data between itself and a slave device.
  • Page 118 A VMEbus functional module that detects interrupt requests generated by Interrupters and responds to those requests by requesting status and identify information. interrupt level The relative priority at which a device can interrupt. IRQ* Interrupt signal © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 119 Module Identification lines MTBF Mean Time Between Failure MXI-2 The second generation of the National Instruments MXIbus product line. MXI-2 expands the number of signals on a standard MXIbus cable by including VXI triggers, all VXI interrupts, CLK10, SYSFAIL*, SYSRESET*, and ACFAIL*.
  • Page 120 A Servant-only device that supports VXIbus configuration registers. Register-based devices are typically controlled by message-based devices via device-dependent register reads and writes. Resman The name of the National Instruments Resource Manager in NI-VXI bus interface software. See Resource Manager. Resource Manager...
  • Page 121 Glossary retry An acknowledge by a destination that signifies that the cycle did not complete and should be repeated. Red Hat Package Manager, a widely-used software distribution tool that you can use to install, upgrade, or remove software from your system. Seconds Servant A device controlled by a Commander;...
  • Page 122 Installing such a device into any other slot can damage the device, the VMEbus/VXIbus backplane, or both. VXIbus VMEbus Extensions for Instrumentation VXIinit A program in the NI-VXI bus interface software package that initializes the board interrupts, shared RAM, VXI register configurations, and bus configurations. © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 123 Glossary VXItedit VXI Resource Editor program, a part of the NI-VXI bus interface software package. Used to configure the system, edit the manufacturer name and ID numbers, edit the model names of VXI and non-VXI devices in the system, as well as the system interrupt configuration information, and display the system configuration information generated by the Resource Manager.
  • Page 124: Index

    7-4 Configuration Editor settings sample programs, 7-4 (table), 1-13 symbols, 7-4 hardware settings (table), 1-13 cables front panel features, 4-3 connecting MXIbus cable MXIbus termination, 4-5 VME-MXI-2 module, 4-11 VXI-MXI-2 module, 3-19 © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 125 Index onboard DRAM, 4-8 DRAM configurations Default Controller (LA-1), 6-5 (table), 4-9 default settings, 1-9 SIMM size configuration PCI-MXI-2 board (figure), 4-9 Bus Configuration Editor parts locator diagram (figure), 4-2 (table), 1-11 VMEbus A16 base address, 4-3 Device Configuration Editor VME-MXI-2 intermodule (table), 1-11 signaling, 4-4...
  • Page 126 IRQ level, selecting, 6-5 handlers, selecting number of, 6-6 LA Selection and Logical Address hardware settings (table), 1-13 option, 6-11 LabVIEW software, 1-6 LEDs on VXI/VME-MXI-2, D-2 local bus, VXIbus, 3-7 local resource access functions, 7-3 © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 127 VME-MXI-2 module, A-8 VME/VXI-MXI-2, 6-11 VXI-MXI-2 module, A-4 VXI-MXI-2 module, 3-3 definition, 3-3 Logical Address Configuration Editor. See National Instruments Web support, E-1 PCI-MXI-2 Logical Address Configuration Editor. NI-VXI/VISA software low-level access functions, 7-3 common questions, D-1 compiling C programs, 7-4...
  • Page 128 MXI Bus Timeout, 6-7 VXI-MXI-2 module, A-7 MXI CLK10, 6-8 physical specifications MXI System Controller, 6-7 PCI-MXI-2 board, A-3 MXI transfer limit, 6-8 VME-VXI-2 module, A-10 MXI-2 auto retry, 6-8 VXI-MXI-2 module, A-6 © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 129 Index problems and solutions, D-1 programming considerations. See servant area size, setting, 6-5 NI-VXI/VISA software. shared memory. See VXI/VME Shared Protocol register contents, specifying, 6-6 Memory options. Slot 0/non-Slot 0 configuration, 3-5 software, NI-VXI. See NI-VXI/VISA software. questions about NI-VXI/VISA software, D-1 software, optional, 1-6 quick start software-related resources, E-2...
  • Page 130 1-8 VMEbus capability codes, A-8 viMapAddress function, 7-3 VXI/VME automatic retry feature, 6-15 viMemAlloc function (caution), 7-3 VXI/VME Shared Memory options, 6-4 viOpenDefaultRM function, 7-4 Byte Swapping, 6-4 viPeekX function, 7-3 Mapping, 6-4 © National Instruments Corporation VXI/VME-PCI8026 for Linux...
  • Page 131 Index Memory Select, 6-4 VXIbus Slot 0/non-Slot 0, 3-5 Shared RAM Pool, 6-4 VXIedit configuration utility VXI/VME Shared RAM Size, 6-4 VME device configuration information, 1-8 VXI/VME-MXI-2 Configuration Editor vxiinreg command, 1-9 A16 and A24/A32 Write Posting, 6-12 VXILINUX symbol, defining, 7-4 Address Space and Requested Memory, 6-11 VXImemAlloc function (caution), 7-3...
  • Page 132 Index specifications electrical, A-6 Web support from National Instruments environmental, A-6 online problem-solving and diagnostic MXIbus capability descriptions, A-4 resources, E-1 performance, A-7 software-related resources, E-2 physical, A-6 Window Size value, 6-9 requirements, A-6 worldwide technical support, E-2 VMEbus capability codes, A-4...

This manual is also suitable for:

Mxi vme-pci8026

Table of Contents