background image

Worldwide Technical Support and Product Information

www.ni.com

National Instruments Corporate Headquarters

11500 North Mopac Expressway

Austin, Texas 78759-3504

USA

Tel: 512 794 0100

Worldwide Offices

Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Brazil 011 284 5011, 
Canada (Calgary) 403 274 9391, Canada (Ontario) 905 785 0085, Canada (Québec) 514 694 8521, 
China 0755 3904939, Denmark 45 76 26 00, Finland 09 725 725 11, France 01 48 14 24 24, 
Germany 089 741 31 30, Greece 30 1 42 96 427, Hong Kong 2645 3186, India 91805275406, 
Israel 03 6120092, Italy 02 413091, Japan 03 5472 2970, Korea 02 596 7456, Mexico (D.F.) 5 280 7625, 
Mexico (Monterrey) 8 357 7695, Netherlands 0348 433466, Norway 32 27 73 00, Poland 48 22 528 94 06, 
Portugal 351 1 726 9011, Singapore 2265886, Spain 91 640 0085, Sweden 08 587 895 00, 
Switzerland 056 200 51 51, Taiwan 02 2377 1200, United Kingdom 01635 523545

For further support information, see the 

Technical Support Resources

 appendix. To comment on the 

documentation, send e-mail to 

[email protected]

©

 Copyright 1998, 1999 National Instruments Corporation. All rights reserved.

Summary of Contents for VXI-1394

Page 1: ...VXI Getting Started with Your VXI 1394 Interface for Windows NT 98 VXI 1394 Interface for Windows NT 98 November 1999 Edition Part Number 322109D 01...

Page 2: ...4 24 24 Germany 089 741 31 30 Greece 30 1 42 96 427 Hong Kong 2645 3186 India 91805275406 Israel 03 6120092 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Mexico D F 5 280 7625 Mexico Monterrey...

Page 3: ...caused by owner s failure to follow the National Instruments installation operation or maintenance instructions owner s modification of the product owner s abuse misuse or negligent acts and power fai...

Page 4: ...interference to radio and television reception Classification requirements are the same for the Federal Communications Commission FCC and the Canadian Department of Communications DOC Changes or modif...

Page 5: ...s Cet appareil num rique de la classe B respecte toutes les exigences du R glement sur le mat riel brouilleur du Canada European Union Compliance to EEC Directives Readers in the EU EEC EEA must refer...

Page 6: ...r 2 Installation and Configuration Installing the Software 2 1 Install the NI VXI NI VISA and NI 488 2 Software 2 2 Complete the Software Installation 2 3 Configuring the Hardware optional 2 3 Install...

Page 7: ...m Configuration Functions 3 7 Low Level VXIbus Access Functions 3 7 High Level VXIbus Access Functions 3 8 Notes about VME Support 3 8 Debugging 3 9 NI Spy 3 9 VISAIC and VIC 3 9 NI 488 2 Troubleshoot...

Page 8: ...0 W Termination C 7 Figure C 6 Receive External CLK SMB and Drive to the Backplane Unterminated C 8 Figure C 7 Receive External CLK SMB with 50 W Termination and Drive to the Backplane C 9 Figure C 8...

Page 9: ...indows NT The VXI 1394 kit is a low cost VXIplug play compliant IEEE 1394 interface that gives external PCI based computers the capabilities of embedded VXI controllers The VXI 1394 G also adds the ca...

Page 10: ...nline help utility to fully understand the purpose and syntax of each function The Acrobat manuals and their installed locations are as follows The NI VISA User Manual describes how to program using N...

Page 11: ...d text also denotes parameter names italic Italic text denotes variables emphasis a cross reference or an introduction to a key concept This font also denotes text that is a placeholder for a word or...

Page 12: ...tandard 1155 1998 IEEE VMEbus Extensions for Instrumentation VXIbus ANSI VITA 1 1994 VME64 IEEE Standard 1394 1995 IEEE Standard for a High Performance Serial Bus PCI Local Bus Specification Revision...

Page 13: ...VXI 1394 interface module which plugs into your VXI mainframe and links your computer to the VXIbus The VXI 1394 G option adds a front panel connector for IEEE 488 2 devices so you can control a test...

Page 14: ...Mbits s serial bus to link your computer running Windows NT 98 to a VXI chassis Note You can connect multiple 1394 devices together in a tree topology However increasing the complexity of the 1394 bus...

Page 15: ...s a 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 1394 module and or the VXI chassis The VXI 1394 li...

Page 16: ...r most systems Refer to Appendix C Advanced Hardware Configuration Settings only if your system will make use of the front panel CLK10 and trigger SMB connectors Software Description NI VXI is the nam...

Page 17: ...Windows NT For more information refer to Chapter 2 Installation and Configuration Once your GPIB board is configured you can access additional GPIB utilities and help through T M Explorer Use T M Expl...

Page 18: ...abWindows CVI include all the tools needed for instrument control data acquisition analysis and presentation LabVIEW is a complete programming environment that departs from the sequential nature of tr...

Page 19: ...VISA installation Depending on the type of installation you choose you may need up to 20 MB of free space available on your hard drive to accommodate the NI VXI NI VISA and NI 488 2 software To be co...

Page 20: ...ter the following text where X is your floppy drive usually A or B X setup exe and press Enter 2 Click on the Next button at the Welcome screen to start the installation and accept the license agreeme...

Page 21: ...o read 2 When the installation process completes power off the system for the changes to take effect If you backed up the manufacturer and model name files restore them to the TBL subdirectory of your...

Page 22: ...metal part of your computer or chassis before removing the boards from their packages Your computer or chassis should be plugged in but powered off Figure 2 1 illustrates a system that includes an IEE...

Page 23: ...computer The slot you select should support bus mastering Refer to your computer documentation to determine if the slot you select supports bus mastering 4 Remove the corresponding expansion slot cove...

Page 24: ...is region is reserved for VXI device configuration registers which are used for initializing configuring and interacting with VXI devices The VXI 1394 also uses this region for this purpose Note Also...

Page 25: ...s and port addresses automatically However in some PC systems you may need to manually edit the PCI bus parameters in your CMOS setup Refer to your computer documentation for further instructions 5 Yo...

Page 26: ...ication can access devices in the VXI chassis You can also configure T M Explorer to run Resman automatically at every computer startup by selecting Tools Options and clicking the Resource Manager tab...

Page 27: ...guration device interaction programming and debugging After installation you can access these utilities through the Windows Start menu For the NI VXI or NI VISA use the utilities under Start Programs...

Page 28: ...cting Tools VXI Resource Manager From Tools Options you can also configure T M Explorer to run Resman automatically when the computer boots up Resman reports all errors that it finds in your system to...

Page 29: ...hat your VXI 1394 can access each of the devices in your VXI system successfully You can also access VXI and VME devices that are configured in A16 A24 and A32 address space by using the vxiin or vxio...

Page 30: ...ferent programming interfaces for accessing your instruments NI VISA NI VXI and NI 488 2 NI VISA is the National Instruments implementation of the VISA API as defined by the VXIplug play standard It i...

Page 31: ...ions The NI VXI examples are called VXIhigh c and VXIws c The NI VISA examples of these tasks are called VISAhigh c and VISAws c Use the other examples as you try more advanced techniques Consult the...

Page 32: ...e if you are using Microsoft C C with Windows NT and have installed NI VISA into the default directory you would normally specify C VXIpnp WinNT lib msc visa32 lib When building an application with NI...

Page 33: ...n the NI VXI User Manual will work with NI VXI for the VXI 1394 System Configuration Functions The InitVXIlibrary function has a new return value of INIT_RET_OK_RMERROR 2 If this value is returned it...

Page 34: ...ove blocks of data to and from a single VXI VME address This is commonly referred to as FIFO mode For more information refer to the NI VXI Programmer Reference Manual Notes about VME Support To use VM...

Page 35: ...ate with your instruments with NI VISA without having to write a program VIC gives you a similar environment that uses NI VXI These utilities are an excellent platform for quickly testing instruments...

Page 36: ...pace Programmable Default None Environmental Temperature Operating 0 to 55 C Storage 20 to 70 C Relative humidity Operating 10 to 90 noncondensing Storage 5 to 95 noncondensing EMI FCC Class A verifie...

