National Instruments Water System VME PCI8022 User Manual

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.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
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 of shipment, as evidenced  
by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do  
not execute programming 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 uninterrupted 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 manual 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 without prior notice to holders of this edition. The  
reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for  
any damages arising out of or related to this document or the information contained in it.  
EXCEPT AS SPECIFIED HEREIN, NATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND  
SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
CUSTOMERS RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL  
INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER. NATIONAL INSTRUMENTS  
WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR  
CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. This limitation of the liability of National  
Instruments will apply regardless of the form of action, whether in contract or tort, including negligence. Any action  
against National Instruments must be brought within one year after the cause of action accrues. National Instruments  
shall not be liable for any delay in performance due to causes beyond its reasonable control. The warranty provided  
herein does not cover damages, defects, malfunctions, or service failures caused by owner’s failure to follow the  
National Instruments installation, operation, or maintenance instructions; owner’s modification of the product;  
owner’s abuse, misuse, or negligent acts; and power failure or surges, fire, flood, accident, actions of third parties, or  
other events outside reasonable control.  
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 information retrieval system, or translating, in whole or in part,  
without the prior written consent of National Instruments Corporation.  
Trademarks  
LabVIEW®, MANTIS™, MITE™, NI-VXI™, TIC™, and VXIpc™ are trademarks of National Instruments  
Corporation.  
Product and company names listed are trademarks or trade names of their respective companies.  
WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS  
National Instruments products are not designed with components and testing intended to ensure a level of reliability  
suitable for use in treatment and diagnosis of humans. Applications of National Instruments products involving  
medical or clinical treatment can create a potential for accidental injury caused by product failure, or by errors on the  
part of the user or application designer. Any use or application of National Instruments products for or involving  
medical or clinical treatment must be performed by properly trained and qualified medical personnel, and all traditional  
medical safeguards, equipment, and procedures that are appropriate in the particular situation to prevent serious injury  
or death should always continue to be used when National Instruments products are being used. National Instruments  
products are NOT intended to be a substitute for any form of established process, procedure, or equipment used to  
monitor or safeguard human health and safety in medical or clinical treatment.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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). This equipment has been tested and  
found to comply with the following two regulatory agencies:  
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 installed and used in accordance with  
the instruction manual, may cause harmful interference to radio communications. Operation of this  
equipment in a residential area is likely to cause harmful interference in which case the user will be  
required to correct the interference at his own expense.  
Notices to User: Changes or modifications not expressly approved by National Instruments could void  
the user’s authority to operate the equipment under the FCC Rules.  
This device complies with the FCC rules only if used with shielded interface cables of  
suitable quality and construction. National Instruments used such cables to test this  
device and provides them for sale to the user. The use of inferior or nonshielded  
interface cables could void the user’s authority to operate the equipment under the  
FCC rules.  
If necessary, consult National Instruments or an experienced radio/television technician for additional  
suggestions. The following booklet prepared by the FCC may also be helpful: Interference to Home  
Electronic Entertainment Equipment Handbook. This booklet is available from the U.S. Government  
Printing Office, Washington, DC 20402.  
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 classe A respecte toutes les exigences du Règlement sur le matériel  
brouilleur du Canada.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Table  
of  
About This Manual  
Organization of This Manual........................................................................................xi  
How to Use This Documentation Set ...........................................................................xiv  
Customer Communication ............................................................................................xv  
Chapter 1  
How to Use This Manual..............................................................................................1-2  
VXI/VME-PCI8022 Kit Overview...............................................................................1-3  
Hardware Description...................................................................................................1-4  
Installing and Loading the NI-VXI Software for Solaris 2.x .........................1-8  
VME Users.....................................................................................................1-9  
Default Settings.............................................................................................................1-10  
PCI-MXI-2 .....................................................................................................1-11  
Chapter 2  
PCI-MXI-2 Configuration and Installation  
Configure the PCI-MXI-2.............................................................................................2-1  
Configuration EEPROM ................................................................................2-3  
Onboard DRAM.............................................................................................2-3  
Install the PCI-MXI-2...................................................................................................2-4  
© National Instruments Corporation  
v
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Table of Contents  
Chapter 3  
Trigger Input Termination ............................................................................. 3-12  
MXIbus Termination...................................................................................... 3-13  
Onboard DRAM............................................................................................. 3-17  
Install the VXI-MXI-2.................................................................................................. 3-19  
Chapter 4  
VME-MXI-2 Intermodule Signaling ............................................................. 4-4  
MXIbus Termination...................................................................................... 4-5  
Configuration EEPROM................................................................................ 4-7  
Install the VME-MXI-2................................................................................................ 4-10  
Connect the MXIbus Cable .......................................................................................... 4-11  
Chapter 5  
Installing and Loading the NI-VXI Software for Solaris 2.x ....................................... 5-1  
Installing NI-VXI for Solaris 2.x ................................................................... 5-1  
Loading the NI-VXI Driver for Solaris 2.x.................................................... 5-2  
Unloading the NI-VXI Driver for Solaris 2.x................................................ 5-2  
Using the NI-VXI Software.......................................................................................... 5-3  
Completing the Software Installation........................................................................... 5-3  
VXI/VME-PCI8022 for Solaris  
vi  
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Table of Contents  
Chapter 6  
NI-VXI Configuration Utility  
Running the VXIedit Configuration Utility..................................................................6-1  
Update Current Configuration........................................................................6-4  
Record Configuration to File..........................................................................6-4  
Revert to Current Configuration.....................................................................6-4  
Device Settings ................................................................................6-5  
Device Type.......................................................................6-6  
VXI/VME Shared Memory..............................................................6-7  
VXI/VME Shared RAM Size............................................6-7  
Shared RAM Pool..............................................................6-7  
Resource Manager Delay.................................................................6-10  
Resource Manager Delay...................................................6-10  
Default Controller (LA -1)...............................................................6-11  
System IRQ Level............................................................................6-12  
Number of Handlers.........................................................................6-12  
Number of Interrupters.....................................................................6-13  
Protocol Register..............................................................................6-13  
Read Protocol Response...................................................................6-13  
MXI Bus...........................................................................................6-14  
MXI System Controller .....................................................6-14  
MXI CLK10 ......................................................................6-15  
PCI Bus ............................................................................................6-17  
User Window and Driver Window....................................6-17  
Expansion ROM ................................................................6-18  
VXI/VME-MXI-2 Configuration Editor ......................................................................6-19  
LA Selection and Logical Address.................................................................6-20  
Address Space and Requested Memory .........................................................6-21  
© National Instruments Corporation  
vii  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Table of Contents  
Interlocked Mode ........................................................................................... 6-22  
VMEbus System Controller............................................................. 6-23  
VXI/VME Bus Timeout Value........................................................ 6-24  
Advanced VXI Settings................................................................... 6-24  
Transfer Limit ................................................................... 6-26  
Arbiter Type...................................................................... 6-26  
Request Level.................................................................... 6-26  
VXI/VME Fair Requester ................................................. 6-27  
Arbiter Timeout................................................................. 6-27  
MXI Bus System Controller............................................................ 6-27  
Advanced MXI Settings .................................................................. 6-28  
MXI Auto Retry ................................................................ 6-28  
Parity Checking................................................................. 6-29  
MXI Fair Requester........................................................... 6-29  
MXI CLK10 Signal........................................................... 6-30  
Chapter 7  
Interactive Control of NI-VXI...................................................................................... 7-1  
Programming Considerations....................................................................................... 7-2  
Multiple Applications Using the NI-VXI Library ......................................... 7-2  
Low-Level Access Functions......................................................................... 7-2  
Local Resource Access Functions.................................................................. 7-3  
System Configuration Functions.................................................................... 7-4  
Compiling Your C Program ......................................................................................... 7-4  
Symbols.......................................................................................................... 7-4  
VXI/VME-PCI8022 for Solaris  
viii  
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Table of Contents  
Appendix A  
Specifications  
Appendix B  
NI-VXI Software Overview  
Appendix C  
EEPROM Configuration  
Appendix D  
Customer Communication  
Glossary  
Index  
Figures  
Figure 3-6. SMB CLK10 Settings ............................................................................3-11  
Figure 3-7. Receiving or Driving MXIbus CLK10 ..................................................3-12  
Figure 3-8. SMB Trigger Input Termination............................................................3-13  
Figure 3-9. MXIbus Termination .............................................................................3-14  
Figure 3-10. EEPROM Operation ..............................................................................3-16  
Figure 3-11. SIMM Size Configuration .....................................................................3-17  
Figure 3-12. MXI-2 Cable Configuration Using a PCI-MXI-2  
and a VXI-MXI-2 ..................................................................................3-20  
© National Instruments Corporation  
ix  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Table of Contents  
Figure 4-1. VME-MXI-2 Parts Locator Diagram .................................................... 4-2  
Figure 4-2. Base Address Selection ......................................................................... 4-4  
Figure 4-3. VME-MXI-2 Intermodule Signaling Settings....................................... 4-5  
Figure 6-5. PCI-MXI-2 Device Configuration Editor.............................................. 6-11  
Figure 6-8. VXI/VME-MXI-2 Configuration Editor............................................... 6-20  
Figure 6-9. Advanced VXI Settings......................................................................... 6-25  
Figure 6-10. Advanced MXI Settings ........................................................................ 6-28  
Tables  
PCI-MXI-2 Logical Address Configuration Editor Default Settings.... 1-11  
PCI-MXI-2 Bus Configuration Editor Default Settings........................ 1-12  
VME-MXI-2 Hardware Default Settings.............................................. 1-14  
Table 1-2.  
Table 1-4.  
Table 1-6.  
Table 2-1.  
Table 3-1.  
Table 4-1.  
PCI-MXI-2 DRAM Configurations ...................................................... 2-3  
VXI-MXI-2 DRAM Configurations ..................................................... 3-18  
VME-MXI-2 DRAM Configurations.................................................... 4-9  
VXI/VME-PCI8022 for Solaris  
x
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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. 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-PCI8022 and VME-PCI8022 kits are fully VXIplug&play  
compliant.  
This manual uses the term VXI/VME-PCI8022 when information  
applies to either kit and the term VXI/VME-MXI-2 when information  
Organization of This Manual  
This manual is organized as follows:  
Chapter 1, Introduction and Quick Start, describes the  
VXI/VME-PCI8022 interface kits, lists what you need to get  
description of the hardware and software. This chapter also  
contains a Quick Start section, which has the basic information you  
configuration, along with a Default Settings section, which lists the  
hardware and software default settings for easy reference.  
instructions to configure and install the PCI-MXI-2 module.  
Chapter 3, VXI-MXI-2 Configuration and Installation, contains the  
instructions to configure and install the VXI-MXI-2 module. This  
chapter applies only if you ordered the VXI-PCI8022 interface kit.  
Chapter 4, VME-MXI-2 Configuration and Installation, contains  
the instructions to configure and install the VME-MXI-2 module.  
© National Instruments Corporation  
xi  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
About This Manual  
This chapter applies only if you ordered the VME-PCI8022  
interface kit.  
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.  
Chapter 7, Using the NI-VXI Software, discusses programming  
information for you to consider when developing applications that  
use the NI-VXI driver.  
the PCI-MXI-2, VXI-MXI-2, and VME-MXI-2 such as physical  
dimensions and power requirements.  
Appendix B, NI-VXI Software Overview, lists and describes the  
main programs and files that make up the NI-VXI software.  
Appendix C, EEPROM Configuration, describes how to control the  
operation of the PCI-MXI-2 onboard EEPROM and how to fix an  
invalid EEPROM setting.  
Appendix D, Common Questions, addresses common questions  
you may have about using the NI-VXI bus interface software on the  
PCI-MXI-2 platform.  
Appendix E, Customer Communication, contains forms you can  
use to request help from National Instruments or to comment on our  
products and manuals.  
The Glossary contains an alphabetical list and description of terms  
used in this manual, including abbreviations, acronyms, metric  
prefixes, mnemonics, and symbols.  
The Index contains an alphabetical list of key terms and topics in  
this manual, including the page where you can find each one.  
VXI/VME-PCI8022 for Solaris  
xii  
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
monospace  
Text in this font denotes text or characters that are to be literally input  
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, variables, filenames, and extensions, and for  
statements and comments taken from program code.  
A diamond is used to denote operating system-dependent material.  
< >  
Angle brackets enclose the name of a key on the keyboard–for example,  
<PageDown>.  
This icon to the left of bold italicized text denotes a note, which alerts  
you to important information.  
This icon to the left of bold italicized text denotes a caution, which  
advises you of precautions to take to avoid injury, data loss, or a system  
crash.  
!
This icon to the left of bold italicized text denotes a warning, which  
advises you of precautions to take to avoid being electrically shocked.  
Abbreviations, acronyms, metric prefixes, mnemonics, symbols, and  
terms are listed in the Glossary.  
© National Instruments Corporation  
xiii  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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  
Graphical  
Based  
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 software. You should  
install and configure the components of the VXI/VME-PCI8022 kit in  
the order in which this manual describes them. Be sure to review the  
Quick Start and Default Settings sections in Chapter 1. The material in  
those sections may be all you need to get up and running with your  
VXI/VME-PCI8022 kit.  
When you are familiar with the material in this getting started manual,  
you can begin to use the NI-VXI User Manual. This manual presents the  
concepts of VXI and prepares you for detailed explanations of the  
VXI/VME-PCI8022 for Solaris  
xiv  
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
Related Documentation  
The following documents contain information that you may find helpful  
as you read this manual:  
ANSI/IEEE Standard 1014-1987, IEEE Standard for a Versatile  
Backplane Bus: VMEbus  
ANSI/IEEE Standard 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  
VXI-6, VXIbus Mainframe Extender Specification, Rev. 1.0,  
VXIbus Consortium  
Customer Communication  
National Instruments wants to receive your comments on our products  
and manuals. We are interested in the applications you develop with our  
products, and we want to help if you have problems with them. To make  
it easy for you to contact us, this manual contains comment and  
configuration forms for you to complete. These forms are in  
Appendix E, Customer Communication, at the end of this manual.  
© National Instruments Corporation  
xv  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Chapter  
1
Introduction and Quick Start  
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. You may find that these sections contain as much  
information as you need to get started with your VXI/VME-PCI8022  
interface kit.  
This manual uses the term VXI/VME-PCI8022 when information  
applies to either the VXI-PCI8022 kit, which contains a VXI-MXI-2  
module, or the VME-PCI8022 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.  
© National Instruments Corporation  
1-1  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Chapter 1  
Introduction and Quick Start  
How to Use This Manual  
Gather What You Need  
to Get Started  
Chapter 1  
Chapter 2  
Configure and Install the  
PCI-MXI-2  
VXI  
VME  
Using VXI or  
VME?  
Configure and Install the  
VXI-MXI-2  
Configure and Install the  
VME-MXI-2  
Chapter 3  
Chapter 4  
Chapter 5  
Chapter 6  
Install the NI-VXI Software  
Run the Software  
Configuration Utility  
Review Programming  
Considerations  
Chapter 7  
Software and  
Utilities Reference  
Write Application Program  
VXI/VME-PCI8022 for Solaris  
1-2  
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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. The VXI/VME-PCI8022 makes your  
PCI-based computer behave as though it were plugged directly into the  
VXI/VME backplane as an embedded CPU VXI/VME module.  
The software included with the kits is for Sparc-based computers.  
What You Need to Get Started  
A PCI-based computer  
VXIbus or VMEbus mainframe  
PCI-MXI-2 interface board  
VXI-MXI-2 or VME-MXI-2 interface module  
MXI-2 cable  
NI-VXI software media for the PCI-MXI-2  
MXI-2 Description  
MXI-2 is the second generation of the National Instruments MXIbus  
product line. The MXIbus is a general-purpose, 32-bit, multimaster  
system bus on a cable. MXI-2 expands the number of signals on a  
standard MXI cable by including VXI triggers, all VXI interrupts,  
CLK10, and all of the utility bus signals (SYSFAIL*, SYSRESET*,  
and ACFAIL*).  
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  
© National Instruments Corporation  
1-3  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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 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 are capable of  
initiating and responding 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-PCI8022 for Solaris  
1-4  
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
Also, the VXI-MXI-2 and VME-MXI-2 automatically terminate the  
MXIbus if installed as the first 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 bus interface software for the PCI-MXI-2 and Solaris 2.x  
includes a Resource Manager, graphical and text-based versions of an  
interactive VXI resource editor program, a comprehensive library of  
software routines for VXI/VME programming, and graphical and  
text-based versions of an interactive control program for interacting  
with VXI/VME. You can use this software to seamlessly program  
multiple-mainframe configurations and have software compatibility  
across a variety of VXI/VME controller platforms.  
The NI-VXI software is a 32-bit driver designed for Solaris 2.5.1 or  
higher compatible operating systems.  
© National Instruments Corporation  
1-5  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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. These programs are fully  
VXIplug&play compliant and feature extensive libraries of VXI  
instrument drivers written to take full advantage of direct VXI control.  
LabVIEW is a complete programming environment that departs from  
the sequential nature of traditional programming languages and features  
a graphical programming environment.  
LabWindows/CVI is an interactive C development environment for  
building test and measurement and instrument control systems. It  
includes interactive code-generation tools and a graphical editor for  
building custom user interfaces.  
LabVIEW and LabWindows/CVI include all the tools needed for  
instrument control, data acquisition, analysis, and presentation. When  
you order the LabVIEW VXI Development System for Sun or the  
LabWindows/CVI VXI Development System for Sun, you also get  
more than 500 complete instrument drivers, which are modular,  
source-code programs that handle the communication with your  
instrument to speed your application development.  
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 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.  
VXI/VME-PCI8022 for Solaris  
1-6  
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
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, please refer to the appropriate  
hardware or software chapters in this manual, which describe the  
installation and configuration steps in greater detail.  
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. The cable  
must be connected in this manner 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-PCI8022 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  
© National Instruments Corporation  
1-7  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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. The PCI-MXI-2 and VME-MXI-2 also  
use this region for this purpose.  
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, VME-MXI-2 Configuration and 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.x  
platform.  
1. Type the following command to change to a temporary directory:  
cd /tmp  
2. Type one of the following commands to copy and install script from  
the NI-VXI diskette:  
If you are not running volume management:  
tar xvf /dev/diskette INSTALL  
If you are running volume management:  
tar xvf /vol/dev/rdiskette0/unlabeled INSTALL  
Note:  
The device name shown in this code example may be different for your  
system. Please refer to your system’s user guide or system administrator for  
the correct device name. If it is different, modify the INSTALLscript to  
reflect the correct device name.  
3. Type the following command to execute the install script:  
./INSTALL  
Follow the instructions as prompted.  
VXI/VME-PCI8022 for Solaris  
1-8  
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Chapter 1  
Introduction and Quick Start  
4. 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, resmanidentifies and configures the  
VXI devices, including the VXI-MXI-2. When used with a  
VME-MXI-2, resmanconfigures the VME-MXI-2 to allow the  
PCI-MXI-2 to access devices in the VME chassis. resmandoes not  
configure VME devices. The VME specification does not specify the  
initialization and configuration procedures that the VXI specification  
requires.  
However, it is recommended that you enter the information about your  
VME devices into the vxieditor vxiteditutility. resmancan then  
properly configure the various 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 Resource Editor:  
VXIedit, in the NI-VXI Graphical Utilities Reference Manual. For more  
details about installing the NI-VXI software, refer to Chapter 5, NI-VXI  
Software Installation, in this manual.  
Device Interaction  
After resmanhas detected and configured all VXI/VME devices, you  
can view specific information on each device in your system by using  
the vxieditor vxiteditutilities. These utilities include a Resource  
Manager Display, which contains a description for each device,  
including each VXI device’s logical address.  
You can interact with your VXI/VME devices by using the vicor  
victextutilities. 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 vicor victext:  
At the prompt, type:  
help vxiinreg  
© National Instruments Corporation  
1-9  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
You may now want to read the configuration registers from other VXI  
devices in your system using the command vxiinreg. This 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  
either vxieditor vxitedit. 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 vxiinor vxioutcommands.  
For more information regarding vicoperation and commands, refer  
to the NI-VXI Graphical Utilities Reference Manual. For more  
information regarding victextoperation and commands, refer to  
the NI-VXI Text Utilities Reference Manual.  
Default Settings  
This section summarizes the hardware and software default settings for  
the VXI/VME-PCI8022 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.  
VXI/VME-PCI8022 for Solaris  
1-10  
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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 user-  
configured half of the EEPROM.  
U17 Switch 2 (TST)  
OFF: Factory configuration of the  
EEPROM is protected.  
U17 Switch 3 (POS)  
U17 Switch 4 (CT)  
OFF: Do not alter this setting.  
ON: Do not alter this setting.  
Per customer order  
DRAM SIMM Installed  
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 Swapping  
Lower Half Window Memory Select  
Upper Half Window Byte Swapping  
Upper Half Window Memory Select  
Disabled (non-swapped)  
System Memory  
Disabled (non-swapped)  
System Memory  
© National Instruments Corporation  
1-11  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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  
5 s  
Disabled  
Map Upper/Lower Halves to Same  
Address  
Table 1-3. PCI-MXI-2 Device Configuration Editor Default Settings  
Editor Field  
Default Controller (LA-1)  
System IRQ Level  
Default Setting  
First Remote Controller  
1
Servant Area Size  
0
Number of Handlers  
Number of Interrupters  
Protocol Register  
1
0
0xFF0  
0x8448  
Read Protocol Response  
Table 1-4. PCI-MXI-2 Bus Configuration Editor Default Settings  
Editor Field  
MXI System Controller  
MXI Bus Timeout Value  
MXI CLK10  
Default Setting  
Auto  
1 ms  
Receive  
MXI Transfer Limit  
Unlimited  
VXImove uses Synchronous MXI Enabled  
MXI-2 Auto Retry  
Enabled  
Disabled  
A24/A32 Write Posting  
VXI/VME-PCI8022 for Solaris  
1-12  
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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  
32 KB  
Driver Window Size  
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. VXI-MXI-2 Hardware Default Settings  
Hardware Component  
Logical Address (U43)  
Default Setting  
1
VXIbus Slot 0/Non-Slot 0 (W2)  
VXIbus Local Bus (S8, S9)  
VXIbus CLK10 Routing (W3)  
External Trigger Termination (S2)  
SMB CLK10 Direction (S3)  
SMB CLK10 Termination (S4)  
Automatic detection  
Both OFF: Single VXI-MXI-2  
From onboard oscillator  
OFF: Unterminated  
OUT: Drive CLK10 signal  
Ignored; effective only when S3  
is set to IN.  
Polarity of External SMB CLK10  
(S5)  
Inverted  
MXIbus CLK10 Signal (S7)  
Receive CLK10 from MXIbus  
MXIbus Termination  
(U35 switches 1 and 2)  
Automatic MXIbus termination:  
switch 2 set to NO; switch 1  
ignored.  
© National Instruments Corporation  
1-13  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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. VME-MXI-2 Hardware Default Settings  
Hardware Component  
Default Setting  
Hex C040  
A16 Base Address (U20)  
VME-MXI-2 Intermodule  
Signaling (W2)  
No user-defined pin selected  
MXIbus Termination  
(U21 switches 3 and 4)  
Automatic MXIbus termination:  
switch 3 OFF; switch 4 ignored.  
Configuration EEPROM  
(U21 switches 1 and 2)  
User-modifiable; factory settings  
protected: both switches OFF.  
DRAM SIMMs Installed  
Per customer order  
SIMM Size Configuration (S2)  
OFF if SIMMS are 4 M x 32 or  
larger; ON if smaller than 4 M x 32.  
Table 1-7. VXI/VME-MXI-2 Configuration Editor Default Settings  
Editor Field  
Logical Address  
Default Setting  
1 (set by hardware switch)  
Set by hardware switch  
A24 *  
LA Selection  
Address Space  
VXI/VME-PCI8022 for Solaris  
1-14  
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Chapter 1  
Introduction and Quick Start  
Table 1-7. VXI/VME-MXI-2 Configuration Editor Default Settings (Continued)  
Editor Field  
Requested Memory  
Default Setting  
16 KB *  
A16 Write Posting  
Disabled  
Disabled  
Disabled  
Auto  
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  
VXI/VME Arbiter Timeout  
MXI System Controller  
MXI Bus Timeout Value  
MXI Auto Retry  
125 µs  
Disabled  
256  
Priority  
3
Enabled  
Enabled  
Auto  
1 ms  
Disabled  
Unlimited  
Enabled  
Disabled  
MXI Transfer Limit  
MXI Parity Checking  
MXI Fair Requester  
MXI CLK10  
Set by hardware switch  
(VXI-MXI-2 only)  
* Assumes no DRAM is installed. If DRAM is installed, the Address  
Space would be A32, and Requested Memory would match the  
amount of DRAM.  
© National Instruments Corporation  
1-15  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Chapter  
PCI-MXI-2 Configuration  
and Installation  
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.  
Configuration EEPROM  
Onboard DRAM  
Figure 2-1 shows the PCI-MXI-2. The drawing shows the location and  
factory-default settings on the module.  
© National Instruments Corporation  
2-1  
VXI/VME-PCI8022 for Solaris  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Chapter 2  
PCI-MXI-2 Configuration and Installation  
2
1
1
U17  
2
DRAM  
Figure 2-1. PCI-MXI-2 Parts Locator Diagram  
VXI/VME-PCI8022 for Solaris  
2-2  
© National Instruments Corporation  
Download from Www.Somanuals.com. All Manuals Search And Download.