background image

Hardware Configuration and Installation

Chapter 2

VXI-SB2020 and NI-VXI for Solaris

2-14

© National Instruments Corporation

Polarized Cables

If you are using a MXIbus cable with a single connector on one cable end and a double connector
on the other end, it is a polarized cable that you must install correctly for the system to function
properly.  Connect the end with the single connector to the SB-MXI and the end of the cable with
the double connector to the VXI-MXI.  Be sure to tighten the screw locks to ensure proper pin
connection.  See Figure 2-9.

bus

  NA

TION

AL

IN

STRUMENT

S

®

VXI Mainframe

VXI-MXI 

Sun SPARCstation

MXI Cable

To Other Mainframes

SB-MXI Interface

Figure 2-9.  MXIbus Dual-Ended Cable Configuration

When you have properly connected the MXIbus cable, power on the VXI mainframe and the Sun
workstation.  After all devices are powered on and running properly, you can run the the VXI
Resource Manager to configure the system.

Summary of Contents for VXI-SB2020

Page 1: ... Copyright 1990 1995 National Instruments Corporation All Rights Reserved Getting Started with Your VXI SB2020 and the NI VXI Software for Solaris bus February 1995 Edition Part Number 320329 01 ...

Page 2: ...tria 0662 435986 Belgium 02 757 00 20 Canada Ontario 519 622 9310 Canada Québec 514 694 8521 Denmark 45 76 26 00 Finland 90 527 2321 France 1 48 14 24 24 Germany 089 741 31 30 Italy 02 48301892 Japan 03 3788 1921 Mexico 95 800 010 0793 Netherlands 03480 33466 Norway 32 84 84 00 Singapore 2265886 Spain 91 640 0085 Sweden 08 730 49 70 Switzerland 056 20 51 51 Taiwan 02 377 1200 U K 0635 523545 ...

Page 3: ...l 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 CUSTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENT...

Page 4: ...r 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 Instr...

Page 5: ...erference from the equipment to radio reception in commercial areas 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 There is no guarantee that interference will not occur in a particular installation However the chances of interference are much less if the equipment is i...

Page 6: ...ress 2 9 VMEbus Request Level Selection 2 11 Step 4 Install the VXI MXI Hardware 2 12 Step 5 Connect the MXIbus Cable 2 13 Nonpolarized Cables 2 13 Polarized Cables 2 14 Chapter 3 NI VXI Software Installation and Configuration 3 1 NI VXI Software Overview 3 1 Main Programs and Files 3 1 Additional Programs and Files 3 2 Installing and Loading the NI VXI Software for Solaris 1 x 3 3 Installing the ...

Page 7: ...g B 1 Appendix C Customer Communication C 1 Glossary Glossary 1 Figures Figure 2 1 SB MXI Installed in a SPARCstation 1 2 3 Figure 2 2 VXI MXI Parts Locator Diagram 2 4 Figure 2 3 VXI MXI with INTX Parts Locator Diagram 2 5 Figure 2 4 VXIbus Slot 0 Configuration 2 7 Figure 2 5 VXIbus Non Slot 0 Configuration 2 8 Figure 2 6 Logical Address Selection 2 10 Figure 2 7 VXI MXI VMEbus Requester Jumper S...

Page 8: ...ailed explanations of the NI VXI functions Study the descriptions of each function given in Chapters 3 through 13 to fully understand the purpose and syntax of each function Refer to the NI VXI Text Utilities Reference Manual to learn more about the victext and vxitedit programs Organization of This Manual Getting Started with Your VXI SB2020 and the NI VXI Software for Solaris is organized as fol...

Page 9: ...ames of directories device drivers programs filenames and extensions and for statements and comments taken from program code bold monospace Bold text in this font denotes the messages and responses that the computer automatically prints to the screen Angle brackets enclose the name of a key on the keyboard for example Enter Abbreviations acronyms metric prefixes mnemonics symbols and terms are lis...

Page 10: ...your comments on our products and manuals We are interested in the applications you develop using 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 C Customer Communication at the end of this manual ...

Page 11: ...t You Need to Get Started SB MXI interface board One of the following interface modules Standard VXI MXI interface module Enhanced VXI MXI interface module with INTX option Standard VME MXI interface module Enhanced VME MXI interface module with INTX option NI VXI distribution disk for the SB MXI and Solaris 1 x or NI VXI distribution disk for the SB MXI and Solaris 2 x You received both disks and...

