background image

 

Important Information

Warranty

The National Instruments VXI-1394 board 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 during the warranty period. This warranty includes parts and labor.

The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, 
due to defects in materials and workmanship, for a period of 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. National Instruments does not 
warrant that the operation of the software shall be uninterrupted or error free.

A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside of 
the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping costs of 
returning to the owner parts which are covered by warranty.

National Instruments believes that the information in this document is accurate. The document has been carefully reviewed 
for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves the right to 
make changes to subsequent editions of this document without prior notice to holders of this edition. 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.

E

XCEPT

 

AS

 

SPECIFIED

 

HEREIN

, N

ATIONAL

 I

NSTRUMENTS

 

MAKES

 

NO

 

WARRANTIES

EXPRESS

 

OR

 

IMPLIED

AND

 

SPECIFICALLY

 

DISCLAIMS

 

ANY

 

WARRANTY

 

OF

 

MERCHANTABILITY

 

OR

 

FITNESS

 

FOR

 

A

 

PARTICULAR

 

PURPOSE

. C

USTOMER

S

 

RIGHT

 

TO

 

RECOVER

 

DAMAGES

 

CAUSED

 

BY

 

FAULT

 

OR

 

NEGLIGENCE

 

ON

 

THE

 

PART

 

OF

 N

ATIONAL

 I

NSTRUMENTS

 

SHALL

 

BE

 

LIMITED

 

TO

 

THE

 

AMOUNT

 

THERETOFORE

 

PAID

 

BY

 

THE

 

CUSTOMER

. N

ATIONAL

 

I

NSTRUMENTS

 

WILL

 

NOT

 

BE

 

LIABLE

 

FOR

 

DAMAGES

 

RESULTING

 

FROM

 

LOSS

 

OF

 

DATA

PROFITS

USE

 

OF

 

PRODUCTS

OR

 

INCIDENTAL

 

OR

 

CONSEQUENTIAL

 

DAMAGES

EVEN

 

IF

 

ADVISED

 

OF

 

THE

 

POSSIBILITY

 

THEREOF

. This limitation of the liability of National Instruments will 

apply regardless of the form of action, whether in contract or tort, including negligence. 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; owner’s modification of the product; owner’s abuse, misuse, or negligent acts; and power failure or 
surges, fire, flood, accident, actions of third parties, or other events outside reasonable control.

Copyright

Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical, including 
photocopying, recording, storing in an information retrieval system, or translating, in whole or in part, without the prior written 
consent of National Instruments Corporation.

Trademarks

CVI

, LabVIEW

, National Instruments

, ni.com

 NI-488.2

, NI-DAQ

, NI-VISA

, and NI-VXI

 are trademarks of 

National Instruments Corporation.

FireWire is a trademark of Apple Computer, Inc. Product and company names mentioned herein are trademarks or trade names of 
their respective companies.

WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS

(1) NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL 
OF RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL 
COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE 
EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN.

(2) IN ANY APPLICATION, INCLUDING THE ABOVE, RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS 
CAN BE IMPAIRED BY ADVERSE FACTORS, INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL 
POWER SUPPLY, COMPUTER HARDWARE MALFUNCTIONS, COMPUTER OPERATING SYSTEM SOFTWARE 
FITNESS, FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION, 
INSTALLATION ERRORS, SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS, MALFUNCTIONS OR 
FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES, TRANSIENT FAILURES OF ELECTRONIC 
SYSTEMS (HARDWARE AND/OR SOFTWARE), UNANTICIPATED USES OR MISUSES, OR ERRORS ON THE PART OF 
THE USER OR APPLICATIONS DESIGNER (ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER 
COLLECTIVELY TERMED “SYSTEM FAILURES”). ANY APPLICATION WHERE A SYSTEM FAILURE WOULD 
CREATE A RISK OF HARM TO PROPERTY OR PERSONS (INCLUDING THE RISK OF BODILY INJURY AND DEATH) 
SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM 
FAILURE. TO AVOID DAMAGE, INJURY, OR DEATH, THE USER OR APPLICATION DESIGNER MUST TAKE 
REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES, INCLUDING BUT NOT LIMITED TO 
BACK-UP OR SHUT DOWN MECHANISMS. BECAUSE EACH END-USER SYSTEM IS CUSTOMIZED AND DIFFERS 
FROM NATIONAL INSTRUMENTS' TESTING PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER 
MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT 
EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS, THE USER OR APPLICATION DESIGNER IS 
ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL 
INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A 
SYSTEM OR APPLICATION, INCLUDING, WITHOUT LIMITATION, THE APPROPRIATE DESIGN, PROCESS AND 
SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.

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: