National Instruments VXI-USB User Manual - Usb Capability Description

Manual is about: Interface kit

Summary of VXI-USB

  • Page 1

    Vxi vxi-usb user manual vxi-usb user manual december 2004 371381a-01.

  • Page 2

    Support worldwide technical support and product information ni.Com national instruments corporate headquarters 11500 north mopac expressway austin, texas 78759-3504 usa tel: 512 683 0100 worldwide offices australia 1800 300 800, austria 43 0 662 45 79 90 0, belgium 32 0 2 757 00 20, brazil 55 11 326...

  • Page 3: Important Information

    Important information warranty the vxi-usb is 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 ...

  • Page 4: Compliance

    Compliance compliance with fcc/canada radio frequency interference regulations determining fcc class the federal communications commission (fcc) has rules to protect wireless communications from interference. The fcc places digital electronics into two classes. These classes are known as class a (fo...

  • Page 5: Contents

    © national instruments corporation v vxi-usb user manual contents about this manual conventions ...................................................................................................................Vii related documentation...................................................................

  • Page 6: Appendix A

    Contents vxi-usb user manual vi ni.Com appendix a specifications appendix b default settings appendix c advanced hardware configuration settings appendix d common questions appendix e technical support and professional services glossary index.

  • Page 7: About This Manual

    © national instruments corporation vii vxi-usb user manual about this manual this manual contains instructions for installing and configuring the vxi-usb interface kit. It also discusses how to start developing your vxi/vme application. Conventions the following conventions appear in this manual: » ...

  • Page 8: Related Documentation

    About this manual vxi-usb user manual viii ni.Com related documentation the following documents contain information that you might find helpful as you read this manual: • ansi/ieee standard 1014-1987, ieee standard for a versatile backplane bus: vmebus • ansi/ieee standard 1155-1998, ieee vmebus ext...

  • Page 9: Introduction

    © national instruments corporation 1-1 vxi-usb user manual 1 introduction this chapter describes your vxi-usb interface kit, lists what you need to get started, and includes a brief description of the hardware and software. The vxi-usb interface kit links a pc-based computer to the vxibus using the ...

  • Page 10: Hardware Description

    Chapter 1 introduction vxi-usb user manual 1-2 ni.Com vxi-usb interface kit overview the interface kit described in this manual links a usb-equipped computer directly to the vxibus using usb 2.0. The vxi-usb kit uses this high-speed (480 mbps) serial bus to link your computer running windows to a vx...

  • Page 11: Vxi-Usb Front Panel Features

    Chapter 1 introduction © national instruments corporation 1-3 vxi-usb user manual the vxi-usb links the computer to the vxibus and converts usb data transfers into vxibus data transfers and vice versa. The vxi-usb includes additional usb series a ports you can use to connect other usb devices. Vxi-u...

  • Page 12

    Chapter 1 introduction vxi-usb user manual 1-4 ni.Com advanced configuration options the vxi-usb default hardware configuration should be acceptable for most systems. Refer to appendix b, default settings , only if your system uses the front-panel clk10 and trigger smb connectors. The ni-visa/ni-vxi...

  • Page 13

    Chapter 1 introduction © national instruments corporation 1-5 vxi-usb user manual extensive libraries of vxi instrument drivers written to take full advantage of direct vxi control. Labview, measurement studio, and labwindows/cvi include all the tools needed for instrument control, data acquisition,...

  • Page 14: Installing The Software

    © national instruments corporation 2-1 vxi-usb user manual 2 installation and configuration this chapter explains how to set up your test system. Installing the software use the setup program that came with your ni-vxi/ni-visa software to install the entire software package or a software update, or ...

  • Page 15

    Chapter 2 installation and configuration vxi-usb user manual 2-2 ni.Com caution to keep the manufacturer/model name tables or the vme device configuration from a previous installation, be sure to back them up before starting setup. They are in the tbl subdirectory of your ni-vxi directory, usually p...

  • Page 16

    Chapter 2 installation and configuration © national instruments corporation 2-3 vxi-usb user manual restore them to the tbl subdirectory of your ni-vxi directory before running max. Note if you save and restore the tbl files from an older version of ni-vxi, the software will use tbl files that do no...

  • Page 17: Installing The Hardware

    Chapter 2 installation and configuration vxi-usb user manual 2-4 ni.Com for information about the software, including optional settings, use max and its online help. Use the windows start menu to open the program group for national instruments, launch max, and select help»help topics. Installing the...

  • Page 18: Connecting Cables

    Chapter 2 installation and configuration © national instruments corporation 2-5 vxi-usb user manual installing your vxi-usb interface module all kits contain a vxi-usb interface module. To install the vxi-usb in slot 0 of your vxi chassis, complete the following steps: 1. Power off the chassis. 2. V...

  • Page 19

    Chapter 2 installation and configuration vxi-usb user manual 2-6 ni.Com performance. Plug-in boards with usb 2.0 ports are also supported but may not provide the highest performance. Full-speed (usb 1.X) ports are supported as well, but provide much lower performance. The link light (refer to chapte...

  • Page 20: Developing Your Application

    © national instruments corporation 3-1 vxi-usb user manual 3 developing your application this chapter discusses the software utilities you can use to start developing applications that use ni-vxi. After installing the ni-vxi software, you can begin developing your vxi/vme application. Be sure to che...

  • Page 21: Configuration

    Chapter 3 developing your application vxi-usb user manual 3-2 ni.Com provide a high level of performance; however, there may be some slight changes in behavior for certain applications. Your software features several system development utilities including max, resman, ni spy, visa interactive contro...

  • Page 22: Device Interaction

    Chapter 3 developing your application © national instruments corporation 3-3 vxi-usb user manual resman reports to max all errors it finds in your system. When you view your vxi system in max, you can easily spot any errors that resman found while configuring the system. Figure 3-1. Right-click a vx...

  • Page 23

    Chapter 3 developing your application vxi-usb user manual 3-4 ni.Com launch visaic (or vic) from the tools menu in max or from the visa or vxi subgroups in start»programs»national instruments. Try the following in visaic: in the tree view, navigate using your mouse to the visa resource for your cont...

  • Page 24: Programming For Vxi

    Chapter 3 developing your application © national instruments corporation 3-5 vxi-usb user manual figure 3-3. Successful viin access in the visaic register i/o tab (this window may look slightly different for labview users) if the data value ends in ff6 , you have successfully read the national instr...

  • Page 25

    Chapter 3 developing your application vxi-usb user manual 3-6 ni.Com older programs that use the ni-vxi api now use the ni-vxi-to-ni-visa compatibility layer to communicate with the vxi devices. Using this layer, older programs can run in ni-vxi 3.0 or later without being rewritten to use the visa i...

  • Page 26

    Chapter 3 developing your application © national instruments corporation 3-7 vxi-usb user manual note max includes configuration options that affect low-level functions and shared memory, as well as trigger mappings and other attributes of your vxi system. Refer to the max online help for informatio...

  • Page 27: Ni-Vxi Api Notes

    Chapter 3 developing your application vxi-usb user manual 3-8 ni.Com ni-vxi api notes the following notes apply only if you are using the ni-vxi api. We recommend that all new vxi/vme applications use the ni-visa api, but you can still develop with the older ni-vxi api for compatibility with legacy ...

  • Page 28: Debugging

    Chapter 3 developing your application © national instruments corporation 3-9 vxi-usb user manual are receiving triggers on an external controller, you may need to modify the trigger configuration on your extender module using max. In general, interrupts are routed automatically based on the interrup...

  • Page 29

    Chapter 3 developing your application vxi-usb user manual 3-10 ni.Com figure 3-4. Ni spy visaic, discussed in the device interaction section, is an excellent platform for quickly testing instruments and learning how to communicate with them. Figure 3-5. Visaic.

  • Page 30: Specifications

    © national instruments corporation a-1 vxi-usb user manual a specifications this appendix lists the specifications for the vxi-usb module. Requirements vxibus configuration space................... 64 b default.................................................... None environmental maximum altitude ....

  • Page 31: Shock and Vibration

    Appendix a specifications vxi-usb user manual a-2 ni.Com shock and vibration operational shock ...................................30 g peak, half-sine, 11 ms pulse (tested in accordance with iec-60068-2-27. Test profile developed in accordance with mil-prf-28800f.) random vibration operating ..........

  • Page 32: Usb Capability Description

    Appendix a specifications © national instruments corporation a-3 vxi-usb user manual slot requirements ................................... Single vxi c-size slot compatibility ......................................... Fully compatible with vxi specification vxi keying class ............................

  • Page 33: Ce Compliance

    Appendix a specifications vxi-usb user manual a-4 ni.Com ce compliance this product meets the essential requirements of applicable european directives, as amended for ce marking, as follows: low-voltage directive (safety)..............73/23/eec electromagnetic compatibility directive (emc) ............

  • Page 34

    Appendix a specifications © national instruments corporation a-5 vxi-usb user manual retry (master) vmebus master retry support retry (slave) vmebus slave retry support fsd first slot detector scon vmebus system controller (automatic detection) pri, rrs prioritized or round robin select arbiter ror,...

  • Page 35: Default Settings

    © national instruments corporation b-1 vxi-usb user manual b default settings this appendix summarizes the default settings for the hardware and software in the vxi-usb kit. If you need more information about a particular setting or want to try a different configuration, refer to appendix c, advance...

  • Page 36

    Appendix b default settings vxi-usb user manual b-2 ni.Com figure b-1. Vxi-usb default configuration settings s3 s4 s5 s6 s2 s1 y n from onboard oscillator from smb clk10 in on off on off out in inverted noninverted.

  • Page 37: Default Software Settings

    Appendix b default settings © national instruments corporation b-3 vxi-usb user manual default software settings table b-1. Vxi-usb hardware default settings hardware component default setting s1—firmware recovery n: do not recover firmware s2—vxibus clk10 source from onboard oscillator s3—smb trigg...

  • Page 38: Advanced Hardware

    © national instruments corporation c-1 vxi-usb user manual c advanced hardware configuration settings this appendix describes the alternate hardware configuration settings of the vxi-usb. The board is set at the factory for the most commonly used configuration. Use this appendix if you want to try a...

  • Page 39: Vxibus Clk10 Routing

    Appendix c advanced hardware configuration settings vxi-usb user manual c-2 ni.Com figure c-1. Firmware recovery operation vxibus clk10 routing the vxi-usb has four hardware switches that work together to control various aspects of clk10 routing. Read this section carefully and notice that if you ch...

  • Page 40

    Appendix c advanced hardware configuration settings © national instruments corporation c-3 vxi-usb user manual when switch s5 is set so that the vxi-usb receives the smb clk10 signal, you have the option to add a 50 Ω termination to the signal by setting switch s4. S4 is unused when s5 is configured...

  • Page 41

    Appendix c advanced hardware configuration settings vxi-usb user manual c-4 ni.Com figure c-2. Default settings for clk10 switches in figures c-3 and c-4, switch s2 uses the alternate configuration to generate the vxibus clk10 signal. Instead of the onboard oscillator, the vxi-usb generates from the...

  • Page 42

    Appendix c advanced hardware configuration settings © national instruments corporation c-5 vxi-usb user manual figure c-4. Receive external clk smb with 50 Ω termination and drive to the backplane figures c-5 and c-6 show two configurations for driving the external clk smb from the vxibus clk10 sign...

  • Page 43: Trigger Input Termination

    Appendix c advanced hardware configuration settings vxi-usb user manual c-6 ni.Com figure c-6. Drive noninverted external clk smb trigger input termination located within the group of clk10 switches is switch s3, which controls whether to put a 50 Ω termination on the external trigger input smb. Fig...

  • Page 44: Common Questions

    © national instruments corporation d-1 vxi-usb user manual d common questions this appendix addresses common questions you may have about using the ni-visa/ni-vxi software on the vxi-usb platform. What does hot plugging mean in terms of usb? The concept of hot plugging in usb means that you can remo...

  • Page 45

    Appendix d common questions vxi-usb user manual d-2 ni.Com how can i determine the serial number and firmware version of the vxi-usb module? This information is displayed in the title bar of the hardware configuration window in max. What is resman? Resman is the utility that performs the duties of a...

  • Page 46

    Appendix d common questions © national instruments corporation d-3 vxi-usb user manual what can i do to make sure that my system is up and running? 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 ...

  • Page 47

    Appendix d common questions vxi-usb user manual d-4 ni.Com when all leds except the sysfail led are on, the hardware detected that the fpga pll lost lock, and the board may be in an unstable state. Power cycle the board to repair it. In an empty chassis, when both the sysfail and fail leds are solid...

  • Page 48: Technical Support and

    © national instruments corporation e-1 vxi-usb user manual e technical support and professional services visit the following sections of the national instruments web site at ni.Com for technical support and professional services: • support—online technical support resources at ni.Com/support include...

  • Page 49: Glossary

    © national instruments corporation g-1 vxi-usb user manual glossary symbol prefix value p pico 10 –12 n nano 10 –9 µ micro 10 – 6 m milli 10 –3 k kilo 10 3 m mega 10 6 g giga 10 9 t tera 10 12 symbols ° degrees Ω ohms a a amperes address character code that identifies a specific location (or series ...

  • Page 50

    Glossary vxi-usb user manual g-2 ni.Com ansi american national standards institute api application programming interface—the direct interface that an end user sees when creating an application. Arbitration a process in which a potential bus master gains control over a particular bus. B b byte—eight ...

  • Page 51

    Glossary © national instruments corporation g-3 vxi-usb user manual byte order how bytes are arranged within a word or how words are arranged within a longword. Motorola ordering stores the most significant byte (msb) or word first, followed by the least significant byte (lsb) or word. Intel orderin...

  • Page 52

    Glossary vxi-usb user manual g-4 ni.Com dynamically configured device a device that has its logical address assigned by the resource manager. A vxi device initially responds at logical address 255 when its modid line is asserted. The resource manager subsequently assigns it a new logical address, to...

  • Page 53

    Glossary © national instruments corporation g-5 vxi-usb user manual 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 i/o input/output—the techniques, media, and devices used to achieve communication between machines and us...

  • Page 54

    Glossary vxi-usb user manual g-6 ni.Com l logical address an 8-bit number that uniquely identifies each vxibus device in a system. It defines the a16 register address of a device, and indicates commander and servant relationships. M m meters m mega—(1) the standard metric prefix for 1 million or 10 ...

  • Page 55

    Glossary © national instruments corporation g-7 vxi-usb user manual ni-vxi the national instruments bus interface software for vme/vxibus systems. Non-slot 0 device a device configured for installation in any slot in a vxibus mainframe other than slot 0. Installing such a device into slot 0 can dama...

  • Page 56

    Glossary vxi-usb user manual g-8 ni.Com slot 0 device a device configured for installation in slot 0 of a vxibus mainframe. This device is unique in the vxibus system in that it performs the vxi/vmebus system controller functions, including clock sourcing and arbitration for data transfers across th...

  • Page 57

    Glossary © national instruments corporation g-9 vxi-usb user manual vme versa module eurocard or ieee 1014 vmebus system controller a device configured for installation in slot 0 or a vxibus mainframe or the first slot in a vmebus chassis. This device is unique in the vmebus system in that it perfor...

  • Page 58: Index

    © national instruments corporation i-1 vxi-usb user manual index a advanced configuration options, 1-4 advanced hardware configuration settings, c-1 application development, 3-1 configuration, 3-2 debugging, 3-9 device interaction, 3-3 ni-vxi api notes, 3-8 optimizing large vxibus transfers, 3-7 pro...

  • Page 59

    Index vxi-usb user manual i-2 ni.Com default settings, b-1 description, 1-2 determining revision, d-2 installation, 2-4 help, technical support, e-1 hot plugging, d-1 i installation, 2-1 hardware, 2-4 software, 2-1 instrument drivers (ni resources), e-1 introduction, 1-1 k knowledgebase, e-1 l labvi...

  • Page 60

    Index © national instruments corporation i-3 vxi-usb user manual s safety specifications, a-3 selecting controller in visaic (figure), 3-4 serial number, determining, d-2 shock and vibration specifications, a-2 software configuration, 2-6 installation, 2-1 completing, 2-2 verification, 2-6 software ...

  • Page 61

    Index vxi-usb user manual i-4 ni.Com kit overview, 1-2 software configuration and verification, 2-6 installation, 2-1 specifications, a-1 w web resources, e-1.