National Instruments VXI-SB2020 Getting Started
National Instruments VXI-SB2020 Getting Started

National Instruments VXI-SB2020 Getting Started

W/ ni-vxi software for solaris
Table of Contents

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VXI-SB2020 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for National Instruments VXI-SB2020

  • Page 1 Getting Started with Your VXI-SB2020 and the ™ NI-VXI Software for Solaris February 1995 Edition Part Number 320329-01 © Copyright 1990, 1995 National Instruments Corporation. All Rights Reserved.
  • Page 2 National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 (512) 794-0100 Technical support fax: (800) 328-2203 (512) 794-5678 Branch Offices: Australia (03) 879 9422, Austria (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,...
  • Page 3 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;...
  • Page 4 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.
  • Page 5 Be sure that the equipment is plugged into a grounded outlet and that the grounding has not been defeated with a cheater plug. Notice 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.
  • Page 6: Table Of Contents

    Installing the NI-VXI Software for Solaris 2.x ..........3-6 Special Note for Users of Solaris 2.2 or Lower ..........3-6 Loading the NI-VXI Driver for Solaris 2.x............3-6 Unloading the NI-VXI Driver for Solaris 2.x ............ 3-7 © National Instruments Corporation VXI-SB2020 and NI-VXI for Solaris...
  • Page 7 MXIbus Single-Ended Cable Configuration ............ 2-13 Figure 2-9. MXIbus Dual-Ended Cable Configuration ............2-14 Tables Table 3-1. Logical Address Configuration Characteristics ..........3-9 Table 3-2. Bus Configuration Characteristics ..............3-11 VXI-SB2020 and NI-VXI for Solaris viii © National Instruments Corporation...
  • Page 8: About This Manual

    Organization of This Manual Getting Started with Your VXI-SB2020 and the NI-VXI Software for Solaris is organized as follows: • Chapter 1, Introduction, describes the VXI-SB2020 interface kit, lists the contents of your kit, and lists optional equipment and software.
  • Page 9: Conventions Used In This Manual

    About This Manual • Appendix C, 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, and symbols.
  • Page 10: Customer Communication

    About This Manual Customer Communication National Instruments wants to receive 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.
  • Page 11: Chapter 1 Introduction

    SBus expansion slots (hereafter referred to as the Sun) directly to the VXIbus. A Sun equipped with a VXI-SB2020 can function as a VXI Commander, Servant, and Resource Manager. The VXI-SB2020 makes the Sun appear as though it were plugged directly into the VXI backplane as an embedded CPU VXI module.
  • Page 12: Optional Equipment

    Introduction Chapter 1 Optional Equipment Contact National Instruments to order any of the following optional equipment. • VXI-MXI Standard VXIbus Mainframe Extender • VXI-MXI Enhanced VXIbus Mainframe Extender • VME-MXI Standard VMEbus Chassis Extender • VME-MXI Enhanced VMEbus Chassis Extender •...
  • Page 13: Optional Software

    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: •...
  • Page 14: Hardware Configuration And Installation

    Chapter 2 Hardware Configuration and Installation This chapter contains the instructions to configure and install the VXI-SB2020 interface kit. The instructions are given in the order that you should perform them. A summary of the steps is as follows: 1. Unpack the SB-MXI and VXI-MXI.
  • Page 15: Step 2. Install The Sb-Mxi Hardware

    Most newer Sun workstations cannot accept the top part of the mounting plate on the SB-MXI. This piece has tabs on either end and is fastened to the mounting plate by two screws. Remove this piece before attempting to install the SB-MXI. VXI-SB2020 and NI-VXI for Solaris © National Instruments Corporation...
  • Page 16: Figure 2-1. Sb-Mxi Installed In A Sparcstation 1+

    8. Replace the cover to the system unit. Figure 2-1 illustrates the installation of an SB-MXI into a SPARCstation 1+. SB-MXI Board SBus Connector MXI Connector SBus Cutouts Figure 2-1. SB-MXI Installed in a SPARCstation 1+ © National Instruments Corporation VXI-SB2020 and NI-VXI for Solaris...
  • Page 17: Step 3. Configure The Vxi-Mxi Hardware

    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 for more information. Figure 2-2. VXI-MXI Parts Locator Diagram VXI-SB2020 and NI-VXI for Solaris © National Instruments Corporation...
  • Page 18: Figure 2-3. Vxi-Mxi With Intx Parts Locator Diagram

    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 © National Instruments Corporation VXI-SB2020 and NI-VXI for Solaris...
  • Page 19: Front Panel Features

    To configure the VXI-MXI as a Non-Slot 0 device, change slide switches S1 and S8 and jumper blocks W7 (labeled VME BTO Chain Position on the front panel), and W9 and W10 (labeled CLK10 Source Select on the front panel) as shown in Figure 2-5. VXI-SB2020 and NI-VXI for Solaris © National Instruments Corporation...
  • Page 20: Figure 2-4. Vxibus Slot 0 Configuration

    VME BTO Chain Position ------------------------------------------------------------------------------------------------------------------- CLK10 Source Select Drive CLK10 from onboard 10MHz, Slot 0 Drive CLK10 from SMB CLK10, Slot 0 Receive CLK10, Non-Slot 0 Figure 2-4. VXIbus Slot 0 Configuration © National Instruments Corporation VXI-SB2020 and NI-VXI for Solaris...
  • Page 21: Figure 2-5. Vxibus Non-Slot 0 Configuration

    VME BTO Chain Position ------------------------------------------------------------------------------------------------------------------- CLK10 Source Select Drive CLK10 from onboard 10MHz, Slot 0 Drive CLK10 from SMB CLK10, Slot 0 Receive CLK10, Non-Slot 0 Figure 2-5. VXIbus Non-Slot 0 Configuration VXI-SB2020 and NI-VXI for Solaris © National Instruments Corporation...
  • Page 22: Vmebus Bto

    Ensure that no other statically configurable VXIbus devices have logical addresses of either 0 or 1. If they do, change the logical address settings of the other devices so that every device in the system has a unique associated logical address. © National Instruments Corporation VXI-SB2020 and NI-VXI for Solaris...
  • Page 23: Figure 2-6. Logical Address Selection

    Logical Address 1 Push this side down for logic 0 Push this side down for logic 1 b. Switch Set to Logical Address hex C0 Figure 2-6. Logical Address Selection VXI-SB2020 and NI-VXI for Solaris 2-10 © National Instruments Corporation...
  • Page 24: Vmebus Request Level Selection

    • • • • • • • • • VMEbus Request Level VMEbus Request Level c. Level 1 Requester d. Level 0 Requester Figure 2-7. VXI-MXI VMEbus Requester Jumper Settings © National Instruments Corporation 2-11 VXI-SB2020 and NI-VXI for Solaris...
  • Page 25: Step 4. Install The Vxi-Mxi Hardware

    5. Tighten the retaining screws on the top and bottom edges of the front panel. 6. Check the installation. 7. Connect the cables as described in the following section before restoring power. 8. Replace or close any doors or covers to the mainframe. VXI-SB2020 and NI-VXI for Solaris 2-12 © National Instruments Corporation...
  • Page 26: Step 5. Connect The Mxibus Cable

    There are two basic types of MXIbus cables. MXIbus cables can have either a single connector on each end, or a single connector on one cable end and 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.
  • Page 27: Polarized Cables

    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. VXI-SB2020 and NI-VXI for Solaris 2-14 © National Instruments Corporation...
  • Page 28: Ni-Vxi Software Installation And Configuration

    MXIbus initialization program. This program initializes the SB-MXI board vxiinit for operation. Run this program before using the NI-VXI software. • is the National Instruments multiframe Resource Manager. Run this program after resman vxiinit. • is the shell script for installing the NI-VXI device driver for Solaris 1.x.
  • Page 29: Additional Programs And Files

    • contains parameter and return values for the trigger functions. trig.h • contains parameter and return values for the Commander and Servant Word Serial ws.h functions. VXI-SB2020 and NI-VXI for Solaris © National Instruments Corporation...
  • Page 30: Installing And Loading The Ni-Vxi Software For Solaris 1.X

    Note: The SB-MXI must be installed in your computer before you can load the NI-VXI driver. © National Instruments Corporation VXI-SB2020 and NI-VXI for Solaris...
  • Page 31: Unloading The Ni-Vxi Driver For Solaris 1.X

    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 console: Can't load this module: No such device or address.
  • Page 32: Installing And Loading The Ni-Vxi Software For Solaris 2.X

    Starting with NI-VXI Version 2.1, the default NI-VXI directory is /opt/NICsbmxi Therefore, you will need to change any references to , or whichever alternative /opt/NIvxi directory you had chosen. 5. Continue with the installation as described in the following sections. © National Instruments Corporation VXI-SB2020 and NI-VXI for Solaris...
  • Page 33: Installing The Ni-Vxi Software For Solaris 2.X

    Note: The SB-MXI must be installed in your computer before you can load the NI-VXI driver. VXI-SB2020 and NI-VXI for Solaris © National Instruments Corporation...
  • Page 34: Unloading The Ni-Vxi Driver For Solaris 2.X

    NIVXIPATH /usr2/nivxi You must always set the environment variable to your directory. For LD_LIBRARY_PATH example, if you have installed NI-VXI in , type the following command: /usr/nivxi setenv LD_LIBRARY_PATH /usr/nivxi © National Instruments Corporation VXI-SB2020 and NI-VXI for Solaris...
  • Page 35: Using Labview Or Labwindows/Cvi

    The NI-VXI software has factory default configurations. These default configurations match the factory default configurations of the hardware interface. If you do not use to make changes, the default characteristics of the software will vxitedit remain in effect. VXI-SB2020 and NI-VXI for Solaris © National Instruments Corporation...
  • Page 36: Using Vxitedit

    Configuration Editor are Logical Address Configuration, Bus Configuration, and Device Configuration. The Device Configuration option is not used for the VXI-SB2020 kit. Logical Address Configuration Table 3-1 describes the characteristics of the options available under the Logical Address Configuration menu.
  • Page 37 SB-MXI to support. Range = 0 to 7 Number of The number of interrupters that the application Interrupters requires the SB-MXI to support. Range = 0 to 7 VXI-SB2020 and NI-VXI for Solaris 3-10 © National Instruments Corporation...
  • Page 38: Bus Configuration

    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 Application Program After you have verified that the driver software has been installed successfully, you can proceed with development of your VXI application software.
  • Page 39 InitVXIlibrary() session, you must call the same number of times that you had called CloseVXIlibray() (or until it returns 0). Refer to the directory for further InitVXIlibrary() /example development information. VXI-SB2020 and NI-VXI for Solaris 3-12 © National Instruments Corporation...
  • Page 40: Appendix A Specifications

    Can terminate the MXIbus SBus Capability Code Description NBSD32 Slave D32, D16, and D08 data sizes Can interrupt the SBus Electrical Source Typical Direct Current (max) +5 VDC 2.5 A 3.5 A © National Instruments Corporation VXI-SB2020 and NI-VXI for Solaris...
  • Page 41 Transfer Rate Write 730 ns Read 730 ns Block Write 490 ns Block Read 330 ns Other Daisy-Chain Delay 120 ns (Passing GIN to GOUT or GOUT generation from System Controller) VXI-SB2020 and NI-VXI for Solaris © National Instruments Corporation...
  • Page 42 IACK daisy-chain driver VXIbus Capability Code Description TRIG+1 Supports TTLTRIG0:7 and ECLTRIG0:1 trigger lines and full protocol operations for each. The VXI-MXI may participate in only one protocol operation at a time. © National Instruments Corporation VXI-SB2020 and NI-VXI for Solaris...
  • Page 43 -40° to 85° C storage Relative Humidity 10% to 90% noncondensing, operating; 0% to 95% noncondensing, storage Airflow 3.5 liters/s for 10° rise Emissions FCC Class A Safety Not applicable Shock and Vibration Not applicable VXI-SB2020 and NI-VXI for Solaris © National Instruments Corporation...
  • Page 44 Block Write 238 ns Block Read 270 ns Block Read 238 ns Other Transfer Type Transfer Rate Daisy-Chain Delay 120 ns (Passing GIN to GOUT or GOUT generation from System Controller) © National Instruments Corporation VXI-SB2020 and NI-VXI for Solaris...
  • Page 45: Appendix B Troubleshooting

    This appendix addresses certain problems you may encounter when using the NI-VXI bus interface software for Solaris. If you are unable to resolve your problem, please fill out the appropriate forms in Appendix C, Customer Communication, and contact National Instruments. Problems when Using vxiinit vxiinit Cannot Find .cfg Files...
  • Page 46 The following symptoms can indicate a problem with the MXIbus cable: • finds the SB-MXI board at Logical Address 0 but does not detect the VXI resman mainframe. • previously worked, but now produces errors. resman VXI-SB2020 and NI-VXI for Solaris © National Instruments Corporation...
  • Page 47 SB-MXI and the VXI-MXI are set accordingly. 3. If the cabling problem is not apparent, try another MXIbus cable if you have one available. If this solves the problem, contact National Instruments for repair information. © National Instruments Corporation...
  • Page 48: Appendix C Customer Communication

    Filling out a copy of the Technical Support Form before contacting National Instruments helps us help you better and faster. National Instruments provides comprehensive technical assistance around the world. In the U.S. and Canada, applications engineers are available Monday through Friday from 8:00 a.m. to 6:00 p.m.
  • Page 49 National Instruments for technical support helps our applications engineers answer your questions more efficiently. If you are using any National Instruments hardware or software products related to this problem, include the configuration forms from their user manuals. Use additional pages if necessary.
  • Page 50 Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently.
  • Page 51 Other Products • Computer Make and Model _________________________________________________ • Microprocessor _________________________________________________ • Clock Frequency (Bus and Microprocessor) _________________________________________________ • Type of Video Board Installed _________________________________________________ • Amount of RAM _________________________________________________ • Hard Disk Capacity and Brand _________________________________________________ • Solaris Platform and Version _________________________________________________ •...
  • Page 52 Documentation Comment Form National Instruments encourages you to comment on the documentation supplied with our products. This information helps us provide quality products to meet your needs. ™ Title: Getting Started with Your VXI-SB2020 and the NI-VXI Software for Solaris...
  • Page 53: Glossary

    Character code that identifies a specific location (or series of locations) in memory. address modifier One of six signals in the VMEbus specification used by VMEbus masters to indicate the address space in which a data transfer is to take place. © National Instruments Corporation Glossary-1 VXI-SB2020 and NI-VXI for Solaris...
  • Page 54 8 ns. CMOS Complementary Metal Oxide Semiconductor; a process used in making chips. Commander A Message-Based device which is also a bus master and can control one or more Servants. VXI-SB2020 and NI-VXI for Solaris Glossary-2 © National Instruments Corporation...
  • Page 55 In this configuration, a plug-in interface board in a computer is connected to the VXI mainframe via one or more VXIbus extended controllers. The computer then exerts overall control over VXIbus system operations. © National Instruments Corporation Glossary-3 VXI-SB2020 and NI-VXI for Solaris...
  • Page 56 A VMEbus functional module that detects interrupt requests generated by Interrupters and responds to those requests by requesting status and identify information. interrupt level The relative priority at which a device can interrupt. VXI-SB2020 and NI-VXI for Solaris Glossary-4 © National Instruments Corporation...
  • Page 57 MXIbus System A functional module that has arbiter, daisy-chain driver, and MXIbus Controller cycle timeout responsibility. Always the first device in the MXIbus daisy-chain. © National Instruments Corporation Glossary-5 VXI-SB2020 and NI-VXI for Solaris...
  • Page 58 A Servant-only device that supports VXIbus configuration registers. device Register-Based devices are typically controlled by Message-Based devices via device-dependent register reads and writes. The name of the National Instruments Resource Manager in NI-VXI bus resman interface software. See Resource Manager. Resource Manager...
  • Page 59 ID numbers, edit the model names of VXI and non-VXI devices in the system, as well as the system interrupt configuration information, and display the system configuration information generated by the Resource Manager. © National Instruments Corporation Glossary-7 VXI-SB2020 and NI-VXI for Solaris...
  • Page 60 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. VXI-SB2020 and NI-VXI for Solaris Glossary-8 © National Instruments Corporation...

Table of Contents