National Instruments VXI/VMEpc 600 series Getting Started Manual

For windows 95/nt
Hide thumbs Also See for VXI/VMEpc 600 series:

Advertisement

Quick Links

VXI/VME
Getting Started with Your
VXI/VMEpc
600 Series
for Windows 95/NT
VXI/VMEpc 600 Series for Windows 95/NT
May 1998 Edition
Part Number 321882A-01

Advertisement

Table of Contents
loading

Summary of Contents for National Instruments VXI/VMEpc 600 series

  • Page 1 VXI/VME Getting Started with Your ™ VXI/VMEpc 600 Series for Windows 95/NT VXI/VMEpc 600 Series for Windows 95/NT May 1998 Edition Part Number 321882A-01...
  • Page 2 Singapore 2265886, Spain 91 640 0085, Sweden 08 730 49 70, Switzerland 056 200 51 51, Taiwan 02 377 1200, United Kingdom 01635 523545 National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, Texas 78730-5039 USA Tel: 512 794 0100 © Copyright 1998 National Instruments Corporation. All rights reserved.
  • Page 3 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.
  • Page 4 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...
  • Page 5: Table Of Contents

    What You Need to Get Started ..................1-1 Hardware Description ....................1-2 Software Description .....................1-2 Software Configurations..................1-3 National Instruments Application Software ............1-4 Files and Directories Installed on Your Hard Drive ............1-5 Chapter 2 Setting up Your VXI/VME System Configuring the Hardware .....................2-1 Installing the Hardware....................2-2...
  • Page 6 VXI/VME-MXI-2 T&M Explorer Device Tab Default Settings ..A-3 Table A-6. VXI/VME-MXI-2 T&M Explorer VXI/VME Bus Tab Default Settings ..................A-4 Table A-7. VXI/VME-MXI-2 T&M Explorer MXI-2 Bus Tab Default Settings ..................A-4 VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 7: About This Manual

    • Appendix D, Customer Communication, contains forms you can use to request help from National Instruments or to comment on our products and manuals. • Glossary contains an alphabetical list and description of terms used in this manual, including abbreviations, acronyms, metric prefixes, mnemonics, and symbols.
  • Page 8: Conventions Used In This Manual

    The term VXI/VMEpc 600 Series refers to a series of B-size, two-slot VXI or VME embedded controllers. Currently, this series consists of the VXIpc-650 and VMEpc-650. This term is used when information applies equally to the VXI and VME models. VXI/VMEpc 600 Series for Windows 95/NT viii © National Instruments Corporation...
  • Page 9: How To Use This Documentation Set

    This brief quick-start manual describes how to get started with your kit using the default hardware and software settings. Refer to the following manuals for more information about the hardware or software. © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 10: Related Documentation

    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 • VXI-6, VXIbus Mainframe Extender Specification, Rev. 1.0, VXIbus Consortium VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 11: 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 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.
  • Page 12: Introduction

    Run T&M Explorer to Configure All Devices in System Develop Your Application Chapter 3 What You Need to Get Started VXI/VMEpc-650 embedded controller VXIbus or VMEbus mainframe Keyboard (and included adapter cable) Mouse © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 13: Hardware Description

    Introduction Monitor with VGA or better resolution National Instruments software media for the VXI/VMEpc 600 Series The NI-VXI/VISA software is already installed on your VXI/VMEpc-650 computer. It is also included on disk in the event that you need to reinstall your software.
  • Page 14: Software Configurations

    National Instruments also includes the NI-488.2 software kit, which gives you access to the industry-standard NI-488.2 software for controlling external GPIB instruments through the GPIB port on the front panel. The GPIB interface on your VXI/VMEpc controller is fully compatible with the NI-488.2 driver for a variety of operating systems.
  • Page 15: National Instruments Application Software

    Your VXI/VMEpc 600 Series kit comes with the NI-VXI/VISA bus interface software already installed for you. In addition, you can use the National Instruments LabVIEW and LabWindows/CVI application programs and instrument drivers to ease your programming tasks. These standardized programs match the modular virtual instrument capability of VXI/VME and can reduce your VXI/VME software development time.
  • Page 16: Files And Directories Installed On Your Hard Drive

    National Instruments software manuals, all in Adobe Acrobat portable document format (PDF). Use the Acrobat Reader program, version 3 or later, to open and read these manual files on your computer, and to print them if desired.
  • Page 17: Setting Up Your Vxi/Vme System

    Use the Windows Start menu to open either the NI-VXI or NI-VISA program group and select T&M Explorer. To access the T&M Explorer online help, open the Help menu and select Help Topics. © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 18: Installing The Hardware

    Refer to the VXI/VMEpc 600 Series User Manual if you are not certain about any of these connections. Turn on power to the chassis. Follow the prompts in the Setup program. VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 19: Installed Software

    LabWindows/CVI from the CD or diskette set if you want to use either program. If your system includes any VXI devices, you should now run T&M Explorer. It prompts you to run Resman, which is the National Instruments Resource Manager. You must run Resman every time the chassis power is cycled so that your application can access devices in the VXI/VME chassis.
  • Page 20: Verifying Your System Configuration

    Use VIC under NI-VXI or VISAIC under NI-VISA. For an example on how to use VIC, refer to the Device Interaction section in Chapter 3, Developing Your Application. VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 21: Developing Your Application

    VXIbus specification, the Resource Manager is unable to detect VME devices. Because of this, when using systems containing a mixture of VME devices and VXI devices, you need to © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 22 Resman found. You can find more information about T&M Explorer by using its online help. From T&M Explorer, open the Help menu and select Help Topics. VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 23: Device Interaction

    . Try reading a register from each of the devices vxiin listed in the Address Map View of T&M Explorer. In this way, you can verify that your VXI/VMEpc-650 can access each of the devices in your system successfully. © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 24: Programming With Vxi

    National Instruments provides two different programming interfaces for accessing your instruments: NI-VISA and NI-VXI. NI-VISA is the National Instruments implementation of the VISA API as defined by the VXIplug&play standard. It is very useful when you have different types of instruments in your system (such as VXI, VME, GPIB, and Serial devices) because the NI-VISA functions have the same interface.
  • Page 25: Notes About Vme Support

    NI-VISA support for VME devices includes the register access operations (both high-level and low-level) and the block move operations, as well as the ability to receive interrupts. © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 26: Compiler Symbols For Ni-Vxi

    #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. For the Microsoft C compiler: /DVXINT /DBINARY_COMPATIBLE VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 27: Debugging

    NI Spy, VISAIC, and VIC are useful utilities that can aid in identifying the causes of problems in your application. NI Spy tracks the calls your application makes to National Instruments T&M drivers including NI-VXI, NI-VISA, and NI-488.2. NI-488.2 users may notice that NI Spy is very similar to GPIB Spy.
  • Page 28: Table A-1. Vxi/Vmepc 600 Series Hardware Default Settings

    Termination (VXI only) W3—SCSI Bus Termination Enabled W4—CLK10 SMB Direction Receive CLK10 (VXI only) W5—CLK10 SMB Termination Do not terminate (VXI only) W6—CLK10 Source Source from onboard oscillator (VXI only) © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 29: Table A-2. Vxipc T&M Explorer Device Tab Default Settings

    Editor Field Default Setting Memory sharing Don’t share memory Shared RAM size 64 KB (when sharing memory) Reserved physical memory 64 KB (when sharing memory) Lower half window byte Disabled swapping VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 30: Table A-4. Vxipc T&M Explorer Pci Tab Default Settings

    * Assumes no DRAM is installed. If DRAM is installed, the Address space should be A32, and Requested memory should match the amount of DRAM. If you install the DRAM yourself, you must manually specify these changes. © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 31: Table A-6. Vxi/Vme-Mxi-2 T&M Explorer Vxi/Vme Bus Tab Default Settings

    Bus timeout value 1 ms MXI-2 auto retry Disabled MXI transfer limit Unlimited MXI fair requester Disabled Perform parity checking Enabled MXI-2 CLK10 signal direction Switch determines signal direction (VXI-MXI-2 only) VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 32 VXI/VME system integration with the old utilities typically proceeded as follows: Install components and boot the system. Configure your hardware with VXIedit. Reboot and run VXIinit to initialize your National Instruments hardware. Run Resman to initialize the VXIbus. Optionally run VXIedit to configure any extender devices on the VXIbus.
  • Page 33 Right-click on an individual device in the tree structure to see its properties. You can further configure National Instruments devices by selecting the Hardware Configuration option. VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 34 Resman is the name of the utility that performs the duties of a VXI Resource Manager as discussed in the VXIbus specification. When you set a National Instruments controller to Logical Address 0, you will at some point need to run Resman to configure your VXI instruments. If your...
  • Page 35 Use the Resman program to perform startup Resource Manager operations. It is located in the directory. Resman uses the settings configured in NIVXI T&M Explorer. It initializes your VXI/VMEbus system and stores the VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 36 VXI/VMEpc 600 Series? Yes. The VXI/VMEpc uses the 32-bit PCI bus to interface to the VXI/VMEbus. In fact, its VXI/VMEbus circuitry also supports the new VME64 standard for D64 accesses. © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 37 VXI/VMEpc. You can use the keyboard adapter cable that is included with every VXI/VMEpc 600 Series kit to adapt the larger AT keyboard connector to the 6-pin Mini DIN connector. VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 38 Can I upgrade my VXI/VMEpc 600 Series? You can upgrade the CPU to 233 MHz if you have the 166 MHz model. Contact National Instruments for information. Can I use the internal IDE drive and an external SCSI hard drive at the same time? Yes, but you can only boot from the internal IDE drive in this configuration.
  • Page 39 VXIplug&play software that is compatible with these frameworks. This includes instrument drivers and executable soft front panels that are included with VXIplug&play-compatible instruments from a variety of vendors. © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 40: Installing The Software

    This option installs all the NI-VXI/VISA software in default directories without prompting you to make any further choices. • Typical setup prompts you to make high-level choices of which drivers to install and the destination directories. VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 41 Explorer to run Resman automatically at every computer startup. 4. After you run Resman, you are ready to use T&M Explorer to interactively configure the National Instruments hardware in your system. Use the right-click help for information about the various configuration options.
  • Page 42 Electronic Services Bulletin Board Support National Instruments has BBS and FTP sites dedicated for 24-hour support with a collection of files and documents to answer most common customer questions. From these sites, you can also download the latest instrument drivers, updates, and example programs. For recorded instructions on how to use the bulletin board and FTP services and for BBS automated information, call 512 795 6990.
  • Page 43 Telephone and Fax Support National Instruments has branch offices all over the world. Use the list below to find the technical support number for your country. If there is no National Instruments office in your country, contact the source from which you purchased your software to obtain support.
  • Page 44 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. Include additional pages if necessary.
  • Page 45 Complete a new copy of this form each time you revise your software or hardware configuration, and use this form as a reference for your current configuration. Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently.
  • Page 46 VXI/VMEpc Configuration Editor Settings (T&M Explorer) Logical Address ______________________________________________________________ Device Class _________________________________________________________________ Size of Servant Area ___________________________________________________________ Number of Handlers ___________________________________________________________ Number of Interrupters _________________________________________________________ Memory Sharing ______________________________________________________________ Shared RAM Size _____________________________________________________________ Reserved Physical Memory _____________________________________________________ Lower Half Window Byte Swapping ______________________________________________ Upper Half Window Byte Swapping ______________________________________________ Low-level Register Access API Support ___________________________________________ User Window Size ____________________________________________________________...
  • Page 47 Transfer Limit on MXIbus ______________________________________________________ MXI Fair Requester ___________________________________________________________ Parity Checking _______________________________________________________________ MXI-2 CLK10 Direction (VXI-MXI-2 only) ________________________________________ Other Products Computer make and model ________________________________________________________ Microprocessor __________________________________________________________________ Clock frequency or speed __________________________________________________________ Type of video board installed _______________________________________________________ Operating system version __________________________________________________________ Operating system mode ___________________________________________________________ Programming language ___________________________________________________________ Programming language version _____________________________________________________...
  • Page 48 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/VMEpc 600 Series for Windows 95/NT Edition Date:...
  • Page 49 Valid numbers for n are 16, 24, and 32. In VME/VXI, because there are six address modifiers, there are 64 possible address spaces. address window A portion of address space that can be accessed from the application program © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 50 Motorola ordering stores the most significant (MSB) byte or word first, followed by the least significant byte (LSB) or word. Intel ordering stores the LSB or word first, followed by the MSB or word. VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 51 A region of address space that is decoded by the VXI/VMEpc for use by the NI-VXI software See Data Transfer Bus. Emitter-Coupled Logic EEPROM Electronically Erasable Programmable Read Only Memory © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 52 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 IRQ* Interrupt signal VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 53 These devices are able to use Word Serial Protocol to communicate with one another through communication registers. MITE A National Instruments custom ASIC, a sophisticated dual-channel DMA controller that incorporates the Synchronous MXI and VME64 protocols to achieve high-performance block transfer rates NI-488 or NI-488.2...
  • Page 54 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. Resource Manager A message-based Commander located at Logical Address 0, which...
  • Page 55 Virtual Instrument Software Architecture. This is the general name given to VISA and its associated architecture. The architecture consists of two main VISA components: the VISA Resource Manager and the VISA Instrument Control Resources. © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 56 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. VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 57 (caution), 2-2 organization of manual, vii-viii verifying system configuration, 2-4 related documentation, x customer communication, xi, D-1 to D-2 drivers.txt file, 1-5 © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 58 A-1 to A-2 VXIpc T&M Explorer Device Tab default settings (table), A-2 VXIpc T&M Explorer PCI Tab National Instruments application software, 1-4 default settings (table), A-2 NI Spy utility, 1-3, 3-7 VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 59 Resman after SCSI drives, B-7 (note), 3-1 setting up VXI/VME system. See programming. See developing applications. configuration; installation. System Controller, installing VXI/VMEpc 600 Series in alternative slot, B-6 to B-7 © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...
  • Page 60 (table), A-2 (table), A-2 VXIpc T&M Explorer PCI Tab VXIpc Shared Memory Tab default default settings (table), A-2 settings (table), A-2 VXIpc T&M Explorer Shared Memory Tab default settings (table), A-2 VXI/VMEpc 600 Series for Windows 95/NT © National Instruments Corporation...
  • Page 61 B-7 LEDs on front, B-5 writing applications. See developing requirements for getting started, applications. 1-1 to 1-2 software description. See software. upgrading, B-7 © National Instruments Corporation VXI/VMEpc 600 Series for Windows 95/NT...

This manual is also suitable for:

Vxi 600 seriesVmepc 600 series

Table of Contents