Getting Started with Your VXI/VME-PCI8022 and the NI-VXI™ Software for Solaris VXI/VME-PCI8022 for Solaris June 1997 Edition Part Number 321413A-01 © Copyright 1997 National Instruments Corporation. All rights reserved.
Internet Support support@natinst.com E-mail: info@natinst.com FTP Site: ftp.natinst.com Web Address: http://www.natinst.com Bulletin Board Support BBS United States: (512) 794-5422 BBS United Kingdom: 01635 551422 BBS France: 01 48 65 15 59 Fax-on-Demand Support (512) 418-1111 Telephone Support (U.S.
Important Information Warranty The National Instruments MXIbus boards and accessories are warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor.
FCC/DOC Radio Frequency Interference Class A Compliance This equipment generates and uses radio frequency energy and, if not installed and used in strict accordance with the instructions in this manual, may cause interference to radio and television reception. Classification requirements are the same for the Federal Communications Commission (FCC) and the Canadian Department of Communications (DOC).
Table of Contents About This Manual Organization of This Manual ........................................................................................ xi Conventions Used in This Manual................................................................................ xiii How to Use This Documentation Set ........................................................................... xiv Related Documentation.................................................................................................
Table of Contents 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................................................................................
Table of Contents Chapter 6 NI-VXI Configuration Utility Running the VXIedit Configuration Utility.................................................................. 6-1 PCI-MXI-2 Configuration Editor ................................................................................. 6-3 Update Current Configuration........................................................................ 6-4 Record Configuration to File..........................................................................
Table of Contents A16 and A24/A32 Write Posting ................................................................... 6-21 Interlocked Mode ........................................................................................... 6-22 VXI/VME Bus Options.................................................................................. 6-23 VMEbus System Controller............................................................. 6-23 VXI/VME Bus Timeout Value.....................................................
Table of Contents Appendix A Specifications Appendix B NI-VXI Software Overview Appendix C EEPROM Configuration Appendix D Common Questions Appendix E Customer Communication Glossary Index Figures Figure 2-1. Figure 2-2. PCI-MXI-2 Parts Locator Diagram ....................................................... 2-2 PCI-MXI-2 Installed in a Computer ...................................................... 2-5 Figure 3-1. Figure 3-2. Figure 3-3. Figure 3-4. Figure 3-5. Figure 3-6. Figure 3-7. Figure 3-8.
Table of Contents Figure 4-1. Figure 4-2. Figure 4-3. Figure 4-4. Figure 4-5. Figure 4-6. Figure 4-7. VME-MXI-2 Parts Locator Diagram .................................................... 4-2 Base Address Selection ......................................................................... 4-4 VME-MXI-2 Intermodule Signaling Settings ....................................... 4-5 MXIbus Termination ............................................................................. 4-6 EEPROM Operation................
About This Manual This manual contains instructions for installing and configuring the National Instruments VXI-PCI8022 or VME-PCI8022 Series interface kit for Solaris. The VXI-PCI8022 kit includes a VXI-MXI-2 module, which plugs into a VXI mainframe and links your PCI-based computer to the VXIbus. The VME-PCI8022 kit comes with a VME-MXI-2 that plugs into a VME chassis and links your PCI-based computer to the VMEbus.
About This Manual This chapter applies only if you ordered the VME-PCI8022 interface kit. VXI/VME-PCI8022 for Solaris • Chapter 5, NI-VXI Software Installation, contains the instructions to install the NI-VXI software. • Chapter 6, NI-VXI Configuration Utility, contains instructions for using the VXI Resource Editor utility of the NI-VXI software to configure the PCI-MXI-2 and the VXI-MXI-2 or VME-MXI-2.
About This Manual Conventions Used in This Manual The following conventions are used in this manual: bold Bold text denotes parameter names, menus, menu items, or dialog box buttons or options. bold italic Bold italic text denotes a note, caution, or warning. bold monospace Bold text in this font denotes the messages and responses that the computer automatically prints to the screen. italic Italic text denotes emphasis, a cross reference, or an introduction to a key concept.
About This Manual How to Use This Documentation Set Getting Started Manual Installation and Configuration NI-VXI Programmer Reference Manual NI-VXI User Manual NI-VXI Function Descriptions NI-VXI Overview Text Based Graphical Based NI-VXI Text Utilities Reference Manual NI-VXI Graphical Utilities Reference Manual VXITEDIT and VICTEXT Descriptions VXIEDIT and VIC Descriptions Begin by reading this getting started manual to guide you through the installation and configuration of the hardware and
About This Manual NI-VXI functions. Study the descriptions of each function given in the NI-VXI Programmer Reference Manual to fully understand the purpose and syntax of each function. Refer to the NI-VXI Graphical Utilities Reference Manual and the NI-VXI Text Utilities Reference Manual to learn more about the NI-VXI utilities.
Chapter Introduction and Quick Start 1 This chapter describes the VXI/VME-PCI8022 interface kits, lists what you need to get started, introduces the concepts of MXI-2, and includes a brief description of the hardware and software. This chapter also contains a Quick Start section, which has the basic information you need to install the VXI/VME-PCI8022 interface kit with a simple configuration, along with a Default Settings section, which lists the hardware and software default settings for easy reference.
Chapter 1 Introduction and Quick Start How to Use This Manual Chapter 1 Gather What You Need to Get Started Chapter 2 Configure and Install the PCI-MXI-2 VXI Chapter 3 Configure and Install the VXI-MXI-2 Chapter 4 Configure and Install the VME-MXI-2 Chapter 5 Install the NI-VXI Software Chapter 6 Run the Software Configuration Utility Chapter 7 Review Programming Considerations Software and Utilities Reference VXI/VME-PCI8022 for Solaris VME Using VXI or VME? Write Application Program
Chapter 1 Introduction and Quick Start VXI/VME-PCI8022 Kit Overview The VXI/VME-PCI8022 interface kits link any computer with a PCI bus (hereafter referred to as a PCI-based computer) directly to the VXIbus or VMEbus using the high-speed Multisystem eXtension Interface bus (MXI-2). A PCI-based computer equipped with a VXI-PCI8022 interface can function as a VXI Commander and Resource Manager. A PCI-based computer equipped with a VME-PCI8022 can function as a VMEbus master and/or slave device.
Chapter 1 Introduction and Quick Start products using a single cable. Thus, MXI-2 lets CPU interface boards such as the PCI-MXI-2 perform as though they were plugged directly into the VXI/VME backplane. In addition, MXI-2 boosts data throughput performance past previousgeneration MXIbus products by defining new high-performance protocols. MXI-2 is a superset of MXI. All accesses initiated by MXI devices will work with MXI-2 devices.
Chapter 1 Introduction and Quick Start The VME-MXI-2 module is a single-slot, double-height VMEbus device with optional VMEbus System Controller functions. It uses address mapping to convert MXIbus cycles into VMEbus cycles and vice versa, just like the VXI-MXI-2. By connecting to the PCI-MXI-2 board, it links the PCI bus to the VMEbus. The VME-MXI-2 can automatically determine if it is located in the first slot of a VMEbus chassis and if it is the MXIbus System Controller.
Chapter 1 Introduction and Quick Start Optional Software Your VXI/VME-PCI8022 kit includes the NI-VXI bus interface software. In addition, you can use the National Instruments LabVIEW and LabWindows®/CVI application programs and instrument drivers to ease your programming task. These standardized programs match the modular virtual instrument capability of VXI and can reduce your VXI/ VMEbus software development time.
Chapter 1 Introduction and Quick Start • You will be using the NI-VXI software for initialization, configuration, and device interaction. • You will use the default hardware and software settings. – The PCI-MXI-2 is the main controller, the VXI/VME Resource Manager, and a message-based device. – Your system contains only one VXI or VME chassis. – There is no shared memory used on the PCI-based computer, the PCI-MXI-2, or the VXI/VME-MXI-2.
Chapter 1 Introduction and Quick Start chassis are not configured as system controller. Having more than one device configured as system controller will damage the VXI/VME system. For VXI systems that include VME devices, ensure that the VME devices are not configured in the upper 16 KB (starting from 0xC000) of the A16 address space. This region is reserved for VXI device configuration registers, which are used for initializing, configuring, and interacting with VXI devices.
Chapter 1 4. Introduction and Quick Start Type the following command to remove the install script: rm INSTALL The NI-VXI driver for Solaris 2.x is added to the driver list automatically during installation. It is loaded the first time you open the driver (for example, running resman). VME Users When used with a VXI-MXI-2, resman identifies and configures the VXI devices, including the VXI-MXI-2.
Chapter 1 Introduction and Quick Start This help file shows you the syntax for this command, which reads VXI device configuration registers. The first argument is a logical address, and the second is the offset of the VXI device configuration register to be read. Now type: vxiinreg 1,0 This should return a value, such as: Return Status (0): SUCCESS. value = 0x4ff6 If the value ends with ff6, you have successfully read the National Instruments manufacturer ID from the ID register for the VXI/ VME-MXI-2.
Chapter 1 Introduction and Quick Start PCI-MXI-2 This section summarizes the hardware and software default settings for the PCI-MXI-2. Table 1-1. PCI-MXI-2 Hardware Default Settings Hardware Component Default Setting U17 Switch 1 (FOV) OFF: PCI-MXI-2 boots off the userconfigured 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. U17 Switch 4 (CT) ON: Do not alter this setting.
Chapter 1 Introduction and Quick Start Table 1-2. PCI-MXI-2 Logical Address Configuration Editor Default Settings Editor Field Default Setting Resource Manager Delay 5s Map Upper/Lower Halves to Same Address Disabled Table 1-3.
Chapter 1 Introduction and Quick Start Table 1-4. PCI-MXI-2 Bus Configuration Editor Default Settings (Continued) Editor Field Default Setting User Window Size 64 KB Driver Window Size 32 KB Expansion ROM Enabled 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.
Chapter 1 Introduction and Quick Start Table 1-5. VXI-MXI-2 Hardware Default Settings (Continued) Hardware Component Default Setting Configuration EEPROM (U35 switches 3 and 4) User-modifiable; factory settings protected: both switches set to NO. DRAM SIMMs Installed Per customer order SIMM Size Configuration (S6) OFF if SIMMS are 4 M x 32 or larger; ON if smaller than 4 M x 32. Table 1-6.
Chapter 1 Introduction and Quick Start Table 1-7.
PCI-MXI-2 Configuration and Installation Chapter 2 This chapter contains the instructions to configure and install the PCI-MXI-2 module. ! Caution: Electrostatic discharge can damage several components on your PCI-MXI-2 module. To avoid such damage in handling the module, touch the antistatic plastic package to a metal part of your computer chassis before removing the PCI-MXI-2 from the package. Configure the PCI-MXI-2 This section describes how to configure the following options on the PCI-MXI-2.
Chapter 2 PCI-MXI-2 Configuration and Installation 2 1 1 U17 2 DRAM Figure 2-1.
Chapter 2 PCI-MXI-2 Configuration and Installation Configuration EEPROM The PCI-MXI-2 has an onboard EEPROM, which stores default register values that are loaded at power-on. The EEPROM is divided into two halves—a factory-configuration half, and a user-configuration half—so you can modify the user-configurable half, while the factory-configured half stores a back-up of the default user settings.
Chapter 2 PCI-MXI-2 Configuration and Installation Install the PCI-MXI-2 This section contains general installation instructions for the PCI-MXI-2. Consult your computer user manual or technical reference manual for specific instructions and warnings. 1. 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.
Chapter 2 PCI-MXI-2 Configuration and Installation Figure 2-2 shows how to install the PCI-MXI-2. PCI-MXI-2 Board MXI-2 Connector PCI Bus Card-Edge Connector Cut-outs PCI Bus Slot Figure 2-2.
VXI-MXI-2 Configuration and Installation Chapter 3 This chapter contains the instructions to configure and install the VXI-MXI-2 module. This chapter applies only if you ordered the VXI-PCI8022 interface kit. If you ordered the VME-PCI8022 kit, skip this chapter and refer to Chapter 4, VME-MXI-2 Configuration and Installation. ! Caution: Electrostatic discharge can damage several components on your VXI-MXI-2 module.
VXI/VME-PCI8022 for Solaris 3-2 © National Instruments Corporation Figure 3-1.
Chapter 3 VXI-MXI-2 Configuration and Installation Front Panel Features The VXI-MXI-2 has the following front panel features. • Three front panel LEDs – SYSFAIL LED indicates that the VMEbus SYSFAIL line is asserted. – MXI LED indicates when the VXI-MXI-2 is accessed from the MXIbus. – VXI LED indicates when the VXI-MXI-2 is accessed from the VXIbus.
Chapter 3 VXI-MXI-2 Configuration and Installation VXIbus Logical Address Each device in a VXIbus/MXIbus system is assigned a unique number between 0 and 254. This 8-bit number, called the logical address, defines the base address for the 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. Logical address 0 is reserved for the Resource Manager in the VXIbus system.
Chapter 3 VXI-MXI-2 Configuration and Installation Figure 3-2 shows switch settings for logical address hex 1 and C0. LOGICAL ADDRESS SWITCH Shown at default setting of Logical Address 1 Push up for logic 1 Push down for logic 0 1 2 3 4 5 6 7 8 U43 a. Switch Set to Logical Address 1 (Default) LOGICAL ADDRESS SWITCH Shown at default setting of Logical Address 1 Push up for logic 1 Push down for logic 0 1 2 3 4 5 6 7 8 U43 b. Switch Set to Logical Address Hex C0 Figure 3-2.
Chapter 3 ! VXI-MXI-2 Configuration and Installation Caution: Do not install a device configured for Slot 0 into another slot without first reconfiguring it to either Non-Slot 0 or automatic configuration. Neglecting to do this could damage the device, the VXIbus backplane, or both. W2 Slot 0 Auto Nonslot 0 a. Automatic Slot 0 Detection (Default) W2 Slot 0 Auto Nonslot 0 b. Manual Slot 0 Configuration W2 Slot 0 Auto Nonslot 0 c. Manual Nonslot 0 Configuration Figure 3-3.
Chapter 3 VXI-MXI-2 Configuration and Installation As required by the VXIbus specification, the VXI-MXI-2 drives the 10 MHz signal CLK10 on a differential ECL output when installed in Slot 0. When not installed in Slot 0, the VXI-MXI-2 only receives the CLK10 signal. VXIbus Local Bus If you will be installing more than one VXI-MXI-2 in a single VXIbus mainframe, you must configure the boards to use the local bus.
Chapter 3 VXI-MXI-2 Configuration and Installation S8 S8 S9 No S9 Yes No 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) No Yes S8 S8 S9 S9 Yes No VXI-MXI to left VXI-MXI to left VXI-MXI to right VXI-MXI to right c.VXI-MXI-2 between Two Others Yes d. Rightmost VXI-MXI-2 in Mainframe Figure 3-4.
Chapter 3 VXI-MXI-2 Configuration and Installation From onboard oscillator W3 From SMB (S3 must be set to "IN") From MXIbus a. CLK10 Generated from Onboard Oscillator (Default) From onboard oscillator W3 From SMB (S3 must be set to "IN") In SMB CLK10 Direction S3 Out From MXIbus b. CLK10 Generated from SMB From onboard oscillator W3 From SMB (S3 must be set to "IN") Receive CLK10 from MXIbus From MXIbus S7 c. CLK10 Generated from MXIbus Figure 3-5.
Chapter 3 VXI-MXI-2 Configuration and Installation The VXI-MXI-2 can also be configured to drive the external CLK SMB signal from the VXIbus CLK10 signal. Switch S3 controls whether the VXI-MXI-2 drives or receives the external CLK SMB signal. If you change the S3 setting to drive CLK10 out the external CLK10 SMB connector, do not set the W3 jumper to receive the SMB CLK10 signal; instead use the settings shown in either Figure 3-5a or Figure 3-5c as appropriate.
Chapter 3 S2 Off S3 Out S4 Off VXI-MXI-2 Configuration and Installation On 50 Ω Termination for External Trigger Input In SMB CLK10 Direction On 50 Ω Termination for SMB CLK10 (Effective only when S3 is set to "IN") SMB CLK10 Output Polarity (Effective only when S3 is set to "OUT") S5 NON-INVERTED INVERTED a.
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. This is shown again in Figure 3-7a below.
Chapter 3 S2 Off S3 Out S4 Off VXI-MXI-2 Configuration and Installation On 50 Ω Termination for External Trigger Input In SMB CLK10 Direction On 50 Ω Termination for SMB CLK10 (Effective only when S3 is set to "IN") SMB CLK10 Output Polarity (Effective only when S3 is set to "OUT") S5 NON-INVERTED INVERTED a.
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. Switch 1 has no effect when switch 2 is set for automatic MXIbus termination; you must turn off automatic termination if you want to manually control termination.
Chapter 3 VXI-MXI-2 Configuration and Installation Configuration EEPROM The VXI-MXI-2 has an onboard EEPROM, which stores default register values that are loaded at power-on. The EEPROM is divided into two halves—a factory-configuration half, and a user-configuration half. Both halves were factory configured with the same configuration values so you can modify the user-configurable half, while the factoryconfigured half stores a back-up of the default user settings.
Chapter 3 VXI-MXI-2 Configuration and Installation U35 No No Yes Yes 1 2 3 4 Restore Factory Configuration Change Factory Configuration Automatic MXIbus Termination Terminate MXIbus Yes Yes No No a. Boot from User Configuration (Factory Configuration Protected) (Default) U35 No No Yes Yes 1 2 3 4 Restore Factory Configuration Change Factory Configuration Automatic MXIbus Termination Terminate MXIbus Yes Yes No No b.
Chapter 3 VXI-MXI-2 Configuration and Installation Onboard DRAM The VXI-MXI-2 can accommodate up to two 1.35 in. DRAM SIMMs. Table 3-1 lists the SIMMs you can use. You can use 32-bit or 36-bit SIMMs since DRAM parity is not required. Because the VXI-MXI-2 supports only one organization at a time, all SIMMs installed must be of the same type. Use Bank 0 first when installing the SIMMs. This allows you to install up to 64 MB. The VXI-MXI-2 supports DRAM speeds of 80 ns or faster.
Chapter 3 VXI-MXI-2 Configuration and Installation Table 3-1.
Chapter 3 VXI-MXI-2 Configuration and Installation Install the VXI-MXI-2 This section contains general installation instructions for the VXI-MXI-2. Consult your VXIbus mainframe user manual or technical reference manual for specific instructions and warnings. 1. Plug in your mainframe before installing the VXI-MXI-2. The power cord grounds the mainframe and protects it from electrical damage while you are installing the module.
Chapter 3 VXI-MXI-2 Configuration and Installation Connect the MXIbus Cable There are two basic types of MXI-2 cables. MXI-2 cables can have either a single connector on each end or a single connector on one end and a double connector on the other end. Connect the labeled end of the cable to the MXI-2 device that will be the MXIbus System Controller. Connect the other end of the cable to the other device. Be sure to tighten the screw locks to ensure proper pin connection.
Chapter 3 VXI-MXI-2 Configuration and Installation When you have properly connected the MXI-2 cable, power on the VXIbus mainframe and then the computer. Note: Always turn on the mainframe first. Doing so makes it possible for your external computer to access the VXI boards in the mainframe upon startup.
VME-MXI-2 Configuration and Installation Chapter 4 This chapter contains the instructions to configure and install the VME-MXI-2 module. This chapter applies only if you ordered the VME-PCI8022 interface kit. If you ordered the VXI-PCI8022 kit, you should refer to Chapter 3, VXI-MXI-2 Configuration and Installation. ! Caution: Electrostatic discharge can damage several components on your VME-MXI-2 module.
Chapter 4 VME-MXI-2 Configuration and Installation 1 2 3 5 6 1 2 S2 U21 3 4 W2 U20 4 5 6 DRAM Bank 1 DRAM Bank 0 Figure 4-1.
Chapter 4 VME-MXI-2 Configuration and Installation Front Panel Features The VME-MXI-2 has the following front panel features. • Three front panel LEDs – SYSFAIL LED indicates that the VMEbus SYSFAIL line is asserted. – MXI LED indicates when the VME-MXI-2 is accessed from the MXIbus. – VME LED indicates when the VME-MXI-2 is accessed from the VMEbus.
Chapter 4 VME-MXI-2 Configuration and Installation more information on setting base addresses on a multimainframe hierarchy. Figure 4-2 shows switch settings for A16 base address hex C040 and F000. U20 1 2 3 4 5 6 7 8 OFF a. Switch Set to A16 Base Address hex C040 (Default) 1 2 3 4 5 6 7 8 U20 OFF b. Switch Set to A16 Base Address Hex F000 Figure 4-2.
Chapter 4 VME-MXI-2 Configuration and Installation Notice that a fourth position is also available on the jumper. This is the factory-default setting, which does not connect the VME-MXI-2 to any user-defined pin. You would use this option only if you are installing a single VME-MXI-2 in a chassis. Figure 4-3 shows the four intermodule signaling settings. W2 W2 A5 A5 C5 C5 C30 C30 NC NC a. User-Defined Pin A5 Selected b. User-Defined Pin C5 Selected W2 W2 A5 A5 C5 C5 C30 C30 NC NC c.
Chapter 4 VME-MXI-2 Configuration and Installation (Figure 4-4b), or off (Figure 4-4c). The settings of switches 1 and 2 have no effect on 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.
Chapter 4 VME-MXI-2 Configuration and Installation Configuration EEPROM The VME-MXI-2 has an onboard EEPROM, which stores default register values that are loaded at power-on. The EEPROM is divided into two halves—a factory-configuration half, and a user-configuration half. Both halves were factory configured with the same configuration values so you can modify the user-configurable half, while the factoryconfigured half stores a back-up of the default user settings.
Chapter 4 VME-MXI-2 Configuration and Installation 2 3 4 U21 1 OFF a. Boot from User Configuration (Factory Configuration Protected) (Default) 2 3 4 U21 1 OFF b. Boot from Factory Configuration (Factory Configuration Protected) 2 3 4 U21 1 OFF c. Boot from User Configuration (Factory Configuration Unprotected) 2 3 4 U21 1 OFF 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.
Chapter 4 VME-MXI-2 Configuration and Installation Switch S2 is used to select the size of each SIMM. If the SIMMs are 4 M x 32 or larger, S2 should be in the OFF setting as shown in Figure 4-6a. For SIMMs smaller than 4 M x 32, use the ON setting as shown in Figure 4-6b. S2 S2 a. 4 M x 32 and Larger b. Smaller than 4 M x 32 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.
Chapter 4 VME-MXI-2 Configuration and Installation Table 4-1.
Chapter 4 VME-MXI-2 Configuration and Installation 3. Insert the VME-MXI-2 in the slot you have selected by aligning the top and bottom of the board with the card-edge guides inside the mainframe. Slowly push the VME-MXI-2 straight into the slot until its plug connectors are resting on the backplane receptacle connectors. Using slow, evenly distributed pressure, press the VME-MXI-2 straight in until it seats in the expansion slot.
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 To Other Mainframes Additional MXI-2 Cable (Ordered Separately) 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. Note: Always turn on the mainframe first.
Chapter 5 NI-VXI Software Installation Installing and Loading the NI-VXI Software for Solaris 2.x The instructions in this section are specific to users of the Solaris 2.5.1 or higher platform. Installing NI-VXI for Solaris 2.x The instructions in this section are specific to users of the Solaris 2.x platform. 1. Type the following command to change to a temporary directory: cd /tmp 2.
Chapter 5 NI-VXI Software Installation Loading the NI-VXI Driver for Solaris 2.x The NI-VXI driver for Solaris 2.x is added to the driver list automatically during installation. It is loaded the first time you open the driver (for example, running resman). Because it is a loadable driver, you do not need to go through the process of linking the driver with the kernel’s object files, rebuilding the kernel, and restarting the system, as you would have to do with a nonloadable driver.
Chapter 5 NI-VXI Software Installation Using the NI-VXI Software The NI-VXI software expects to be loaded in the /opt/NICpcimxi directory. If you have installed the software in another directory, you need to set the NIVXIPATH environment variable to your directory. For example, if you have installed NI-VXI in /usr2/nivxi, type the following command: setenv NIVXIPATH /usr2/nivxi You must always set the LD_LIBRARY_PATH environment variable to your directory.
Chapter NI-VXI Configuration Utility 6 This chapter contains instructions for using the VXI Resource Editor utility of the NI-VXI software to configure the PCI-MXI-2 and the VXI-MXI-2 or VME-MXI-2. vxiedit is the VXI resource editor program that you use to configure the system and to edit the manufacturer name and ID numbers, the model names of VXI and non-VXI devices in the system, and the system interrupt configuration information.
Chapter 6 NI-VXI Configuration Utility Figure 6-1 shows the main menu of the vxiedit resource editor. Figure 6-1. VXIedit Main Screen 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 your software utility reference manual, either the NI-VXI Graphical Utilities Reference Manual or the NI-VXI Text Utilities Reference Manual.
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 Configuration Editor Figure 6-2 shows the opening screen of the PCI-MXI-2 Configuration Editor. Notice that the screen displays the serial number and hardware revision of the PCI-MXI-2 board in addition to several configuration options. Figure 6-2.
Chapter 6 NI-VXI Configuration Utility Before proceeding to a description of each field in these editors, review the remaining four options of the PCI-MXI-2 Configuration Editor. These options directly relate to how you can use the changes you make using the configuration editors, which are described after the options. Update Current Configuration Use this option to write the configuration settings to the PCI-MXI-2 EEPROM and files used by NI-VXI.
Chapter 6 NI-VXI Configuration Utility Logical Address Configuration Editor Figure 6-3 shows the Logical Address Configuration Editor. Notice that the options are arranged into three groups—Device Settings, VXI Shared Memory, and Resource Manager. The following paragraphs describe the options you can select for each of the fields. Figure 6-3.
Chapter 6 NI-VXI Configuration Utility Logical Address Range Default Value 0 to 254 0 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 EXT Message-Based Device MBD Register-Based Device RBD The device type affects only the contents of the Device Class field in the Device Type register.
Chapter 6 NI-VXI Configuration Utility VXI/VME Shared Memory The VXI Shared Memory group contains the controls to set the VXI and VME shared RAM size and the shared RAM pool. The Advanced button leads to additional options that configure the upper and lower half of the shared RAM area. VXI/VME Shared RAM Size This field indicates the amount of RAM (in bytes) that is shared in either A24 or A32 space.
Chapter 6 NI-VXI Configuration Utility The shared RAM pool is used by VXImemAlloc() function calls. For information on the VXImemAlloc() function, refer to the NI-VXI User Manual and the NI-VXI Programmer Reference Manual. Note: When the Address Space field is in the default setting of A16 only, this field is ignored. This field is also ignored if the Memory Select fields for both the lower and upper half windows are set to Onboard memory.
Chapter 6 NI-VXI Configuration Utility The VXI/VME shared RAM is divided into two halves, or windows. You can select the byte order for each half independently. You can map each half of the VXI/VME shared RAM independently into system memory on the motherboard or into onboard memory on the PCI-MXI-2.
Chapter 6 NI-VXI Configuration Utility If the windows both map to the shared RAM destination but the byte order is different, the base of each inward window maps to the base of the shared RAM destination. This results in one half of the window accessing the system RAM in Little Endian byte order and the other half accessing it in Big Endian byte order. ! Caution: There is a potential problem when opening up a shared memory region to point to system RAM.
Chapter 6 NI-VXI Configuration Utility Device Configuration Editor Figure 6-5 shows the Device Configuration Editor. The following paragraphs describe the options you can select for each of the fields. Figure 6-5. PCI-MXI-2 Device Configuration Editor Default Controller (LA -1) Many NI-VXI functions use controller as a parameter with -1 accepted as a valid value. You use this selection to determine which controller you are referring to when you use -1 in these NI-VXI functions.
Chapter 6 NI-VXI Configuration Utility System IRQ Level The remote controllers—in this case the VXI/VME-MXI-2—can report events such as triggers and DMA to the PCI-MXI-2 through a VXI IRQ line. This field selects which VXI IRQ level the remote controllers should use to report events to the PCI-MXI-2.
Chapter 6 NI-VXI Configuration Utility Number of Interrupters This field gives the number of interrupters that the PCI-MXI-2 supports. Interrupters Default Value 0 to 7 0 Protocol Register This field specifies the contents of the Protocol register, indicating which protocols the device supports. This field is meaningful only when the PCI-MXI-2 is configured as a message-based device. The default value is 0x0ff0 (Commander, Signal Register, Master).
Chapter 6 NI-VXI Configuration Utility Bus Configuration Editor Figure 6-6 shows the Bus Configuration Editor. The following paragraphs describe the options you can select for each of the fields. Figure 6-6. PCI-MXI-2 Bus Configuration Editor MXI Bus The following paragraphs describe the options for the MXI Bus portion of this editor. MXI System Controller You can use the MXI System Controller control to determine whether the PCI-MXI-2 acts as the MXIbus System Controller.
Chapter 6 NI-VXI Configuration Utility before making any NI-VXI function calls or attempting to use the VXI/VME-MXI-2 Configuration Editor. Refer to the Connect the MXIbus Cable section at the end of either Chapter 3 or Chapter 4 of this manual. You can select the Yes or No options to manually determine whether the PCI-MXI-2 should be the MXIbus System Controller. You must still be certain to cable the MXIbus system appropriately when you make either of these selections.
Chapter 6 ! NI-VXI Configuration Utility Caution: Do not configure more than one MXIbus device to drive MXIbus CLK10. Having a second device driving MXIbus CLK10 could damage the device. MXI Transfer Limit Use this feature to control how many data transfers the PCI-MXI-2 will perform on the MXIbus before releasing it to another master device that is requesting use of the bus. The default setting holds the MXIbus for an unlimited period of time.
Chapter 6 NI-VXI Configuration Utility receives either a DTACK or BERR response, which it then passes to the MXI bus. This is the default situation because many external masters do not support VXI/MXI retries. If the external master does support retries, it may be beneficial to disable the MXI-2 auto retry feature. With this feature disabled, you can lower the MXI Bus Timeout because there will be no delay due to the inward cycles being retried.
Chapter 6 NI-VXI Configuration Utility Window Size The amount of space you can allocate for the user window is system dependent. You can use the Size control 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(). 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.
Chapter 6 NI-VXI Configuration Utility VXI/VME-MXI-2 Configuration Editor Before running the VXI/VME-MXI-2 Configuration Editor, you must run resman. Note: Throughout this section, the term VXI/VME-MXI-2 denotes that the information applies equally to the VXI-MXI-2 or the VME-MXI-2. Upon entering the VXI/VME-MXI-2 Configuration Editor, the program displays a list of VXI/VME-MXI-2 boards that resman detected in your system, as shown in Figure 6-7. Figure 6-7.
Chapter 6 NI-VXI Configuration Utility Figure 6-8. VXI/VME-MXI-2 Configuration Editor LA Selection and Logical Address You can set or modify the logical address of the VXI/VME-MXI-2 either within the VXI/VME-MXI-2 Configuration Editor itself or with the onboard 8-position DIP switch. To select the configuration method you prefer, use the LA Selection controls. The default selection is the Switch option. Notice that the Logical Address control is inaccessible, since it would have no effect.
Chapter 6 NI-VXI Configuration Utility Address Space and Requested Memory The VXI/VME-MXI-2 requires at least 16 KB of address space in A24 space or at least 64 KB in A32 space. Use the Address Space control to select whether you want to use A24 space or A32 space. Use the Requested Memory control to set the amount of memory space that the VXI/VME-MXI-2 will request. You can select up to 8 MB in A24 space and up to 2 GB in A32 space. The default setting uses the minimum requirement of 16 KB in A24 space.
Chapter 6 NI-VXI Configuration Utility The A24/A32 write posting control affects write cycles that map through the A24 window and A32 window from the VXI/VMEbus to the MXIbus and vice-versa. This control also affects write cycles to the VXI/VME-MXI-2 itself via its requested memory space from both the VXI/VMEbus and the MXIbus. For more information on the A16, A24, and A32 windows, refer to VXI-6, the VXIbus Mainframe Extender Specification.
Chapter 6 NI-VXI Configuration Utility In a VXI/VMEbus/MXIbus system, you can configure some VXI/VME-MXI-2 modules for normal operating mode and others for interlocked arbitration mode. The VXI/VMEbus mainframes configured in interlocked arbitration mode will be interlocked with each other and the mainframes configured for normal operating mode can perform transfers in parallel.
Chapter 6 NI-VXI Configuration Utility Otherwise, choose either the Yes or No option. Notice that selecting either of these options overrides the onboard jumper setting on the VXI-MXI-2, so it will not matter how the jumper is set. You would need to run the VXI/VME-MXI-2 Configuration Editor again if you decide to change the VMEbus System Controller (VXI Slot 0) setting at a later time.
Chapter 6 NI-VXI Configuration Utility . Figure 6-9. Advanced VXI Settings VXI/VME Auto Retry The VXI/VME-MXI-2 has an automatic retry feature for cycles that map from the VXI/VMEbus to the MXIbus. By default this option is disabled. Normally, when a cycle maps from the VXI/VMEbus to the MXIbus, any retry response received on the MXIbus is passed to the VXI/VMEbus.
Chapter 6 NI-VXI Configuration Utility Transfer Limit You can use this feature to control how many data transfers the VXI/VME-MXI-2 will perform on the VXI/VMEbus before releasing it to another master device that is requesting use of the bus. The available options you can choose from are 16, 64, and 256 transfers. If you do not want the VXI/VME-MXI-2 to hold the VXI/VMEbus long enough to perform 256 transfers (the default value), you can use this control to select a smaller value.
Chapter 6 NI-VXI Configuration Utility VXI/VME Fair Requester The VXI/VME-MXI-2 is always a Release On Request requester. However, you can configure whether the VXI/VME-MXI-2 acts as either a fair or unfair requester on the VXI/VMEbus. By default the Operate as Fair Requester checkbox is enabled, signifying a fair requester. For more information on the different types of requesters, refer to the VMEbus specification.
Chapter 6 NI-VXI Configuration Utility control described previously under the VXI/VME Bus Options section. The options range from 8 µs to 128 ms, with a default value of 1 ms. After the specified amount of time has elapsed, the BTO circuitry terminates a MXIbus cycle if no slave has responded. The BTO circuitry is automatically deactivated when the VXI/VME-MXI-2 is not acting as the MXI Bus System Controller.
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. The VXI/VME-MXI-2 automatically continues to retry the VXI/VME cycle until it receives either a DTACK or BERR response, which it then passes to the MXIbus.
Chapter 6 NI-VXI Configuration Utility MXI CLK10 Signal The VXI-MXI-2 can either receive or drive the MXIbus CLK10 signal. In its default setting, the VXI-MXI-2 uses the switch setting of S7 to determine the signal direction. ♦ VME users—This option is not applicable to the VME-MXI-2. You can use the Drive or Receive options to override the setting of S7 and control the direction of the MXIbus CLK10 signal.
Chapter 7 Using the NI-VXI Software This chapter discusses programming information for you to consider when developing applications that use the NI-VXI driver. After installing the driver software, you can begin to develop your VXI/VME application software. Be sure to check the README file for the latest application development notes. You must run resman each time the chassis power is cycled so that your application can access devices in the VXI or VME chassis.
Chapter 7 Using the NI-VXI Software Note: When compiling NI-VXI applications, you must define the VXISOLARIS macro in your makefile/project. Refer to the example programs on your software diskettes for details. Example Programs The examples subdirectory contains various example programs along with a makefile that show how to use various functions in the NI-VXI software and how to develop application programs using these functions.
Chapter 7 Using the NI-VXI Software The function MapVXIAddress() returns a pointer for use with low-level access functions. It is strongly recommended to use the VXIpeek() and VXIpoke() macros to access the memory instead of directly dereferencing the pointer. Using these macros makes the NI-VXI software more portable between platforms, which can be handled through the macros.
Chapter 7 Using the NI-VXI Software System Configuration Functions The System Configuration functions provide the lowest-level initialization of your NI-VXI software and VXI controller. You must use the InitVXIlibrary() function at the start of each application and the CloseVXIlibrary() function at the end of each application. Compiling Your C Program You can use the sample programs included with the NI-VXI software as a starting point to develop your own C program that uses NI-VXI functions.
Chapter 7 Using the NI-VXI Software Refer to the documentation that came with your compiler package for detailed instructions about using the compiler and the various tools (linker, debugger, and so on). Your compiler documentation is an important and useful source of information for writing, compiling, and debugging C programs.
Appendix A Specifications This appendix lists various module specifications of the PCI-MXI-2, VXI-MXI-2, and VME-MXI-2 such as physical dimensions and power requirements. PCI-MXI-2 The following pages list the specifications for the PCI-MXI-2 module.
Appendix A Specifications PCI Functionality Characteristic Specification 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 Base Address Registers BAR 0
Appendix A Specifications Environmental Characteristic Specification Temperature 0° to 55° C operating; -40° to 85° C storage Relative Humidity 0% to 95% noncondensing, operating; 0% to 95% noncondensing, storage EMI FCC Class A Verified Physical Characteristic Specification Board Dimensions 174.63 by 106.68 mm (6.875 by 4.2 in.) Connectors Single fully implemented MXI-2 connector Slot Requirements Single PCI slot MTBF Contact factory Weight 0.18 Kg (0.
Appendix A Specifications VXI-MXI-2 The following pages list the specifications for the VXI-MXI-2 module.
Appendix A Specifications VMEbus Capability Codes Capability Code Description A32, A24, A16 (master) VMEbus master A32, A24, and A16 addressing A32, A24, A16 (slave) VMEbus slave A32, A24, and A16 addressing D32, D16, D08(EO) (master) VMEbus master D32, D16, and D08 data sizes D32, D16, D08(EO) (slave) VMEbus slave D32, D16, and D08 data sizes BLT, MBLT (master) VMEbus master block and D64 transfers BLT, MBLT (slave) VMEbus slave block and D64 transfers RMW (master) VMEbus master read/modif
Appendix A Specifications Requirements Characteristic Specification VXIbus Configuration Space 64 B A24 or A32 Space 16 KB minimum (programmable) Environmental Characteristic Specification Temperature 0° to 55° C operating; -40° to 85° C storage Relative Humidity 0% to 95% noncondensing, operating; 0% to 95% noncondensing, storage EMI FCC Class A Verified Physical Characteristic Specification Board Dimensions Fully enclosed, shielded VXI C-size board 233.35 by 340 mm (9.187 by 13.386 in.
Appendix A Specifications Electrical DC Current Ratings Source Typical Maximum +5 VDC 2.5 A 3.5 A -5.
Appendix A Specifications VME-MXI-2 The following pages list the specifications for the VME-MXI-2 module.
Appendix A Specifications VMEbus Capability Codes Capability Code Description A32, A24, A16 (master) VMEbus master A32, A24, and A16 addressing A32, A24, A16 (slave) VMEbus slave A32, A24, and A16 addressing D32, D16, D08(EO) (master) VMEbus master D32, D16, and D08 data sizes D32, D16, D08(EO) (slave) VMEbus slave D32, D16, and D08 data sizes BLT, MBLT (master) VMEbus master block and D64 transfers BLT, MBLT (slave) VMEbus slave block and D64 transfers RMW (master) VMEbus master read/modif
Appendix A Specifications Requirements Characteristic Specification A16 Space 64 B A24 or A32 Space 16 KB minimum (programmable) Environmental Characteristic Specification Temperature 0° to 55° C operating; -40° to 85° C storage Relative Humidity 0% to 95% noncondensing, operating; 0% to 95% noncondensing, storage EMI FCC Class A Verified Physical Characteristic Specification Board Dimensions VMEbus double-height board 233.36 by 160 mm (9.187 by 6.2999 in.
Appendix A Specifications Performance VME Transfer Rate Peak 33 MB/s Sustained 23 MB/s © National Instruments Corporation A-11 VXI/VME-PCI8022 for Solaris
Appendix NI-VXI Software Overview B This appendix lists and describes the main programs and files that make up the NI-VXI software. Main Programs and Files This section lists the main programs and files that you can use for controlling your VXI/VME interface. Note: Any executable not listed in this section is used by the driver and should not be executed by the user directly. • vxiinit is the PCI-MXI-2 initialization program. This program initializes the PCI-MXI-2.
Appendix B NI-VXI Software Overview system configuration information generated by the Resource Manager after it configures the link to the VMEbus. In VXI systems, you also use vxiedit to edit the model names of VXI devices and the manufacturer name and ID numbers. This program is described in detail in the NI-VXI Graphical Utilities Reference Manual. • vxitedit is the text-based VXI resource editor program that is functionally equivalent to vxiedit.
Appendix EEPROM Configuration C This appendix describes how to control the operation of the PCI-MXI-2 onboard EEPROM and how to fix an invalid EEPROM setting. The EEPROM stores default registers values that are loaded at power-on. The EEPROM is divided into two halves so that you can modify one half, while the factory-configured half retains a back-up of the default user settings.
Appendix C EEPROM Configuration U17 FOV ON 1 2 3 4 TST POS CT Figure C-1. EEPROM Operation 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. For example, many PCI-based computers will not boot if a board in its system requests more memory space than the computer can allocate.
Appendix C Note: EEPROM Configuration If you have to remove the PCI-MXI-2 module to access switch 1, follow the installation instructions given in Chapter 2, PCI-MXI-2 Configuration and Installation, to re-install the PCI-MXI-2 module. 4. Replace the computer cover. 5. Turn on the computer. The computer should boot this time because the factory-default configuration is being used to initialize the PCI-MXI-2 module. 6. Run vxiedit to re-adjust the PCI-MXI-2 configuration.
Appendix D Common Questions This appendix addresses common questions you may have about using the NI-VXI bus interface software on the PCI-MXI-2 platform. How can I determine which version of the NI-VXI software I have installed? Run the NI-VXI utility program vic or victext. At the prompt type ver, and the utility will display the versions of vic/victext and NI-VXI, and the latest PCI-MXI-2 board revision that this NI-VXI driver supports.
Appendix D Common Questions Which NI-VXI utility program must I use to perform startup Resource Manager operations? Use the resman program to perform startup Resource Manager operations. It is located in the NIVXI directory. resman uses the settings in the Configuration Editor of vxiedit or vxitedit. It initializes your VXI/VMEbus system and stores the information that it collects to the resman.TBL file in the TBL subdirectory of the NIVXI directory.
Appendix D Common Questions Are the PCI-MXI-2 and the VXI-MXI-2 two devices or one with respect to the VXIbus? Both the PCI-MXI-2 and the VXI-MXI-2 are unique VXIbus devices with their own logical addresses. However, the MXIbus allows the computer to behave as if it is inside the chassis with the VXI-MXI-2 by transparently converting PCI bus cycles to MXIbus cycles to VXIbus cycles, and vice versa. I have a system that requires rugged chassis and bulkhead cables.
Appendix D Common Questions Whenever I try to execute any of the NI-VXI utilities, I receive this message: ld.so.1: ./vxiinit: fatal: libnivxi.so.1: can’t open file: errno=2 Killed. What does this error message mean? This usually means that the application could not load the NI-VXI library. Check the environment variables NIVXIPATH and LD_LIBRARY_PATH. LD_LIBRARY_PATH should include the directory where you installed the PCI-MXI-2 driver.
Appendix Customer Communication E For your convenience, this appendix contains forms to help you gather the information necessary to help us solve your technical problems and a form you can use to comment on the product documentation. When you contact us, we need the information on the Technical Support Form and the configuration form, if your manual contains one, about your system configuration to answer your questions as quickly as possible.
Fax-on-Demand Support Fax-on-Demand is a 24-hour information retrieval system containing a library of documents on a wide range of technical information. You can access Fax-on-Demand from a touch-tone telephone at (512) 418-1111. E-Mail Support (currently U.S. only) You can submit technical support questions to the applications engineering team through e-mail at the Internet address listed below. Remember to include your name, address, and phone number so we can contact you with solutions and suggestions.
Technical Support Form Photocopy this form and update it each time you make changes to your software or hardware, and use the completed copy of this form as a reference for your current configuration. Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently.
Hardware and Software Configuration Form Record the settings and revisions of your hardware and software on the line to the right of each item. Complete a new copy of this form each time you revise your software or hardware configuration, and use this form as a reference for your current configuration. Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently.
MXI System Controller ________________________________________________________ MXI Bus Timeout Value _______________________________________________________ MXI CLK10 _________________________________________________________________ MXI Transfer Limit ___________________________________________________________ Synchronous MXI ____________________________________________________________ MXI-2 Auto Retry ____________________________________________________________ A24/A32 Write Posting _______________________
DRAM SIMMs Installed ________________________________________________________ VXI/VME-MXI-2 Configuration Editor Settings (VXIedit) Logical Address ______________________________________________________________ LA Selection _________________________________________________________________ Address Space ________________________________________________________________ Requested Memory ____________________________________________________________ A16 Write Posting ______________________________________________
Programming Language ________________________________________________________ Programming Language Version _________________________________________________ Other Boards in System ________________________________________________________ Base I/O Address of Other Boards ________________________________________________ DMA Channels of Other Boards _________________________________________________ Interrupt Level of Other Boards __________________________________________________
Documentation Comment Form National Instruments encourages you to comment on the documentation supplied with our products. This information helps us provide quality products to meet your needs. Title: Getting Started with Your VXI/VME-PCI8022 and the NI-VXI™ Software for Solaris Edition Date: June 1997 Part Number: 321413A-01 Please comment on the completeness, clarity, and organization of the manual.
Glossary Prefix Meaning Value n- nano- 10-9 µ- micro- 10-6 m- milli- 10-3 K- kilo- 103 M- mega- 106 G- giga- 109 Symbols ° degrees Ω ohms % percent A A amperes A16 space VXIbus address space equivalent to the VME 64 KB short address space. In VXI, the upper 16 KB of A16 space is allocated for use by VXI devices configuration registers. This 16 KB region is referred to as VXI configuration space.
Glossary A32 space VXIbus address space equivalent to the VME 4 GB extended address space. 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.
Glossary binary A numbering system with a base of 2. BIOS Basic Input/Output System. BIOS functions are the fundamental level of any PC or compatible computer. BIOS functions embody the basic operations needed for successful use of the computer’s hardware resources. block-mode transfer An uninterrupted transfer of data elements in which the master sources only the first address at the beginning of the cycle.
Glossary D 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. DIP Dual Inline Package DMA Direct Memory Access; a method by which data is transferred between devices and internal memory without intervention of the central processing unit.
Glossary EMI Electromagnetic Interference expansion ROM An onboard EEPROM that may contain device-specific initialization and system boot functionality. external controller In this configuration, a plug-in interface board in a computer is connected to the VXI mainframe via one or more VXIbus extended controllers. The computer then exerts overall control over VXIbus system operations.
Glossary K KB Kilobytes of memory L LED Light Emitting Diode logical address An 8-bit number that uniquely identifies each VXIbus device in a system. It defines the A16 register address of a device, and indicates Commander and Servant relationships. M m meters master A functional part of a MXI/VME/VXIbus device that initiates data transfers on the backplane. A transfer can be either a read or a write.
Glossary by including VXI triggers, all VXI interrupts, CLK10, SYSFAIL*, SYSRESET*, and ACFAIL*. MXIbus Multisystem eXtension Interface Bus; a high-performance communication link that interconnects devices using round, flexible cables. MXIbus System Controller A functional module that has arbiter, daisy-chain driver, and MXIbus cycle timeout responsibility. Always the first device in the MXIbus daisy-chain. N NI-VXI The National Instruments bus interface software for VME/VXIbus systems.
Glossary RESMAN The name of the National Instruments Resource Manager in NI-VXI bus interface software. See Resource Manager. Resource Manager A message-based Commander located at Logical Address 0, which provides configuration management services such as address map configuration, Commander and Servant mappings, and self-test and diagnostic management. S s seconds Servant A device controlled by a Commander; there are message-based and register-based Servants.
Glossary System RAM RAM installed on your personal computer and used by the operating system, as contrasted with onboard RAM, which is installed on the PCI-MXI-2 or VXI/VME-MXI-2. T trigger Either TTL or ECL lines used for intermodule communication. TTL Transistor-Transistor Logic U user window A region of PCI address space reserved by the PCI-MXI-2 for use via the NI-VXI low-level function calls.
Glossary VXIedit or 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.
Index A sample programs, 7-4 symbols, 7-4 to 7-5 cables, rugged, D-3 CLK10 routing, VXIbus, 3-8 to 3-12 CLK10 generated from MXIbus (figure), 3-9 CLK10 generated from onboard oscillator (figure), 3-9 CLK10 generated from SMB (figure), 3-9 drive inverted external CLK SMB (figure), 3-11 drive non-inverted external CLK SMB (figure), 3-11 receive external CLK SMB (figure), 3-11 receive external CLK SMB with 50 ohm termination (figure), 3-11 receiving or driving MXIbus CLK10 (figure), 3-12 CLK10 signal, MXIbus
Index trigger input termination, 3-12 to 3-13 VXIbus CLK10 routing, 3-8 to 3-12 VXIbus local bus, 3-7 to 3-8 VXIbus logical address, 3-4 to 3-5 VXIbus Slot 0/non-Slot 0, 3-5 to 3-7 configuration editors. See PCI-MXI-2 Configuration Editor; VXI/VME-MXI-2 Configuration Editor.
Index Enable Byte Swapping option, VXI Shared RAM, 6-9 environmental specifications PCI-MXI-2, A-3 VME-MXI-2 module, A-10 VXI-MXI-2 module, A-6 example programs, 7-2 Expansion ROM, enabling, 6-18 VME-MXI-2 module Configuration Editor settings (table), 1-14 to 1-15 hardware settings (table), 1-14 VXI-MXI-2 module Configuration Editor settings (table), 1-14 to 1-15 hardware settings (table), 1-13 Device Configuration Editor. See PCI-MXI-2 Device Configuration Editor.
Index definition, 3-4 Logical Address Configuration Editor. See PCI-MXI-2 Logical Address Configuration Editor. low-level access functions, 7-2 to 7-3 quick start installation, 1-7 to 1-8 header files, B-2 I InitVXIlibrary function, 7-4 installation hardware installation, 1-7 to 1-8 NI-VXI software for Solaris 2.
Index N onboard DRAM, 2-3 parts locator diagram, 2-2 default settings Bus Configuration Editor (table), 1-12 Device Configuration Editor (table), 1-12 hardware settings (table), 1-11 Logical Address Configuration Editor (table), 1-11 hardware description, 1-4 to 1-5 installation, 2-4 to 2-5 quick start installation, 1-6 to 1-7 specifications electrical, A-3 environmental, A-3 MXIbus capability descriptions, A-1 PCI functionality, A-2 performance, A-3 physical, A-3 requirements, A-2 PCI-MXI-2 Bus Configura
Index VXI-MXI-2 module, A-6 problems and solutions, D-1 to D-4 programming considerations. See NI-VXI software.
Index physical, A-6 requirements, A-6 VMEbus capability codes, A-5 symbols in C programs, 7-4 to 7-5 Synchronous MXI protocol, 6-16 system configuration functions, 7-4 System Controller MXI System Controller, 6-14 to 6-15 MXIbus System Controller, 6-27 VMEbus System Controller, 6-23 to 6-24 system IRQ level, selecting, 6-12 Requester. See Fair Requester.
Index VXI/VME Shared RAM Size, 6-7 Window Mapping, 6-9 to 6-10 VXIbus CLK10 routing, 3-8 to 3-12 CLK10 generated from MXIbus (figure), 3-9 CLK10 generated from onboard oscillator (figure), 3-9 CLK10 generated from SMB (figure), 3-9 drive inverted external CLK SMB (figure), 3-11 drive non-inverted external CLK SMB (figure), 3-11 receive external CLK SMB (figure), 3-11 receive external CLK SMB with 50 ohm termination (figure), 3-11 receiving or driving MXIbus CLK10 (figure), 3-12 VXIbus local bus, 3-7 to 3-8
Index environmental, A-6 MXIbus capability descriptions, A-4 performance, A-7 physical, A-6 requirements, A-6 VMEbus capability codes, A-5 VXIpeek function, 7-2 to 7-3 VXIpoke function, 7-2 to 7-3 VXISOLARIS macro (note), 7-2 VXISOLARIS symbol, defining, 7-4 VXItedit utility interacting with VXI/VME devices, 1-9 overview, B-2 VME device configuration information, 1-9 VXI/VME automatic retry feature, 6-25 VXI/VME-MXI-2 Configuration Editor A16 Write Post and A24/A32 Write Post, 6-21 to 6-22 Address Space an
Index VMEbus System Controller, 6-23 to 6-24 VXI/VME Auto Retry, 6-25 VXI/VME BTO Value, 6-24 VXI/VME-PCI8022 kit hardware description, 1-4 to 1-5 introduction, 1-1 MXI-2 description, 1-3 to 1-4 overview, 1-3 requirements for getting started, 1-3 software description, 1-5 W Window Mapping option, VXI Shared RAM, 6-9 to 6-10 Window Size value, 6-18 write posting A16 write posting, VME/VXI-MXI-2, 6-21 to 6-22 A24/A32 write posting PCI-MXI-2 board, 6-17 VME/VXI-MXI-2, 6-21 to 6-22 VXI/VME-PCI8022 for Solari