Page 12: ... point to reverse right angle daisy chain connectors Type M5 MXIbus cable right angle point to reverse right angle daisy chain connectors Type M6 MXIbus cable right angle point to reverse right angle daisy chain connectors Type MB1 MXIbus Bulkhead cable right angle point to wall mount Bulkhead exit Type MB2 MXIbus Bulkhead cable straight Bulkhead exit to straight Bulkhead entry Type MB3 MXIbus Bul...

Page 13: ...ur instrument so that you do not have to learn the programming details You can use both programs with either Solaris 1 x or Solaris 2 x If you want to use LabVIEW with your VXI SB2020 you must order the LabVIEW for Sun VXI Development System that corresponds to your Sun system The following kits are available LabVIEW for Sun VXI Development System 1 User LabVIEW for Sun VXI Development System 5 Us...

Page 14: ...le a claim with the carrier Retain the packing material for possible inspection and or for reshipment 2 Verify that the pieces contained in the package you received match the kit parts list See Chapter 1 of this manual Do not remove the boards from their plastic bags at this point 3 Your SB MXI board and VXI MXI module are shipped packaged in antistatic plastic bags to prevent electrostatic damage...

Page 15: ...uires that the SB MXI be the first device in the MXIbus daisy chain because a cable with a straight point connector end cannot accept another MXIbus cable to propagate the bus Remember that you must configure the first device in the MXIbus daisy chain to be the MXIbus System Controller The following instructions are general installation instructions Consult the user or technical reference manual o...

Page 16: ...us connector plug of the SB MXI with the SBus socket and gently press the plug into the socket 7 Check the installation 8 Replace the cover to the system unit Figure 2 1 illustrates the installation of an SB MXI into a SPARCstation 1 SBus SBus Connector MXI Connector Cutouts SB MXI Board Figure 2 1 SB MXI Installed in a SPARCstation 1 ...

Page 17: ...s for a VXI MXI without the INTX daughter card option The remainder of this chapter describes only those options that are user configurable Do not change the default settings of other jumpers and switches on the VXI MXI board unless you plan to install more than one VXI MXI in the same mainframe If this is the case refer to the VXI MXI User Manual that came with your additional VXI MXI interface f...

Page 18: ...efault settings of the configuration switches and jumpers for a VXI MXI with the INTX daughter card option The options described in the rest of this chapter apply to VXI MXI modules with or without the INTX option For more information about configuring modules with the INTX option refer to the VXI MXI User Manual Figure 2 3 VXI MXI with INTX Parts Locator Diagram ...

Page 19: ...t be necessary to remove it under normal circumstances Should you find it necessary to open the enclosure remove the three screws on the top the three screws on the bottom and the three screws on the right side panel of the enclosure VXIbus Slot 0 The VXI MXI is shipped from the factory configured to be installed in Slot 0 of the VXIbus mainframe If another device is already in Slot 0 you must dec...

Page 20: ...0 and NI VXI for Solaris S8 must match S1 S8 Non Slot 0 Slot 0 S1 must match S8 S1 S l o t 0 N o n S l o t 0 W7 VME BTO Chain Position Drive CLK10 from onboard 10MHz Slot 0 Drive CLK10 from SMB CLK10 Slot 0 Receive CLK10 Non Slot 0 CLK10 Source Select W9 W10 Figure 2 4 VXIbus Slot 0 Configuration ...

Page 21: ...nstruments Corporation S l o t 0 S8 must match S1 S8 N o n S l o t 0 Non Slot 0 Slot 0 S1 must match S8 S1 W7 VME BTO Chain Position Drive CLK10 from onboard 10MHz Slot 0 Drive CLK10 from SMB CLK10 Slot 0 Receive CLK10 Non Slot 0 CLK10 Source Select W9 W10 Figure 2 5 VXIbus Non Slot 0 Configuration ...

Page 22: ...ed amount of time usually user configurable the BTO circuitry terminates a VMEbus cycle if no slave has responded The VXI MXI must provide the VMEbus BTO to function properly because when a MXIbus cycle is involved the VMEbus timeout must be disabled and the MXIbus BTO enabled You should disable the BTO of any other BTO module residing in the mainframe If this is not possible set it to its maximum...

Page 23: ...esponds to a logic value of 1 Verify that the VXI MXI does not have the same logical address as any other statically configured VXIbus device in your system Remember that logical addresses hex 0 and FF are not allowed for the VXI MXI Figure 2 6 shows switch settings for logical address hex 1 and C0 Shown at Default setting of Logical Address 1 LOGICAL ADDRESS SWITCH Push this side down for logic 0...

Page 24: ...specification This is suitable for most VXIbus systems However you can change the VXI MXI to use any of the other three request levels 0 1 or 2 by changing the jumper configuration on the jumper blocks labeled VMEbus Request Level on the front panel You may want to change request levels to change the priority of the VXI MXI request signal For more information refer to the VMEbus specification To c...

Page 25: ...size cards in D size mainframes Warning Be certain that the slot you select in your VXIbus mainframe matches the VXI MXI configuration as either a Slot 0 device or a Non Slot 0 device If you install your VXI MXI into a slot that does not correspond with the jumper settings you risk damage to the VXI MXI the VXIbus backplane or both 4 Insert the VXI MXI in the slot you have selected by aligning the...

Page 26: ... a double connector on the other end Your VXI SB2020 kit comes standard with a cable with single connectors on each end Nonpolarized Cables The cable with a single connector on each cable end is nonpolarized and may be installed with either end connected to either device Be sure to tighten the screw locks to ensure proper pin connection See Figure 2 8 bus NA TIO NA L INS TR UM EN TS VXI Mainframe ...

Page 27: ...he single connector to the SB MXI and the end of the cable with the double connector to the VXI MXI Be sure to tighten the screw locks to ensure proper pin connection See Figure 2 9 bus NA TIO NA L INS TR UM EN TS VXI Mainframe VXI MXI Sun SPARCstation MXI Cable To Other Mainframes SB MXI Interface Figure 2 9 MXIbus Dual Ended Cable Configuration When you have properly connected the MXIbus cable p...

Page 28: ... the NI VXI software Unless otherwise indicated in the descriptions the NI VXI software includes these programs and files for both Solaris 1 x and Solaris 2 x Other files as noted are present for only one of the Solaris platforms README contains the latest updates and corrections to the manual when appropriate vxiinit is the MXIbus initialization program This program initializes the SB MXI board f...

Page 29: ...ration information creg tbl contains device dependent information to be written to the control register by the Resource Manager vxibus cfg contains the bus configuration information vxila cfg contains the logical address configuration information The include directory contains include files for the C language interface nivxi h is the main header file containing the C prototypes for the NI VXI func...

Page 30: ...s material and continue with the section Installing and Loading the NI VXI Software for Solaris 2 x Note Upgrading from a previous version of NI VXI requires no steps other than those listed in the following installation and loading sections You do not need to remove any files from your current NI VXI directory because the installation steps will overwrite any old files However we recommend that y...

Page 31: ...ivxi INSTALL script If the driver is installed correctly the following message appears nivxi module loaded id where is an identification number that is returned by the operating system The following message appears on the console NI VXI device driver loaded Copyright c 1994 National Instruments Corporation All Rights Reserved If the driver is already loaded the following message appears on the con...

Page 32: ...he Solaris 2 x platform If your Solaris platform is Solaris 1 x refer instead to the previous section Installing and Loading the NI VXI Software for Solaris 1 x Upgrading from NI VXI Version 1 0 for Solaris 2 x If you are upgrading from NI VXI Version 1 0 it is important to perform the following steps before installing the new version 1 Log on as super user root privileges needed 2 Back up any fil...

Page 33: ...lower type the following command usr sbin pkgadd d vol dev rfd0 unlabeled Note During installation you might be prompted for the base directory in which to install the NI VXI software We recommend you select opt This will put the software in opt NICsbmxi Special Note for Users of Solaris 2 2 or Lower The pkgadd command might prompt you that it is about to replace the current devlink tab file and t...

Page 34: ...er the name of the device and additional information about the module Type the following command to use this utility nivxi info If you want to unload the driver enter the following command nivxi uld To completely remove the NI VXI driver from the driver list type the following command nivxi rem Using the NI VXI Software The NI VXI software expects to be loaded in the usr nivxi directory if you are...

Page 35: ...To use LabWindows CVI to program your system you must have a LabWindows CVI for Sun VXI Development System Refer to the Optional Software section in Chapter 1 Introduction Note You must have the ANSI C version of the libnivxiio so file in the nivxi directory to run either LabVIEW or LabWindows CVI Do NOT use the K R C version of the file Configuring the NI VXI Software Run the vxitedit device conf...

Page 36: ...ristics of the options available under the Logical Address Configuration menu Table 3 1 Logical Address Configuration Characteristics Characteristic Description Default Value Logical Address An 8 bit number that uniquely identifies the SB MXI If it is set to 0 it is the VXIbus Resource Manager Range 0 to 254 0 Device Type Indicates the classification of the SB MXI 0 Memory 1 Extended 2 Message Bas...

Page 37: ...gical address and includes N contiguous logical addresses where N is the value of the Servant area size Range 0 to 255 0 Protocol Register Copy of the Protocol register indicating which protocols the device supports Refer to the VXIbus System Specification 0x0ff0 Response for Servant Side Word Serial Read Protocol query The protocols that are supported which are supplied when the SB MXI receives t...

Page 38: ...r changes before exiting the menu Saving the configuration information updates the configuration files vxila cfg and vxibus cfg Run vxiinit to reinitialize the hardware according to the new settings If you changed any of the software configuration settings from the default settings record the new settings on the VXI SB2020 Hardware and Software Configuration Form in Appendix C Developing Your Appl...

Page 39: ...the sequence into an application program using the appropriate language and syntax Refer to the NI VXI Text Utilities Reference Manual on how to use victext and to learn about its features When programming in C with NI VXI it is important to remember that you must call InitVXIlibrary before calling any other NI VXI function Also at the end of your session you must call CloseVXIlibray the same numb...

Page 40: ... for the SB MXI module Capability Codes MXIbus Capability Code Description MA32 Master Mode A32 A24 and A16 addressing MBLT Master Mode block transfers MD32 Master Mode D32 D16 and D08 data sizes SC Optional MXIbus System Controller LOCK Can lock the MXIbus for indivisible transfers TERM Can terminate the MXIbus SBus Capability Code Description NBSD32 Slave D32 D16 and D08 data sizes INT Can inter...

Page 41: ...fety Not applicable Shock and Vibration Not applicable Physical Characteristic Specification Board Dimensions Standard single wide SBus board 146 7 mm by 83 82 mm 5 78 in by 3 3 in Connectors Single fully implemented MXIbus connector Slot Requirements Single SBus slot MTBF Contact Factory Requirements Memory space required 32 MB Timing Master Mode Transfer Type Transfer Rate Write 730 ns Read 730 ...

Page 42: ...O Slave Mode D32 D16 and D08 data sizes MBLOCK Master Mode block transfers SBLOCK Slave Mode block transfers MRMW Master Mode Read Modify Write SRMW Slave Mode Read Modify Write PRI Prioritized arbitration ROR Release on Request bus requester IH Interrupt Handler IR Interrupt Requester ROAK Release on Acknowledge interrupter BTO Bus Timeout SC Optional VMEbus System Controller IACK IACK daisy chai...

Page 43: ...ode block transfers SBLOCK Slave Mode block transfers SC Optional MXIbus System Controller FAIR Optional MXIbus fair requester TERM Can accept MXIbus termination resistors IH Interrupt Handler IR Interrupt Requester Requirements Characteristic Specification A16 Space 64 B Environmental Characteristic Specification Component Temperature 0 to 70 C operating 40 to 85 C storage Relative Humidity 10 to...

Page 44: ...ize slot Compatibility Fully compatible with VXI specification VXI Keying Class Class 1 TTL MTBF Contact Factory Electrical DC Current Ratings Source Typical Maximum Dynamic Current 5 VDC 5 25 A 6 7 A 0 67 A 5 2 VDC 300 mA 400 mA 50 mA 2 VDC 100 mA 125 mA 20 mA Timing Master Mode Slave Mode Transfer Type Transfer Rate Transfer Type Transfer Rate Write 675 5 ns Write 381 ns Read 625 5 ns Read 381 n...

Page 45: ...nts controller to initialize the SB MXI The file s may have been deleted accidentally If the file does not exist in your tbl directory nivxi tbl for Solaris 1 x or NICsbmxi tbl for Solaris 2 x you will need to reinstall your software Please refer to the appropriate installation section in Chapter 3 The NIVXIPATH environment variable may be pointing to the wrong directory The path should be set in ...

Page 46: ...rom resman the problem could be in a number of areas You may have resource conflicts between the SB MXI and the VXI mainframes in your system First make sure that you have used the non VXI Device Editor in vxitedit to inform resman of the memory requirements of all the non VXI devices in your system If you have a VME chassis in your system you may receive a warning that resman cannot find a Slot 0...

Page 47: ...or on the other end With these cables you must connect the single point connector to the MXIbus device that is closer in the MXIbus chain to the MXIbus System Controller The MXIbus System Controller determines who gains control of the MXIbus By default the SB MXI is the MXIbus System Controller set by the Bus Configuration Editor and the VXI MXI is not the MXIbus System Controller set by an onboar...

Page 48: ... 6 00 p m central time In other countries contact the nearest branch office You may fax questions to us at any time Corporate Headquarters 512 795 8248 Technical support fax 800 328 2203 512 794 5678 Branch Offices Phone Number Fax Number Australia 03 879 9422 03 879 9179 Austria 0662 435986 0662 437010 19 Belgium 02 757 00 20 02 757 03 11 Denmark 45 76 26 00 45 76 71 11 Finland 90 527 2321 90 502...

Page 49: ...ng any National Instruments hardware or software products related to this problem include the configuration forms from their user manuals Use additional pages if necessary Name Company Address Fax Phone Computer brand Model Processor Operating system Speed MHz RAM MB Display adapter Mouse yes no Other adapters installed Hard disk capacity MB Brand Instruments used National Instruments hardware pro...

Page 50: ...__________ SB MXI Address Space _________________________________________________ SB MXI Resource Manager Delay _________________________________________________ SB MXI Servant Area Size _________________________________________________ SB MXI Protocol Register _________________________________________________ SB MXI Response for Servant Side Word Serial Read Protocol Query _______________________...

Page 51: ...________ Hard Disk Capacity and Brand _________________________________________________ Solaris Platform and Version _________________________________________________ Programming Language Version _________________________________________________ Other Boards in System _________________________________________________ VXIbus Mainframe Make and Model _________________________________________________...

Page 52: ...Edition Date February 1995 Part Number 320329 01 Please comment on the completeness clarity and organization of the manual If you find errors in the manual please record the page numbers and describe the errors Thank you for your help Name Title Company Address Phone Mail to Technical Publications Fax to Technical Publications National Instruments Corporation National Instruments Corporation 6504 ...

Page 53: ...VXI the upper 16 KB of A16 space is allocated for use by VXI devices configuration registers This 16 KB region is referred to as VXI configuration space A24 space VXIbus address space equivalent to the VME 16 MB standard address space A32 space VXIbus address space equivalent to the VME 4 GB extended address space address Character code that identifies a specific location or series of locations in...

Page 54: ...ave is then responsible for incrementing the address on subsequent transfers so that the next element is transferred to or from the proper storage location In VME the data transfer may have no more than 256 elements MXI does not have this restriction BTO unit Bus Timeout Unit a functional module that times the duration of each data transfer and terminates the cycle if the duration is excessive Wit...

Page 55: ...sing unit DRQ DMA Request DTB See Data Transfer Bus dynamic A method of automatically assigning logical addresses to VXIbus devices configuration at system startup or other configuration times dynamically A device that has its logical address assigned by the Resource Manager configured device A VXI device initially responds at Logical Address 255 when its MODID line is asserted A MXIbus device res...

Page 56: ...IEEE 488 bus H hex Hexadecimal the numbering system with base 16 using the digits 0 to 9 and letters A to F Hz hertz cycles per second I IACK Interrupt Acknowledge IC Integrated Circuit IEEE Institute of Electrical and Electronics Engineers in inches I O input output the techniques media and devices used to achieve communication between machines and users interrupt A means for a device to request ...

Page 57: ...A device is in master mode if it is performing a bus cycle which it operation initiated Message Based An intelligent device that implements the defined VXIbus registers and device communication protocols These devices are able to use Word Serial Protocol to communicate with one another through communication registers modstat A utility that checks the status of the loaded drivers It displays the mo...

Page 58: ...The name of the National Instruments Resource Manager in NI VXI bus interface software See Resource Manager Resource Manager A Message Based Commander located at Logical Address 0 which provides configuration management services such as address map configuration Commander and Servant mappings and self test and diagnostic management RM See Resource Manager S s seconds Servant A device controlled by...

Page 59: ...or Transistor Logic V VDC volts direct current victext Text based VXI Interactive Control Program a part of the NI VXI bus interface software package Used to program VXI devices and develop and debug VXI application programs VME Versa Module Eurocard or IEEE 1014 VMEbus System Controller See Slot 0 Device VXIbus VMEbus Extensions for Instrumentation vxiinit A program in the NI VXI bus interface so...

Page 60: ...ational Instruments Corporation W Word Serial The simplest required communication protocol supported by Message Protocol Based devices in the VXIbus system It utilizes the A16 communication registers to transfer data using a simple polling handshake method ...

Reviews: