National Instruments VXI-8340 Series User Manual
National Instruments VXI-8340 Series User Manual

National Instruments VXI-8340 Series User Manual

Hide thumbs Also See for VXI-8340 Series:

Advertisement

Quick Links

VXI
VXI-8340 Series
User Manual
VXI-8340 Series User Manual
May 2001 Edition
Part Number 370358B-01

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for National Instruments VXI-8340 Series

  • Page 1 VXI-8340 Series User Manual VXI-8340 Series User Manual May 2001 Edition Part Number 370358B-01...
  • Page 2 Sweden 08 587 895 00, Switzerland 056 200 51 51, Taiwan 02 2528 7227, United Kingdom 01635 523545 For further support information, see the Technical Support Resources appendix. To comment on the documentation, send e-mail to techpubs@ni.com. Copyright © 2001 National Instruments Corporation. All rights reserved.
  • Page 3: Important Information

    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.
  • Page 4 Classification requirements are the same for the Federal Communications Commission (FCC) and the Canadian Department of Communications (DOC). Changes or modifications not expressly approved by National Instruments could void the user’s authority to operate the equipment under the FCC Rules.
  • Page 5 Canadian Department of Communications This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe B respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada. Compliance to EU Directives Readers in the European Union (EU) must refer to the Manufacturer's Declaration of Conformity (DoC) for information** pertaining to the CE Mark compliance scheme.
  • Page 6: Table Of Contents

    Install the NI-VISA and NI-VXI Software .............2-1 Complete the Software Installation ..............2-2 Installing the Hardware....................2-3 Install Your PCI-8330 Series Interface Board..........2-3 Install Your VXI-8340 Series Interface Module ..........2-4 Connect the Cable....................2-5 Power on the System ..................2-5 Software Configuration and Verification ..............2-6 Run MAX and Resman ...................2-6...
  • Page 7 Local Resource Access Functions ............ 3-10 Debugging ........................3-10 Appendix A Specifications Appendix B Default Settings Appendix C Advanced Hardware Configuration Settings Appendix D Power Sequencing Requirements Appendix E Common Questions Appendix F Technical Support Resources Glossary Index VXI-8340 Series User Manual viii ni.com...
  • Page 8: About This Manual

    VXI-8340 dual-port module-only kit • VXI-8345 single-port module-only kit • VXI-8345 dual-port module-only kit The VXI-8340 series is a VXIplug&play-compliant interface that gives external PCI-based computers the capabilities of embedded VXI controllers. How To Use the Manual Set Installation Guide...
  • Page 9: Conventions

    About This Manual This user manual contains an overview of the VXI-8340 series and PCI-8330 series hardware and the NI-VISA and NI-VXI software, guides you through setting up your kit, and helps you get started with application development. You can also use this manual as a reference for the hardware and software default settings and to find answers to commonly asked questions.
  • Page 10: Related Documentation

    ANSI/IEEE Standard 1155-1998, IEEE VMEbus Extensions for Instrumentation: VXIbus • ANSI/VITA 1-1994, VME64 • PCI Local Bus Specification, Revision 2.1, PCI Special Interest Group • VXI-6, VXIbus Mainframe Extender Specification, Rev. 2.0, VXIbus Consortium © National Instruments Corporation VXI-8340 Series User Manual...
  • Page 11: Introduction

    Introduction This chapter describes your VXI-8340 series interface kit, lists what you need to get started, and includes a brief description of the hardware and software. This manual uses the term VXI-8340 series when information applies to both the VXI-8340 and VXI-8345.
  • Page 12: Vxi-8340 Series Interface Kit Overview

    Slot 0 controller, cannot provide the necessary control for VXI devices that need P3 support. Caution An improper Slot 0 setting may damage the VXI-8340 series module and/or the VXI chassis. The VXI-8340 series links the computer to the VXIbus and converts PCI data transfers into VXIbus data transfers and vice versa.
  • Page 13: Vxi-8340 Series Front Panel Features

    VXI-8340 Series Front Panel Features The VXI-8340 series has the following front panel features: • MXI IN port for connecting the VXI-8340 series to a PCI bus-equipped PC or the MXI OUT port of another VXI-8340 series • MXI OUT port for daisy chaining to another VXI-8340 module (dual port modules only) •...
  • Page 14: Software Description

    • NI-VISA for Windows—This is a 32-bit driver designed for Windows. Note that for VXI support, the NI-VXI driver must be installed. You can use this driver to develop and run 32-bit applications for Windows. VXI-8340 Series User Manual ni.com...
  • Page 15: National Instruments Application Software

    ComponentWorks++ for Visual C++ takes advantage of integrated C++ libraries and ActiveX to help you build measurement and automation applications. With the ComponentWorks++ instrument classes, you can use the IEEE 488.2 library and VISA, an © National Instruments Corporation VXI-8340 Series User Manual...
  • Page 16 Measurement Studio integrate the VXI and VISA libraries that are required to support your PCI-based MXI-3 products. You also get hundreds of complete instrument drivers, which are modular, source-code programs that handle the communication with your instrument to speed your application development. VXI-8340 Series User Manual ni.com...
  • Page 17: Installation And Configuration

    This section describes how to install the NI-VISA and NI-VXI software. Please read these directions carefully along with any messages on the screen before making your selections. Note You can quit the Setup program at any time by pressing the Cancel button. © National Instruments Corporation VXI-8340 Series User Manual...
  • Page 18: Complete The Software Installation

    Setup is an interactive, self-guiding program that installs the NI-VISA and NI-VXI software and configures your system to use the software with the VXI-8340 series. Follow these steps to perform the installation: Insert the CD-ROM labeled NI-VXI v. 3.1 for Windows.
  • Page 19: Installing The Hardware

    Installation and Configuration Installing the Hardware This section summarizes how to install your VXI-8340 series hardware. Your kit contains a VXI-8340 series interface module and may also contain a PCI-8330 series interface board and MXI-3 cable. Caution To guard against electrostatic discharge, touch the antistatic plastic packages to a metal part of your computer or chassis before removing the boards from their packages.
  • Page 20: Install Your Vxi-8340 Series Interface Module

    Secure the PCI-8330 series bracket to the computer chassis with the screw from the removed expansion slot cover. Install Your VXI-8340 Series Interface Module Install the VXI-8340 series in Slot 0 of your VXI chassis by doing the following: Turn off the power.
  • Page 21: Connect The Cable

    VXI-8340 series, as shown in Figure 2-1. Power on the System Be sure the MXI-3 cable is connected securely. Turn on the VXI chassis. Always power on the VXI-8340 series at least 8 seconds before your PC. Refer to Note Appendix D, Power Sequencing Requirements, for more information regarding power-up requirements for the VXI-8340 series controllers.
  • Page 22: Software Configuration And Verification

    Settings, if you want information about other possible settings. Use MAX to change any configuration settings for the VXI-8340 series. For information on the software, including optional settings, use MAX and its online help. To access the help, select Help»Help Topics.
  • Page 23: Using The Request Offline/Go Online Feature

    The ONLINE front-panel LED turns off when the VXI-8340 series is offline. It is safe to remove power from a VXI chassis only after the VXI-8340 series is Note offline. Failure to take the controller offline before cycling power can lock up the system.
  • Page 24 VXI system configuration (replace devices, etc.). Restore power to the VXI chassis. In MAX, right-click on the VXI system and choose Go Online. When the system is ready for use, the VXI-8340 series turns on its ONLINE LED. Run the Resource Manager in MAX.
  • Page 25: Developing Your Application

    After installation, you can access these utilities through the Windows Start menu. Open the National Instruments or VXIpnp program group, then open either the VXI or VXIpnp subgroup to access the utilities you want to use.
  • Page 26: Device Interaction

    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. Type: vxiinreg 0,0 VXI-8340 Series User Manual ni.com...
  • Page 27: Programming With Vxi

    16 KB of A16 space. Try reading a register from each device listed in the MAX configuration view. In this way, you can verify that your VXI-8340 series can access each device in your VXI system successfully.
  • Page 28 VXImem.c Interrupt Handling VISAint.c VXIint.c Trigger Handling VISAtrig.c VXItrig.c Note MAX includes special settings that you must use for low-level functions and memory sharing. Consult the MAX online help for information on setting these up. VXI-8340 Series User Manual ni.com...
  • Page 29: Compiler Symbols For Ni-Vxi

    If you define these symbols in your source code, your source code should look something like the following sample code: #define VXINT #define BINARY_COMPATIBLE #include <nivxi.h> If you define these symbols using the compiler options, you should specify the following when invoking the compiler. © National Instruments Corporation VXI-8340 Series User Manual...
  • Page 30: Window Mapping

    NI-VXI is 64 KB. In VISA, you specify the window size directly in viMapAddress() The success of this allocation depends on the availability of three factors: • Address space in the User Window • Number of MITE windows • Memory for allocating data structures for the map VXI-8340 Series User Manual ni.com...
  • Page 31: Address Space

    Developing Your Application Address Space The VXI-8340 series can decode any 32-bit address on the PCI bus as a VXI cycle, giving 4 GB of addressability, which can be used for windows on the VXI-8340 series. The operating system or computer architecture may limit which addresses can be assigned to the VXI-8340 series.
  • Page 32: Shared Memory

    In the Hardware Configuration settings of the VXI-8340 series in MAX, you can share memory on your computer or from DRAM added to the VXI-8340 series. Right-click on any of the settings or consult the online help in MAX for more information. You can access shared memory on your...
  • Page 33: Enhancements To The Ni-Vxi Software

    The following sections describe the additional options beyond what is documented in the NI-VXI online help. Compatibility NI-VXI applications that follow the guidelines documented in the NI-VXI online help will work with NI-VXI for the VXI-8340 series. System Configuration Functions function has a new return value of InitVXIlibrary() .
  • Page 34: Local Resource Access Functions

    VXImemAlloc() series; it only allocates system RAM on the motherboard. If you want to access onboard RAM on the VXI-8340 series, access it as if it were VXI memory—that is, by using high-level or low-level VXIbus access functions. You can use...
  • Page 35 Specifications This appendix lists the specifications for the VXI-8340 series and PCI-8330 series modules. Requirements VXIbus configuration space....64 B A24 or A32 space........Programmable Default ..........None Environmental Temperature Operating ........0 to 55 °C Storage .........– 20 to 70 °C Relative humidity Operating ........
  • Page 36: Appendix A Specifications

    Specifications +12 V/–12 V Typical..........0 A Maximum (fused) ......1 A Physical Dimensions VXI-8340 series.......233.35 by 340 mm (9.187 by 13.386 in.) PCI-8330 series .......107 by 175 mm (4.2 by 6.9 in.) Slot requirements VXI-8340 series.......Single VXI C-size slot PCI-8330 series .......PCI bus slot Compatibility ..........Fully compatible with...
  • Page 37 D32, D16, D08(O) (Interrupter) VMEbus D32, D16, D08(O) interrupter ROAK, RORA Release on Acknowledge or Register Access interrupter BTO( VMEbus bus timer (programmable limit) LOCK Can lock the VMEbus for indivisible transfers © National Instruments Corporation VXI-8340 Series User Manual...
  • Page 38: Appendix B Default Settings

    MAX online help for your software reference. Note There are no hardware settings on the PCI-8330 series boards. Hardware Settings Table B-1. VXI-8340 Series Hardware Default Settings Hardware Component Default Setting J1—VXIbus Slot 0/Non-Slot 0 Automatic detection S2—SMB CLK10 direction...
  • Page 39 125 µs Bus timeout value VXI retry generation Enabled Automatic retries Enabled A24/A32 write posting Enabled Transfer limit Requester mode Release on Request Request level Fair requester Enabled Bus arbitration mode Prioritized Arbiter timeout Enabled VXI-8340 Series User Manual ni.com...
  • Page 40 Table B-6. MAX SMB Tab Default Settings Editor Field Default Setting Enable 50 Ω termination for Disabled EXTCLK SMB connector Invert external CLK10 polarity Disabled Enable 50 Ω termination for Disabled TRIG IN © National Instruments Corporation VXI-8340 Series User Manual...
  • Page 41 Configuration Settings This appendix describes the factory-default and alternate hardware configuration settings of the VXI-8340 series module. The module is set at the factory for the most commonly used configuration. Use this appendix if you want to try a different hardware configuration, or if you would like more information on a particular setting.
  • Page 42 Figure C-1. VXI-8340 Series Default Configuration Settings VXIbus Slot 0/Non-Slot 0 The VXI-8340 series is configured at the factory to automatically detect if it is installed in Slot 0 of a VXIbus mainframe. You can manually configure the VXI-8340 series for either Slot 0 or Non-Slot 0 operation by defeating the automatic-detection circuitry.
  • Page 43 As required by the VXIbus specification, the VXI-8340 series drives the 10 MHz signal CLK10 on a differential ECL output when installed in Slot 0. When not installed in Slot 0, the VXI-8340 series only receives the CLK10 signal. © National Instruments Corporation...
  • Page 44 This is useful in the event that the user-configured half of the EEPROM becomes corrupted in such a way that the VXI-8340 series powers up in an unusable state. Figure C-3 shows the configuration settings for EEPROM operation.
  • Page 45 Caution If S2 is set to OUT, do not attach any device that will drive a signal to the EXT CLK connector. Doing so may damage the device or your VXI-8340 series module. © National Instruments Corporation VXI-8340 Series User Manual...
  • Page 46 VXI system. Note You must power on the VXI-8340 series at least 8 seconds before your PC. When daisy-chaining VXI-8340 series controllers, power on VXI chassis in reverse order, starting with the chassis furthest from the host computer.
  • Page 47 How can I determine the serial number and hardware revision of the VXI-8340 series module? Run MAX and right-click on the name of the VXI-8340 series module. Select Hardware Configuration, and the dialog box for the VXI-8340 series module is displayed. The title bar includes the serial number and hardware revision of the module.
  • Page 48 You can perform resource manager operations from within MAX after you install the VXI-8340 series and cable it to your computer. With the VXI-8340 series, you may need to run the Resman utility if you boot your computer before turning on your VXI chassis or if you power-cycle your VXI chassis while the external PC remains on.
  • Page 49 The fastest method for testing the system is to run Resman. This program attempts to access memory in the upper A16 address space of each device in the system. If Resman does not report any problems, the VXI-8340 series communication system is operational.
  • Page 50 CLK10? CLK10 is a differential ECL signal on the VXIbus backplane. However, the oscillator for the VXI-8340 series and the EXT CLK input from the front panel use TTL. Therefore, supply a TTL-level signal for EXT CLK, and our voltage converters will convert the signal to differential ECL.
  • Page 51 Technical Support Resources Web Support National Instruments Web support is your first stop for help in solving installation, configuration, and application problems and questions. Online problem-solving and diagnostic resources include frequently asked questions, knowledge bases, product-specific troubleshooting wizards, manuals, drivers, software updates, and more. Web support is available through the Technical Support section of ni.com...
  • Page 52 Appendix F Technical Support Resources Worldwide Support National Instruments has offices located around the world to help address your support needs. You can access our branch office Web sites from the Worldwide Offices section of . Branch office Web sites provide ni.com...
  • Page 53 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 memory. In VISA, it identifies a resource. © National Instruments Corporation VXI-8340 Series User Manual...
  • Page 54 The slave is then responsible for incrementing the address on subsequent transfers so that the next element is transferred to or from the proper storage location. A VME data transfer may have no more than 256 elements. VXI-8340 Series User Manual ni.com...
  • Page 55 A set of registers through which the system can identify a module device type, model, manufacturer, address space, and memory requirements. To support automatic system and memory configuration, the VXI specification requires that all VXIbus devices have a set of such registers. © National Instruments Corporation VXI-8340 Series User Manual...
  • Page 56 VXIbus. It must have all of its required VXI interface capabilities built in. electromagnetic compliance electromagnetic interference external trigger A voltage pulse from an external source that triggers an event. VXI-8340 Series User Manual ni.com...
  • Page 57 Institute of Electrical and Electronics Engineers inches instrument driver A set of routines designed to control a specific instrument or family of instruments, and any necessary related files for LabWindows/CVI or LabVIEW. © National Instruments Corporation VXI-8340 Series User Manual...
  • Page 58 A transfer can be either a read or a write. 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. VXI-8340 Series User Manual ni.com...
  • Page 59 A Servant-only device that supports VXIbus configuration registers. Register-based devices are typically controlled by message-based devices via device-dependent register reads and writes. Resman The name of the National Instruments Resource Manager in NI-VXI bus interface software. See Resource Manager. © National Instruments Corporation...
  • Page 60 A VMEbus signal that is used by a device to indicate an internal failure. A failed device asserts this line. In VXI, a device that fails also clears its PASSed bit in its Status register. trigger Either TTL or ECL lines used for intermodule communication. Transistor-Transistor Logic VXI-8340 Series User Manual ni.com...
  • Page 61 A mechanism that signifies that a device will immediately give a successful acknowledge to a write transfer and place the transfer in a local buffer. The device can then independently complete the write cycle to the destination. © National Instruments Corporation VXI-8340 Series User Manual...
  • Page 62 E-4 local resource access functions, 3-10 VME devices, E-2 low-level VXIbus access functions, 3-9 VXI-8340 series system expansion, E-1 memory for allocating data structures, 3-7 compiler symbols for NI-VXI, 3-5 MITE DMA, 3-7 ComponentWorks, 1-5...
  • Page 63 SMB tab default settings (table), B-3 installing, 2-3 viewing device-specific information, 3-2 PCI-8330 series, 1-2 VXI bus tab default settings (table), B-2 high-level VXIbus access functions, 3-9 Measurement and Automation Explorer. See how to use manual set, ix VXI-8340 Series User Manual ni.com...
  • Page 64 MXI OUT port, 1-3 Resman, 2-6 reconfiguring after power cycling, 3-1 running through MAX, 3-2 using, E-2 National Instruments application software, 1-5 resource manager. See Resman National Instruments Web support, E-1 restart system power, 2-5 NI Developer Zone, E-1 NI Spy utility, 1-4, 3-10...
  • Page 65 3-3 VISAIC utility, 3-2 VMEbus capability codes, A-2 VXI bus tab default settings (table), B-2 VXI programming, 3-3 Web support from National Instruments, E-1 VXI-8340 series window mapping, 3-6 default configuration settings worldwide technical support, E-2 (figure), C-2 VXI-8340 Series User Manual ni.com...

This manual is also suitable for:

Vxi-8345Vxi-8340

Table of Contents