National Instruments 370551A-01 - Manuals
National Instruments 370551A-01 – Manual in PDF format online.
Manuals:
Manual National Instruments 370551A-01
Summary
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 re...
Compliance FCC/Canada Radio Frequency Interference Compliance* Determining FCC Class The Federal Communications Commission (FCC) has rules to protect wireless communications from interference. The FCC places digital electronics into two classes. These classes are known as Class A (for use in industr...
Canadian Department of Communications This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe B respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada. Compliance to EU Directives R...
© National Instruments Corporation vii PCI-MXI-2 for Linux Contents About This Manual How To Use the Manual Set .......................................................................................... xiConventions ......................................................................................
Contents PCI-MXI-2 for Linux x ni.com Advanced MXI Settings ................................................................... 6-28 MXI Auto Retry ................................................................. 6-28Transfer Limit ......................................................................
© National Instruments Corporation xi PCI-MXI-2 for Linux About This Manual This manual contains instructions for installing and configuring the National Instruments PCI-MXI-2 kits for Linux. The VXI MXI-2 kit includes a VXI-MXI-2 module that plugs into a VXI mainframe and links your PCI-based compu...
About This Manual PCI-MXI-2 for Linux xii ni.com 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 PCI-MXI-2 kit in the order in which this manual describes them. B...
About This Manual © National Instruments Corporation xiii PCI-MXI-2 for Linux italic Italic text denotes variables, emphasis, a cross reference, an introduction to a key concept, or text as it appears on a hardware label. This font also denotes text that is a placeholder for a word or value that you...
© National Instruments Corporation 1-1 PCI-MXI-2 for Linux 1 Introduction and Quick Start This chapter describes the PCI-MXI-2 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...
Chapter 1 Introduction and Quick Start PCI-MXI-2 for Linux 1-2 ni.com How to Use This Manual VXI VME Gather What You Need to Get Started Chapter 2 Chapter 6 Chapter 5 Chapter 7 Chapter 4 Software and Utilities Reference Chapter 1 Write Application Program Using VXI or VME? Configure and Install the ...
Chapter 1 Introduction and Quick Start © National Instruments Corporation 1-3 PCI-MXI-2 for Linux PCI-MXI-2 Kit Overview The PCI-MXI-2 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 Int...
Chapter 1 Introduction and Quick Start PCI-MXI-2 for Linux 1-4 ni.com In addition, MXI-2 boosts data throughput performance past previous-generation 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 devi...
Chapter 1 Introduction and Quick Start © National Instruments Corporation 1-5 PCI-MXI-2 for Linux 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. Also, the VXI-MXI-2 and VME-MXI-2 autom...
Chapter 1 Introduction and Quick Start PCI-MXI-2 for Linux 1-6 ni.com Optional Software Your PCI-MXI-2 kit includes the NI-VXI/NI-VISA bus interface software. In addition, you can use National Instruments LabVIEW to ease your programming task. This standardized program matches the modular virtual in...
Chapter 1 Introduction and Quick Start © National Instruments Corporation 1-7 PCI-MXI-2 for Linux Hardware Installation To guard against electrostatic discharge, touch the antistatic plastic package to a metal part of your computer before removing the PCI-MXI-2 from the package. Install the PCI-MXI-...
Chapter 1 Introduction and Quick Start PCI-MXI-2 for Linux 1-8 ni.com Installing and Loading the NI-VXI/NI-VISA Software for Linux For information on installing, uninstalling, or using the NI-VXI/NI-VISA software, refer to Chapter 5, NI-VXI/NI-VISA Software Installation . VME Users When used with a ...
Chapter 1 Introduction and Quick Start © National Instruments Corporation 1-9 PCI-MXI-2 for Linux The same functionality is available in victext with the vxiinreg command. You can use help vxiinreg for the command’s parameter description. You may now want to read the configuration registers from oth...
Chapter 1 Introduction and Quick Start PCI-MXI-2 for Linux 1-10 ni.com Table 1-2. PCI-MXI-2 Logical Address Configuration Editor Default Settings Editor Field Default Setting Logical Address 0 Device Type MBD Address Space A16 VXI Shared RAM Size 0 KB Shared RAM Pool 0 KB Lower Half Window Byte Swap...
Chapter 2 PCI-MXI-2 Configuration and Installation © National Instruments Corporation 2-3 PCI-MXI-2 for Linux 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...
Chapter 3 VXI-MXI-2 Configuration and Installation © National Instruments Corporation 3-3 PCI-MXI-2 for Linux 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...
Chapter 3 VXI-MXI-2 Configuration and Installation © National Instruments Corporation 3-7 PCI-MXI-2 for Linux 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. The VXI-MXI-2 uses the local bus to pass ...
Chapter 3 VXI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 3-8 ni.com Figure 3-4. VXIbus Local Bus Configuration VXIbus CLK10 Routing When the VXI-MXI-2 is installed in Slot 0 of your mainframe, it supplies the VXIbus CLK10 signal. The VXI-MXI-2 can use three different sources to generat...
Chapter 3 VXI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 3-12 ni.com 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 in Figure 3-5c, if W3 is configure...
Chapter 3 VXI-MXI-2 Configuration and Installation © National Instruments Corporation 3-13 PCI-MXI-2 for Linux Figure 3-8. SMB Trigger Input Termination MXIbus Termination The first and last MXIbus devices connected to the MXIbus—whether it is a single MXI-2 cable or daisy-chained MXI-2 cables—must ...
Chapter 3 VXI-MXI-2 Configuration and Installation © National Instruments Corporation 3-17 PCI-MXI-2 for Linux 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. Table 3-1. VXI-MXI-2 DRAM Configurations Bank 0 Bank 1 Total DRAM National I...
Chapter 3 VXI-MXI-2 Configuration and Installation © National Instruments Corporation 3-19 PCI-MXI-2 for Linux 3. If you are installing the VXI-MXI-2 into a D-size mainframe, install a support designed for installing C-size boards in D-size mainframes. The VXI-MXI-2 has no P3 connector and cannot pr...
Chapter 4 VME-MXI-2 Configuration and Installation © National Instruments Corporation 4-3 PCI-MXI-2 for Linux 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...
Chapter 5 NI-VXI/NI-VISA Software Installation PCI-MXI-2 for Linux 5-2 ni.com where 1.6-1 is the version you are installing. Note that this version number will be different if you are installing a newer version. Note If you use rpm rather than the INSTALL script, you must repeat this step for each p...
Chapter 5 NI-VXI/NI-VISA Software Installation © National Instruments Corporation 5-3 PCI-MXI-2 for Linux Place these lines in your .cshrc or .login (C shell) or .profile (Bourne or Korn shells) so they will execute automatically the next time you log in. Completing the Software Installation After t...
© National Instruments Corporation 6-1 PCI-MXI-2 for Linux 6 NI-VXI Configuration Utility 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...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-3 PCI-MXI-2 for Linux 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 i...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-4 ni.com Update Current Configuration Use this option to write the configuration settings to the PCI-MXI-2 EEPROM and files used by NI-VXI. Notice that some of the configuration settings cannot take effect until you reset the machine, eith...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-5 PCI-MXI-2 for Linux Figure 6-3. PCI-MXI-2 or PXI-MXI-2B Logical Address Configuration Editor Device Settings The Device Settings group contains the controls to set the logical address, device type, and address space of the...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-6 ni.com 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. The device type affects only the contents of the...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-7 PCI-MXI-2 for Linux VXI/VME Shared RAM Size This field indicates the amount of RAM (in bytes) that is shared in either A24 or A32 space. This determines the total shared RAM size, which is then divided into two equal halve...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-8 ni.com 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 . Advanced ...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-9 PCI-MXI-2 for Linux Enable Byte Swapping This checkbox indicates whether byte swapping should be performed for slave accesses to this half of the VXI/VME shared RAM space. For example, if the native byte order of the share...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-10 ni.com Caution There is a potential problem when opening up a shared memory region to point to system RAM. The PCI bus may return a retry on any cycle into system RAM. As a consequence, an external VXI/VME device accessing the system RA...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-11 PCI-MXI-2 for Linux 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 Default Controller (LA ...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-12 ni.com 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 t...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-13 PCI-MXI-2 for Linux Number of Interrupters This field gives the number of interrupters that the PCI-MXI-2 supports. Protocol Register This field specifies the contents of the Protocol register, indicating which protocols ...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-14 ni.com Bus Configuration Editor Figure 6-6 shows the Bus Configuration Editor. The following sections describe the options you can select for each of the fields. Figure 6-6. PCI-MXI-2 Bus Configuration Editor MXI Bus The following secti...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-15 PCI-MXI-2 for Linux 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...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-16 ni.com 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 ...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-17 PCI-MXI-2 for Linux 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. Note The PCI-MXI...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-18 ni.com 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 th...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-19 PCI-MXI-2 for Linux 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 ...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-20 ni.com 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-posi...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-21 PCI-MXI-2 for Linux 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 ...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-22 ni.com Interlocked Mode Interlocked arbitration mode is an optional mode of operation in which at any given moment the system can perform as if it were one large VXI/VMEbus mainframe with only one master of the entire system—VXI/VMEbus ...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-23 PCI-MXI-2 for Linux This type of system configuration is recommended if you have one of the following situations: • A VXI/VMEbus mainframe with only slave devices and no masters. Without bus masters, there is no chance fo...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-24 ni.com Caution Do not install a VXI/VME-MXI-2 configured for VMEbus System Controller (VXI Slot 0) into another slot without first reconfiguring it to either Non-Slot 0 or automatic configuration. Neglecting to do this could damage the ...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-25 PCI-MXI-2 for Linux . 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. Normal...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-26 ni.com enough to perform 256 transfers (the default value), you can use this control to select a smaller value. Arbiter Type You can use the Arbiter Type feature to configure the VXI/VME-MXI-2 as either a Priority or Round Robin VMEbus ...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-27 PCI-MXI-2 for Linux Arbiter Timeout An arbitration timeout feature is available on the VXI/VME-MXI-2 when it is acting as the VMEbus arbiter. This feature applies only to a VXI Slot 0 (VMEbus System Controller) VXI/VME-MX...
Chapter 6 NI-VXI Configuration Utility PCI-MXI-2 for Linux 6-28 ni.com Advanced MXI Settings Click the Advanced button to reach additional configuration options for the MXI Bus portion of this editor, as shown in Figure 6-10. These options are intended for more advanced users. Figure 6-10. Advanced ...
Chapter 6 NI-VXI Configuration Utility © National Instruments Corporation 6-29 PCI-MXI-2 for Linux Transfer Limit You can use this feature to control how many data transfers the VXI/VME-MXI-2 will perform on the MXIbus before releasing it to another master device that is requesting use of the bus. T...
Chapter 7 Using the NI-VXI/NI-VISA Software PCI-MXI-2 for Linux 7-2 ni.com Interactive Control of NI-VXI/NI-VISA The easiest way to learn how to communicate with your instruments is by controlling them interactively. Use the VXI/VME interactive control utility ( vic or its text mode counterpart, vic...
Chapter 7 Using the NI-VXI/NI-VISA Software © National Instruments Corporation 7-3 PCI-MXI-2 for Linux Low-Level Access Functions The memory windows used to access the VXI/VMEbus are a limited resource. You should follow the protocol of calling the viMapAddress() or MapVXIAddress() function with Acc...
Chapter 7 Using the NI-VXI/NI-VISA Software PCI-MXI-2 for Linux 7-4 ni.com System Configuration Functions The System Configuration functions provide the lowest-level initialization of your VXI controller. For NI-VXI, use the InitVXIlibrary() function at the start of each application and the CloseVXI...
© National Instruments Corporation A-1 PCI-MXI-2 for Linux 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 sections list the specifications for the PCI-MXI-2 mod...
Appendix A Specifications for PCI-MXI-2 PCI-MXI-2 for Linux A-2 ni.com PCI Functionality PCI Initiator (master) capability .............Supported PCI Target (slave) capability ..................Supported Data path .................................................32 bits Card voltage/type ..............
Appendix A Specifications for PCI-MXI-2 © National Instruments Corporation A-3 PCI-MXI-2 for Linux Relative humidity Noncondensing, operating .............. 0 to 95% Noncondensing, storage .................. 0 to 95% EMI ........................................................ FCC Class A verified P...
Appendix A Specifications for VXI-MXI-2 © National Instruments Corporation A-7 PCI-MXI-2 for Linux Electrical +5 VDC Typical DC current rating ............... 2.5 A Maximum DC current rating........... 3.5 A –5.2 VDC Typical DC current rating ............... 180 mA Maximum DC current rating............
© National Instruments Corporation B-1 PCI-MXI-2 for Linux B NI-VXI/NI-VISA Software Overview This appendix lists and describes the main programs and files that make up the NI-VXI/NI-VISA software. Main Programs and Files This section lists the main programs and files that you can use for controllin...
Appendix B NI-VXI/NI-VISA Software Overview PCI-MXI-2 for Linux B-2 ni.com Header Files for NI-VXI The NIVXI /include directory (where NIVXI is the actual location where you installed the NI-VXI software package) contains the following include files for the C language interface: • nivxi.h is the mai...
© National Instruments Corporation C-1 PCI-MXI-2 for Linux C EEPROM Configuration 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 divid...
Appendix C EEPROM Configuration PCI-MXI-2 for Linux C-2 ni.com Figure C-1. EEPROM Operation Default Settings 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 wind...
© National Instruments Corporation D-1 PCI-MXI-2 for Linux 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 utili...
Appendix D Common Questions PCI-MXI-2 for Linux D-2 ni.com 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 /bin directory ( /usr/local/nivxi/bin by default). Resm...
Appendix D Common Questions © National Instruments Corporation D-3 PCI-MXI-2 for Linux 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 co...
Appendix D Common Questions PCI-MXI-2 for Linux D-4 ni.com 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...
© National Instruments Corporation G-1 PCI-MXI-2 for Linux Glossary Prefix Meanings Value p- pico- 10 – 12 n- nano- 10 – 9 µ- micro- 10 – 6 m- milli- 10 – 3 k- kilo- 10 3 M- mega- 10 6 G- giga- 10 9 t- tera- 10 12 Symbols ° Degrees. Ω Ohms. % Percent. A A Amperes. A16 space VXIbus address space equi...
© National Instruments Corporation I-1 PCI-MXI-2 for Linux Index A A16 base address, VMEbus, 4-3A16 write posting, VXI/VME-MXI-2, 6-21A24/A32 write posting PCI-MXI-2, 6-17VXI/VME-MXI-2, 6-21 address space configuration PCI-MXI-2, 6-18VXI/VME-MXI-2, 6-20 arbiter type, setting, 6-26arbitration mode, i...
National Instruments Manuals
-
National Instruments SCC-AI01
Manual
-
National Instruments USB-6008/6009
Manual
-
National Instruments 7334
Manual
-
National Instruments NI 9403E
Manual
-
National Instruments DIO 6533
Manual
-
National Instruments NI PCI-5114
Manual
-
National Instruments 1000DC
Manual
-
National Instruments 321518A-01
Manual
-
National Instruments NI 5672
Manual
-
National Instruments USB-9221
Manual
-
National Instruments PCI
Manual
-
National Instruments NI 9229
Manual
-
National Instruments 6211
Manual
-
National Instruments NI 9217
Manual
-
National Instruments NI USB-6009
Manual
-
National Instruments NI sbRIO-960x
Manual
-
National Instruments 6024E
Manual
-
National Instruments 3.x
Manual
-
National Instruments NI 784xR
Manual
-
National Instruments NI-Motion
Manual