The National Instruments MXIbus boards and accessories are warranted agai nst defects in materi als and workmanship for a period
of one year from the date of shipment, as evidenced by recei pt s or o th er do cum e ntat io n. Natio nal Inst rume nts wi ll , at i ts opti on,
repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor.
The media on which you receive National Instruments software are warranted not to fail to execute programming instructions,
due to defects in materials and workmanship, for a period of 90 days from date o f sh ip men t, as ev id enced b y recei pt s o r other
documentation. National Instruments will, at its op tion , repai r or replace s oft ware me dia th at do not ex ecute p rog ram mi ng
instructions if National Instruments receives notice of such defects during the warranty period. National Instruments does not
warrant that the operation of the software shall be unint errup ted or error free.
A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside of
the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping costs of
returning to the owner parts which are covered by warranty.
National Instruments believes that the information in this document is accurate. The document has been carefully reviewed
for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves the right to
make changes to subsequent editions of this document with ou t p rio r no ti ce to h old ers o f t hi s ed itio n. The read er sh ou ld cons ul t
National Instruments if errors are suspected. In no even t shal l Nation al In st rume nts be l iable fo r any dam ages aris in g out of
or related to this document or the information contained in it.
XCEPT AS SPECIFIED HEREIN
E
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER
NSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR
I
CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF
apply regardless of the form of action, whether in contract or tort, including negligence. Anyaction 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. The warrant y p rovided herei n does no t cover d a mage s, defects,
malfunctions, or service failures caused by owner’s failure to fo ll ow th e Nati on al Inst rume nt s in stal l ati on, op erat ion, or
maintenance instructions; owner’s modification of the product; owner’s abuse, misuse, or negligent act s; and po wer failure or
surges, fire, flood, accident, actions of third parties, or other events outside reasonable control.
ATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS ANY
, N
USTOMER’S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR
. C
. This limitation of the liability of National Instruments will
. N
ATIONAL
Copyright
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical, including
photocopying, recording, storing in an info rmatio n ret riev al s ystem , o r tr an slati ng , in who le o r i n part, wit ho ut t he prior written
consent of National Instruments Corporation.
Trademarks
LabVIEW™, National Instruments™, ni.com™, NI-VISA™, NI-VXI™, and VXIpc™ are trademarks of National Instruments
Corporation.
Product and company names mentioned herein are trad em arks o r trade nam es of t hei r respect iv e com panies .
WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS
(1) NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL
OF RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL
COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN RE ASONA BLY BE
EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN.
(2) IN ANY APPLICATI ON, INCLUDI NG THE ABOVE, RE LIABILITY OF OP ERATION OF THE SOFTWARE PROD UCTS
CAN BE IMPAIRED BY ADVERSE FACTORS, INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL
POWER SUPPLY, COMPUTER HARDWARE MALFUNCTIONS, COMPUTER OPERATING SYSTE M SOFTWARE
FITNESS, FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DE VEL OP AN APPLICATION,
INSTALLATION ERRORS, SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS, MALFUNCTIONS OR
FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES, TRANSIENT FAILURES OF ELECT RO NIC
SYSTEMS (HARDWARE AND/OR SOFTWARE), UNANTICIPATED USES OR MISUSES, OR ERRORS ON THE PART OF
THE USER OR APPLICATIONS DESIGNER (ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER
COLLECTIVELY TERMED “SYSTEM FAILURES”). ANY APPLICATION WHERE A SYST EM FAILU RE WO ULD
CREATE A RISK OF HARM TO PROPERTY OR PERSONS (INCLUDING THE RISK OF BODILY INJURY AND DEATH)
SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF EL ECTRON IC SYSTE M DUE TO THE RISK OF SYSTEM
FAILURE. TO AVOID DAMAGE, INJURY, OR DEATH, THE USER OR APPLICATIO N D ESIGNER MU ST T AKE
REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES, INCLUDING BUT N OT LIM ITED TO
BACK-UP OR SHUT DOWN MECHANISMS. BECAUSE EACH END-USER SYSTEM IS CUSTOM IZE D AN D DIFFE RS
FROM NATIONAL INSTRUMENTS' TESTING PLATFORMS AND BECAUSE A USER OR APPL ICATION DESIGN ER
MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT
EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS, TH E U SER OR A PPLICATION DE SIGNER IS
ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITA BILITY OF NA TION AL
INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A
SYSTEM OR APPLICATION, INCLUDING, WITHOUT LIMITATION, THE APPROPRIATE DE SIGN, PROCESS AN D
SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.
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 industrialcommercial locations on ly ) or Cl ass B (for use in residential or commercia l locations). Depending on where it is
operated, this product could be sub je ct to restri ct io ns in t he FCC rul es. (In Canada, the Department of
Communications (DOC), of Industry Canada, regulates wireless interference in much the same way.)
Digital electronics emi t weak signals during normal operat ion that can affect radio, television, or othe r wireless
products. By examining the product you purchased, you can determine the FCC Class and therefore which of the two
FCC/DOC Warnings app ly in the following sections. (Some product s ma y not be labe ll e d at all for FCC, if so the
reader should then assume these are Class A devices.)
FCC Class A products only display a simple warning statement of one paragraph in length regarding interference and
undesired operation. Most of our products are FCC Class A. The FCC rules have restrictions regarding the locations
where FCC Class A products can be ope rated.
FCC Class B products display either a FCC ID code, starting with the letters EXN,
or the FCC Class B co mpliance mark that appears as shown here on the r ight.
The curious reader can consult the FCC web site
information.
FCC/DOC Warnings
This equipment generates and uses radio frequency energy and, if not installed and used in strict accordance with the
instructions in this manual and the CE Mark Declaration of Conformity**, may cause interference to radio and
television reception. Classification requirements are the same for the Federal Communications Commission (FCC)
and the Canadian Departm e nt 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.
Class A
Federal Communications Commission
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15
of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the
equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency
energy and, if not instal le d a nd used in accordance with the instruction manual, may cause ha rm ful interference to
radio communication s. Ope r ation of this equipment in a residentia l ar ea is likely to cause harmful interfe r en ce in
which case the user will be required to correct the i nt erference at his own expense.
http://www.fcc.gov for more
Canadian Department of Communications
This Class A digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations.
Cet appareil numérique de la cla sse A respecte toutes les exigences du Règl em ent sur le matériel brouilleur du
Canada.
Class B
Federal Communications Commission
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15
of the FCC Rules. These limits a re designed to provide reasonable protection against harmful inte rfe rence in a
residential installation. This equipment generates, uses a nd can radiate radio frequency ene rgy and, if not installed
and used in accorda n ce w ith the instructions , may cause harmful interfe rence to radio communications. However,
there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful
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.
• Increase the separation between the equipment and receiver.
• Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
• Consult the dealer or an experienced radio/TV technician for help.
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.
European Union - Compliance to EEC Directives
Readers in the EU/EEC/EEA must refer to the Manufacturer's Declaration of Conformity (DoC) for information**
pertaining to the CE Mark compliance scheme. The M anu facturer includes a DoC f or mo st ever y hardware produ ct
except for those bought for OEMs, if also available from an original manufacturer that also markets in the EU, or
where compliance is not required as for electrically benign apparatus or cables.
* Certain exemptions may apply in the USA, see FCC Rules §15.103 Exempted devices, and §15.105(c). Also
available in sections of CFR 47.
** The CE Mark Declaration of Conformity will contain important supplementary information and instructions for
the user or installer.
Contents
About This Manual
How To Use the Manual Set............................................................................................xiii
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.
The VME-PCI8026 kit includes a VME-MXI-2 that plugs into a VME
chassis and links your PCI-based computer to the VMEbus. Both kits
include the PCI-MXI-2 interface board, which links your computer to the
MXIbus, and the NI-VXI bus interface software. The VXI-PCI8026 and
VME-PCI8026 kits are fully VXIplug&play compliant.
This manual uses the term VXI/VME-PCI8026 when information applies to
either kit and the term VXI/VME-MXI-2 when information applies to either
the VXI-MXI-2 or the VME-MXI-2.
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, Introduct ion and Quick
Start. The material in those sections may be all you need to get up and
running with your VXI/VME-PCI8026 kit.
When you have successfully set up your system, you can begin to develop
applications in NI-VXI and/or NI-VISA. The NI-VXI User Manual
presents the concepts of VXI and prepares you for detailed explanations
of the NI-VXI functions. Study the descriptions of each function given in
the online help utility to fully understand the purpose and syntax of each
function. This manual is av ailable in the
refers to the actual location where you have installed the NI-VXI
NIVXI
software). Use the Acrobat Reader program, V ersion 3 or later, to open this
file.
We recommend the VISA API for new applications. Refer to the NI-VISA User Manual to learn about VISA and how to use it in your system. The
NI-VISA online help describes the attributes, events, and operations you
can use in NI-VISA. The user manual is available in the
VXIpnp/linux/NIvisa/manuals
actual location where you have installed the NI-VISA software). Use the
Acrobat Reader program, Version 3 or later, to open this file.
NIVXI/manuals
directory (where
directory (where
VXIpnp
refers to the
Conventions
The following conventions are used in this manual:
♦The ♦ symbol indicates that the following text applies only to a specific
product, a specific operating system, or a specific software version.
This icon denotes a note, which alerts you to important information.
This icon denotes a caution, which advises you of precautions to take to
avoid injury, data loss, or a system crash.
This icon denotes a warning, which advises you of precautions to take to
avoid being electrically shocked.
boldBold text denotes items that you must select or click on in the software,
such as menu items and dialog box options. Bold text also denotes
parameter names.
VXI/VME-PCI8026 for Linuxxivwww.ni.com
About This Manual
italicItalic text denotes variables, emphasis, a cross reference, or an introduction
to a key concept. This font also denotes text that is a placeholder for a w ord
or value that you must supply.
monospace
monospace bold
monospace italic
Text in this font denotes text or characters that you should enter from the
keyboard, sections of code, programming examples, and syntax examples.
This font is also used for the proper names of disk drives, paths, directories,
programs, subprograms, subroutines, device names, functions, operations,
variables, filenames and extensions, and code excerpts.
Bold text in this font denotes the messages and responses that the computer
automatically prints to the screen. This font also emphasizes lines of code
that are different from the other examples.
Italic text in this font denotes text that is a placeholder for a word or value
that you must supply. Usually this is a variable in a directory path; for
example,
NI-VXI software.
NIVXI
Related Documentation
The following documents contain information that you may find helpful as
you read this manual:
•ANSI/IEEE Standar d 1014-1987, IEEE Standard for a Versatile
Backplane Bus: VMEbus
•ANSI/IEEE Standar d 1155-1993, IEEE VMEbus Extensions for
Instrumentation: VXIbus
•ANSI/VITA 1-1994, VME64
•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
This chapter describes the VXI/VME-PCI8026 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-PCI8026 interface kit with a
simple configuration, along with a Default Settings section, which lists the
hardware and software default settings for easy reference. You may find
that these sections contain as much information as you need to get started
with your VXI/VME-PCI8026 interface kit.
This manual uses the term VXI/VME-PCI8026 when information applies to
either the VXI-PCI8026 kit, which contains a VXI-MXI-2 module, or the
VME-PCI8026 kit, which contains a VME-MXI-2 module. Similarly, the
term 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.
The VXI/VME-PCI8026 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-PCI8026 interface can
function as a VXI Commander and Resource Manager. A PCI-based
computer equipped with a VME-PCI8026 can function as a VMEbus
master and/or slave device. The VXI/VME-PCI8026 makes your
PCI-based computer behave as if it were plugged directly into the
VXI/VME backplane as an embedded CPU VXI/VME module.
The software included with the kits is for Intel x86-based computers.
What You Need to Get Started
❑
A PCI-based computer running Linux kernel 2.2.x
Chapter 1Introduction and Quick Start
❑
❑
❑
❑
❑
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*).
Because MXI-2 incorporates all of these new signals into a single
connector, the triggers, interrupts, and utility signals can be extended not
only to other mainframes but also to the local CPU in all MXI-2 products
using a single cable. Thus, MXI-2 lets CPU interface boards such as the
VXIbus or VMEbus mainframe
PCI-MXI-2 interface board
VXI-MXI-2 or VME-MXI-2 interface module
MXI-2 cable
NI-VXI/VISA software media for the PCI-MXI-2
PCI-MXI-2 perform as if they were plugged directly into the
VXI/VME backplane.
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 devices. However, MXI-2 defines
synchronous 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.
Hardware Description
The PCI-MXI-2 is a half-size, PCI-compatible plug-in circuit board that
plugs into one of the expansion slots in your PCI-based computer. It links
your PCI-based computer directly to the MXIbus and vice versa. Because
the PCI-MXI-2 uses the same communication register set that other
VXIbus message-based devices use, other MXIbus devices view the
PCI-MXI-2 as a VXIbus device. The PCI-MXI-2 can also function as the
MXIbus System Controller and can terminate the MXIbus signals directly
on the PCI-MXI-2. In addition, you can have up to 16 MB of onboard
DRAM on the PCI-MXI-2 that can be shared with the MXIbus and
VXI/VMEbus and used as a dedicated data buffer.
The VXI-MXI-2 module is an extended-class, register-based VXIbus
device with optional VXIbus Slot 0 capability so that it can reside in any
slot in a C-size or D-size chassis.
Note
D-size VXI mainframes have connections for a P3 connector. The VXI-MXI-2,
however, does not have this connector and, if configured as a Slot 0 controller, cannot
provide the necessary control for VXI devices that need P3 support.
The VXI-MXI-2 uses address mapping to convert MXIbus cycles into
VXIbus cycles and vice versa. By connecting to the PCI-MXI-2 board,
the VXI-MXI-2 links the PCI bus to the VXIbus. The VXI-MXI-2 can
automatically determine whether it is located in VXI Slot 0 and/or if it
is the MXIbus System Controller.
VXI/VME-PCI8026 for Linux1-4www.ni.com
Chapter 1Introduction 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 MXIb us cycles into VMEbus cycles and vice v ersa, 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.
Also, the VXI-MXI-2 and VME-MXI-2 automatically terminate the
MXIbus if installed as the f irst or last device in the MXIbus. If installed in
the middle of the MXIbus, both the VXI-MXI-2 and VME-MXI-2
automatically disable MXIbus termination. In addition, you can have up to
64 MB of onboard DRAM on the VXI-MXI-2 and VME-MXI-2 modules
that can either be shared with the VXI/VMEbus and MXIbus or used as a
dedicated data buffer.
The PCI-MXI-2, VXI-MXI-2, and VME-MXI-2 products achieve
high-performance block transfer rates by integrating the MITE custom
ASIC, a sophisticated dual-channel DMA controller with standard
interfaces for VXI, VME, MXI, and PCI. By using MITE DMA to transfer
data and commands to and from devices, the MITE frees up a computer’s
microprocessor to perform other tasks such as data analysis and
presentation. In addition to DMA, the MITE incorporates both the new
Synchronous MXI protocol and VME64 MBLT (8-byte block transfers in
which both the address bus and data bus are used to transfer data) directly
into the ASIC to perform the fastest transfer operation to instruments.
Software Description
The NI-VXI/VISA bus interface software for the PCI-MXI-2 and Linux
includes a Resource Manager, a text-based interactive VXI resource editor
program, a comprehensive library of software routines for VXI/VME
programming, and a text-based interactive control program for interacting
with VXI/VME or VISA. You can use this software to seamlessly program
multiple-mainframe configurations and have software compatibility across
a variety of VXI/VME controller platforms.
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.
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.
LabVIEW is a complete programming environment that departs from the
sequential nature of traditional programming languages and features a
graphical programming environment.
Quick Start
You can use this Quick Start section as a guide to quickly configure
and operate your VXI or VME system using the PCI-MXI-2 and the
VXI-MXI-2 or VME-MXI-2.
The Quick Start summary assumes that you intend to perform a basic
configuration as follows:
•You have one PCI-MXI-2 interface module, which you will install
in your 5 V PCI-based computer as the Resource Manager (logical
address 0).
•You have either one C-size VXI-MXI-2 or one 6U, B-size
VME-MXI-2, which you will install in a VXI or VME chassis,
respectively, and connect to the PCI-MXI-2.
•You will be using the NI-VXI/VISA 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
–Your system contains only one VXI or VME chassi s.
–There is no shared memory used on the PCI-based computer,
Manager, and a message-based device.
the PCI-MXI-2, or the VXI/VME-MXI-2.
Refer to the end of this chapter for a complete listing of the hardware and
software default settings. If you need more information, or if you want to
try a different configuration, refer to the appropriate hardware or software
chapters in this manual, which describe the installation and configuration
steps in greater detail.
VXI/VME-PCI8026 for Linux1-6www.ni.com
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-2 in an available PCI slot in your
PCI-based computer.
By default, the PCI-MXI-2 automatically detects whether it should be the
system controller on the MXIbus. Verify that the correct cable end labeled
Connect This End To Device Closest To MXIbus Controller In This Daisy
Chain is attached securely to the PCI-MXI-2. You must connect the cable
this way so that the PCI-MXI-2 can correctly detect whether it should be
the system controller on the MXIbus. For more information, refer to
Chapter 2, PCI-MXI-2 Configuration and Installation.
You received either a VXI-MXI-2 or a VME-MXI-2 in your
VXI/VME-PCI8026 kit. To guard against electrostatic discharge, touch the
antistatic plastic package to a metal part of your computer before removing
the VXI-MXI-2 or VME-MXI-2 from the package. Install the VXI-MXI-2
in the first slot of a VXI chassis, or install the VME-MXI-2 in the first slot
of a VME chassis.
The VXI/VME-MXI-2 default configuration automatically detects whether
it should be the VXI/VMEbus system controller. The VXI/VMEbus system
controllers operate certain VXI/VMEbus lines as required for VXI/VME
systems. Verify that any other VXI/VME devices with system controller
capability that are located in the same chassis are not configured as system
controller. Having more than one device configured as system controller
will damage the VXI/VME system.
Chapter 1Introduction and Quick Start
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. The PCI-MXI-2 and VME-MXI-2 also use this region for this
purpose.
Also ensure that no VXI devices in your system are configured for either
logical addresses 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,
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,
resman
devices, including the VXI-MXI-2. When used with a VME-MXI-2,
resman
devices in the VME chassis.
configures the VME-MXI-2 to allow the PCI-MXI-2 to access
resman
VME specification does not specify the initialization and configuration
procedures that the VXI specification requires.
It is recommended that you enter the information about your VME devices
into the
vxitedit
utility.
resman
device-specific VME address spaces and VME interrupt lines. For more
information on configuring non-VXI devices in your VXI system, refer to
the description of the Non-VXI Device Configuration Editor in Chapter 3,
VXI Text Resource Editor, in the NI-VXI Text Utilities Reference Manual.
For more details about installing the NI-VXI software, refer to Chapter 5,
NI-VXI/VISA Software Installation, in this manual.
identifies and configures the VXI
does not configure VME devices. The
can then properly configure the various
Device Interaction
After
resman
view specific information on each device in your system by using the
vxitedit
which contains a description for each device, including each VXI device’s
logical address.
Y ou can interact with your VXI/VME devices by using the
for NI-VXI. These utilities let you interactively control your VXI/VME
devices without having to use a conventional programming language,
LabVIEW, or LabWindows/CVI.
Try the following in
At the prompt, type
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 conf iguration register to be read.
Now type
VXI/VME-PCI8026 for Linux1-8www.ni.com
has detected and configured all VXI/VME devices, you can
utility. These utilities include a Resource Manager Display,
utility
victext
help vxiinreg
vxiinreg 1,0
victext
:
This should return a value, such as:
Return Status (0): SUCCESS.
value = 0x4ff6
Chapter 1Introduction and Quick Start
If the value ends with
Instruments manufacturer ID from the ID register for the
VXI/VME-MXI-2.
You may now want to read the configuration registers from other VXI
devices in your system using the command
accesses only the upper 16 KB of A16 space. Try reading the registers from
one of the devices listed in the Resource Manager Display of
In this way, you can verify that your PCI-MXI-2 can access each of the
devices in your VXI system successfully.
You can also access VXI and VME devices that are configured in A16,
A24, and A32 address space by using the
For more information regarding
to the online help.
Default Settings
This section summarizes the hardware and software default settings for the
VXI/VME-PCI8026 kit. If you need more information about a particular
setting, or if you want to try a different configuration, please refer to the
appropriate hardware or software chapters in this manual. The manual
flowchart at the beginning of this chapter directs you to where to find the
information you need.
, you have successfully read the National
ff6
. This command
or
vxiout
victext
vxiinreg
vxiin
operation and commands, refer
vxitedit
commands.
.
PCI-MXI-2
This section summarizes the hardware and software default settings for the
PCI-MXI-2.
Table 1-1.
Hardware ComponentDefault Setting
U17 Switch 1 (FOV)OFF: PCI-MXI-2 boots off the
U17 Switch 2 (TST)OFF: Factory configuration of the
Editor FieldDefault Setting
Default Controller (LA-1)
System IRQ Level
Servant Area Size
Number of Handlers
Number of Interrupters
Protocol Register
Read Protocol Response
Table 1-4.
PCI-MXI-2 Bus Configuration Editor Default Settings
Editor FieldDefault Setting
MXI System Controller
MXI Bus Timeout Value
MXI CLK10
MXI Transfer Limit
First Remote Controller
1
0
1
0
0xFF0
0x8448
Auto
1 ms
Receive
Unlimited
VXImove uses Synchronous MXI
MXI-2 Auto Retry
A24/A32 Write Posting
User Window Size
Driver Window Size
Expansion ROM
Editor FieldDefault Setting
Logical Address
LA Selection
1 (set by hardware switch)
Set by hardware switch
Address Space
Requested Memory
A16 Write Posting
A24/A32 Write Posting
Interlocked Mode
VXI/VME System Controller
VXI/VME Bus Timeout Value
VXI/VME Auto Retry
VXI/VME Transfer Limit
VXI/VME Arbiter Type
VXI/VME Request Level
VXI/VME Fair Request
Editor FieldDefault Setting
VXI/VME Arbiter Timeout
MXI System Controller
MXI Bus Timeout Value
MXI Auto Retry
MXI Transfer Limit
MXI Parity Checking
MXI Fair Requester
MXI CLK10
Enabled
Auto
1 ms
Disabled
Unlimited
Enabled
Disabled
Set by hardware
switch (VXI-MXI-2 only)
*Assumes no DRAM is installed. If DRAM is installed, the
Requested Memory
and
would match the amount of DRAM.
Address Space
would be A32,
VXI/VME-PCI8026 for Linux1-14www.ni.com
PCI-MXI-2 Configuration
and Installation
This chapter contains the instructions to configure and install the
PCI-MXI-2 module.
2
Caution
module. T o 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.
Electrostatic discharge can damage several components on your PCI-MXI-2
Configure the PCI-MXI-2
This section describes how to configure the following options on the
PCI-MXI-2:
•Configuration EEPROM
•On board DRAM
Figure 2-1 shows the PCI-MXI-2. The drawing shows the location and
factory-default settings on the module.