Page 37: ...pical 750 A Maximum fused 1 A Physical Dimensions Fully enclosed shielded VXI C size board 233 35 by 340 mm 9 187 by 13 386 in Weight VXI 1394 1 11 kg 2 45 lb No DRAM installed VXI 1394 G 1 15 kg 2 53...

Page 38: ...ressing A32 A24 A16 slave VMEbus slave A32 A24 and A16 addressing D64 D32 D16 D08 EO master VMEbus master D64 D32 D16 and D08 data sizes D64 D32 D16 D08 EO slave VMEbus slave D64 D32 D16 and D08 data...

Page 39: ...ester IH 7 1 Interrupt handler for levels 7 1 I 7 1 Interrupt requester for levels 7 1 D32 D16 D08 O Interrupt Handler VMEbus D32 D16 D08 O interrupt handler D32 D16 D08 O Interrupter VMEbus D32 D16 D...

Page 40: ...and to the T M Explorer online help for your software reference Note There are no hardware settings on the PCI 1394 board Hardware Settings Table B 1 VXI 1394 Hardware Default Settings Hardware Compo...

Page 41: ...of Servant area 0 System interrupt level Disabled Number of handlers 1 Number of interrupters 0 Table B 3 T M Explorer Shared Memory Tab Default Settings Editor Field Default Setting Memory sharing D...

Page 42: ...rer VXI Bus Tab Default Settings Editor Field Default Setting Bus timeout value 125 s VXI retry generation Enabled Automatic retries Disabled A24 A32 write posting Disabled Transfer limit 256 Requeste...

Page 43: ...ed for more advanced users Hardware Default Settings The following hardware configuration settings are user configurable VXIbus Slot 0 Non Slot 0 Configuration EEPROM VXIbus CLK10 routing Trigger inpu...

Page 44: ...the VXI 1394 for either Slot 0 or Non Slot 0 operation by defeating the automatic detection circuitry Use the three position jumper W1 to select automatic Slot 0 detection Slot 0 or Non Slot 0 operati...

Page 45: ...iguration described in any of the following figures For example Figure C 2 shows switch S7 merely because of its close proximity to W1 Figure C 2 VXIbus Slot Configuration A Automatic Slot 0 Detection...

Page 46: ...he VXI 1394 has an onboard EEPROM which stores default register values that are loaded at power on The EEPROM is divided into two halves a factory configuration half and a user configuration half Both...

Page 47: ...the external trigger input SMB and is discussed later in this appendix The VXI 1394 can use two different sources to generate the VXIbus CLK10 signal an onboard oscillator or the external CLK SMB conn...

Page 48: ...board oscillator S6 The CLK10 signal is not terminated S2 The VXI 1394 receives the external CLK10 signal S3 The polarity of the CLK10 signal S4 is irrelevant when the VXI 1394 receives the external C...

Page 49: ...n C 7 VXI 1394 Interface for Windows NT 98 The configuration in Figure C 5 adds a 50 termination to the signal by changing switch S2 Figure C 5 Receive External CLK SMB with 50 Termination EXT CLK10 T...

Page 50: ...al Instead of the onboard oscillator the VXI 1394 generates from the external CLK SMB connector and drives to the backplane You can choose whether to terminate the signal using S2 Polarity remains irr...

Page 51: ...ernal CLK SMB from the VXIbus CLK10 signal by changing switch S3 to its alternate setting Switch S6 must be in its default position for these configurations Signal termination is not an issue when dri...

Page 52: ...0 www ni com Figure C 8 Drive Inverted External CLK SMB Figure C 9 Drive Non Inverted External CLK SMB EXT CLK10 TERMINATE Y N SMB TRIG TERM OUT IN NON INV S2 S3 S4 S5 S6 Y N CLK10 SOURCE SMB ONBRD EX...

Page 53: ...nal trigger input SMB Figure C 10A shows the default setting for a non terminated trigger input SMB Use the setting of Figure C 10B to terminate the trigger input SMB Figure C 10 SMB Trigger Input Ter...

Page 54: ...4 cables without powering down your computer and devices The 1394 Plug and Play architecture is designed so that the host computer can recognize when to load and remove the appropriate drivers However...

Page 55: ...your VXI interface Can I have both a PCI GPIB and a VXI 1394 G in the same computer Yes Just be sure to assign each board a unique name For example if the PCI GPIB is listed as GPIB0 assign some other...

Page 56: ...struments controller to Logical Address 0 you will at some point need to run Resman to configure your VXI instruments If your controller uses a different non zero logical address and is a message base...

Page 57: ...up Resource Manager operations It is located in the NIVXI directory Resman uses the settings configured in T M Explorer It initializes your VXI VMEbus system and stores the information that it collect...

Page 58: ...onfiguration or load the configuration from file What do the LEDs on the front of the VXI 1394 mean The SYSFAIL LED shows the state of the VXI VMEbus SYSFAIL line This line is asserted whenever any de...

Page 59: ...pecification If you need a more accurate CLK10 signal you can use the EXTCLK input at the front of the VXI 1394 What is shared memory and dual ported memory These terms refer to a block of memory that...

Page 60: ...estions FAQs and their corresponding answers or solutions including special sections devoted to our newest products The database is updated daily in response to new customer experiences and feedback T...

Page 61: ...ite to provide information on local services You can access these Web sites from www ni com worldwide If you have trouble connecting to our Web site please contact your local National Instruments offi...

Page 62: ...the VME 64 KB short address space In 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...

Page 63: ...ster gains control over a particular bus asynchronous Not synchronized not controlled by time signals In IEEE 1394 specifically this is the standard protocol for sending packets that require an acknow...

Page 64: ...sses to memory and usually involve hardware with bus mapping capabilities For example nonexistent memory a nonexistent register or an incorrect device access can cause a bus error bus master A device...

Page 65: ...od of transferring data to from computer memory DRAM Dynamic RAM Random Access Memory storage that the computer must refresh at frequent intervals dynamic configuration A method of automatically assig...

Page 66: ...to be defined as IEEE 1394 See IEEE 1394 G g 1 grams 2 a measure of acceleration equal to 9 8 m s2 GPIB General Purpose Interface Bus IEEE 488 gRMS A measure of random vibration The root mean square o...

Page 67: ...ieve communication between machines and users instrument driver A set of routines designed to control a specific instrument or family of instruments and any necessary related files for LabWindows CVI...

Page 68: ...2 the prefix for 1 048 576 or 220 when used with B byte to quantify data or computer memory master A functional part of a VME VXIbus device that initiates data transfers on the backplane A transfer ca...

Page 69: ...e with controllers from different vendors P PCI Peripheral Component Interconnect The PCI bus is a high performance 32 bit or 64 bit bus with multiplexed address and data lines R register based device...

Page 70: ...e the device the VXIbus backplane or both SMB Sub Miniature Type B connector that features a snap coupling for fast connection statically configured device A device whose logical address cannot be set...

Page 71: ...ame or the first slot in a VMEbus chassis This device is unique in the VMEbus system in that it performs the VMEbus System Controller functions including clock sourcing and arbitration for data transf...

Page 72: ...394 D 1 LEDs definitions of D 5 NI VXI utility programs D 4 PCI GPIB and VXI 1394 G in the same computer D 2 PCI MXI 2 and PCI 1394 interfaces in the same computer D 2 plugging in multiple peripherals...

Page 73: ...ion 1 3 installing 2 4 PCI 1394 1 3 host adapter D 2 hot plug in and IEEE 1394 D 1 definition of 1 1 I IEEE 1394 capability descriptions A 3 installation 2 1 L LabVIEW definition of 1 6 LabWindows CVI...

Page 74: ...anager See Resman restart system power 2 7 S setup 2 1 shared memory 3 7 shared memory tab default settings table B 2 slot 0 non slot 0 C 2 slot configuration VXI bus figure C 3 software additional no...

Page 75: ...interface board installing 2 6 interface kit overview 1 2 module description 1 3 specifications A 1 system expansion D 2 typical system setup figure 2 4 VXI 1394 G and GPIB port 1 5 specifications A 1...

Reviews: