Summary of Contents for National Instruments VXI-1394
Page 1
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 3
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.
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
interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures: • Reorient or relocate the receiving antenna. •...
Install Your PCI-1394 Interface Board ............2-5 Install Your VXI-1394 Interface Board ............2-6 Connect Cables....................2-6 Power on the System ..................2-7 Software Configuration and Verification ..............2-7 VXI-1394/G Only — GPIB Configuration and Verification ......2-7 Run T&M Explorer and Resman..............2-8 Chapter 3 Developing Your Application Configuration .........................3-1 Device Interaction......................3-2...
Page 7
VISAIC and VIC..................... 3-9 NI-488.2 Troubleshooting Wizard ..............3-9 Appendix A Specifications Appendix B Default Settings Appendix C Advanced Hardware Configuration Settings Appendix D Common Questions Appendix E Technical Support Resources Glossary Index VXI-1394 Interface for Windows NT/98 viii www.ni.com...
This manual contains instructions for installing and configuring either of two National Instruments VXI-1394 kits: • VXI-1394 interface kit for Windows 98 and Windows NT • VXI-1394/G interface kit for Windows 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.
Page 10
About This Manual This getting started manual contains an overview of the VXI-1394 hardware, the NI-VXI/VISA software, and the NI-488.2 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 the answers to commonly asked questions.
PCI Local Bus Specification, Revision 2.1, PCI Special Interest Group • VXI-6, VXIbus Mainframe Extender Specification, Rev. 2.0, VXIbus Consortium • ANSI/IEEE Standard 488.1-1987, IEEE Standard Digital Interface for Programmable Instrumentation • ANSI/IEEE Standard 488.2-1992, IEEE Standard Codes, Protocols, and Common Commands VXI-1394 Interface for Windows NT/98 www.ni.com...
Windows 98 includes native support for the IEEE-1394 bus, but Windows NT 4 does not. National Instruments has developed a driver that works with the Adaptec AHA-8940 PCI-1394 host adapter and various OHCI boards. If you are using Windows NT 4, you must use this driver, which may not be compatible with other 1394 host adapters or built-in 1394 circuitry.
VXI-1394 Interface Kit Overview The interface kits described in this manual link a 1394-equipped computer directly to the VXIbus using the IEEE 1394 bus. The VXI-1394 kit uses this high-speed (up to 400 Mbits/s) serial bus to link your computer running Windows NT/98 to a VXI chassis.
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 links the computer to the VXIbus and converts 1394 data transfers into VXIbus data transfers and vice versa.
Settings, only if your system will make use of the front-panel CLK10 and trigger SMB connectors. Software Description NI-VXI is the name of the National Instruments VXI bus control library. You can create applications using NI-VXI to control both VXI and VME devices. NI-VXI gives you complete VXI/VME functionality, including...
Page 17
If your VXI-1394 model is the VXI-1394/G, it includes a GPIB port on its front panel, as well as the National Instruments NI-488.2 software kit, NI-488.2 is industry-standard software for controlling external GPIB instruments.
National Instruments Application Software In addition to the NI-VXI, NI-VISA, and NI-488.2 software, you can use the National Instruments LabVIEW and LabWindows/CVI application programs and instrument drivers to ease your programming task. These standardized programs match the modular virtual instrument capability of VXI and can reduce your VXI/VME software development time.
Note The front panel GPIB connector on the VXI-1394/G is not supported under Windows 98. Some of the utilities rely on the LabWindows/CVI Run-Time Engine. This software is installed, if necessary, during the NI-VXI/VISA installation.
Setup is an interactive, self-guiding program that installs the NI-VXI, NI-VISA, and NI-488.2 software and configures your system to use the software with the VXI-1394. Follow these steps to perform the installation: For the CD, select Start»Run and enter the following text, where your CD drive (usually D): X :\setup.exe...
NI-VXI directory before running T&M Explorer. Configuring the Hardware (optional) This section contains basic information about configuring your VXI-1394 hardware. Because the default settings for your VXI-1394 hardware are acceptable for most typical applications, this section is optional. Refer to Appendix B, Default Settings, for a complete listing of the hardware and software default settings.
Chapter 2 Installation and Configuration Installing the Hardware This section summarizes how to install your VXI-1394 hardware. Your kit contains a VXI-1394 interface module and a PCI-1394 adapter board. 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.
Do not cable devices to your 1394 system in such a way as to form a loop. Any device should have only one connection to the 1394 bus. An example of a loop would be a system containing a PCI-1394, a VXI-1394, and a device connected to both. Such a closed loop would break the 1394 system.
6-to-6-pin cable for proper connection to the 1394 system. Many other devices such as camcorders, VCRs, and so on, take a 6-to-4-pin cable. If you have the VXI-1394/G option, use a GPIB cable to attach your GPIB instruments to the GPIB port on the VXI-1394/G.
Run T&M Explorer and Resman Run the T&M Explorer program. It prompts you to run Resman, 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 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.
LabVIEW, or LabWindows/CVI. Note You can launch VIC or VISAIC from the Tools menu in T&M Explorer. Try the following in VIC. In the Command entry field, type: help vxiinreg VXI-1394 Interface for Windows NT/98 www.ni.com...
16 KB of A16 space. Try reading a register from each of the devices listed in the Connection View of T&M Explorer. In this way, you can verify that your VXI-1394 can access each of the devices in your VXI system successfully.
National Instruments provides three different 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 is very useful in situations where you have different types of instruments in your system—such as VXI, VME, GPIB,...
For Borland C/C++, use the NIVXI \win32\msc nivxint.lib in the directory. For example, if you are using NIVXI \win32\borlandc Microsoft and have installed NI-VXI into the default directory, you would normally specify C:\NIVXI\msc\nivxint.lib VXI-1394 Interface for Windows NT/98 www.ni.com...
C programs. Shared Memory The VXI-1394 supports sharing of onboard VXI-1394 RAM in VXI space. However, it does not support sharing of the local PC memory. Refer to T&M Explorer online help for more information.
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. VXI-1394 Interface for Windows NT/98 www.ni.com...
NI Spy, VISAIC, VIC, and the NI-488.2 Troubleshooting Wizard. NI Spy NI Spy tracks the calls your application makes to National Instruments T&M drivers including NI-VISA, NI-VXI, and NI-488.2. This utility highlights functions that return errors, so you can quickly spot which functions failed during your development.
Specifications This appendix lists the specifications for the VXI-1394 and VXI-1394/G 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 37
VXI-1394/G........1.15 kg (2.53 lb.) (No DRAM installed) I/O connectors 6-pin 1394........3 SMB..........3 GPIB (optional) .......1 Slot requirements ........Single VXI C-size slot Compatibility ..........Fully compatible with VXI specification VXI keying class ........Class 1 TTL MTBF .............Contact factory VXI-1394 Interface for Windows NT/98 www.ni.com...
Default Settings This appendix summarizes the default settings for the hardware and software in the VXI-1394 kit. If you need more information about a particular setting, or if you want to try a different configuration, please refer to Appendix C,...
Page 43
Configuration Settings This appendix describes the factory-default and alternate hardware configuration settings of the VXI-1394. The board 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.
Figure C-1. VXI-1394 Default Configuration Settings VXIbus Slot 0/Non-Slot 0 The VXI-1394 is configured at the factory to automatically detect if it is installed in Slot 0 of a VXIbus mainframe. With automatic Slot 0 detection, you can install the VXI-1394 into any VXIbus slot.
Appendix C Advanced Hardware Configuration Settings When the VXI-1394 is installed in Slot 0, it becomes the VXIbus System Controller. In this role, it has VXIbus Data Transfer Bus Arbiter circuitry that accepts bus requests on all four VXIbus request levels, prioritizes the requests, and grants the bus to the highest priority requester.
Page 47
Conversely, the configuration of one switch may make the setting of another switch irrelevant. For example, only switches S3 and S4 are relevant if you install the VXI-1394 in a slot other than Slot 0. The drawings use the pattern to depict switches that are either irrelevant or disabled for a particular CLK10 configuration.
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 CLK10 signal. However, it is configured to be inverted when the CLK10 SMB is used as output.
In Figures C-6 and C-7, switch S6 uses the alternate configuration to generate the VXIbus CLK10 signal. 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.
Page 54
The only difference is the topology of the system. If your system consists of a PC connected to a VXI-1394 which is in turn connected to a digital camera, you can get the best performance by connecting a third peripheral to the VXI-1394 rather than to the PC or the digital camera.
Page 55
Use only a tree topology to build your system. A closed loop is illegal, and will not work. For example, if you have a PCI-1394 and a VXI-1394 cabled together and you add direct connections from both of them to the same digital camera, you create a closed loop.
Page 56
Appendix D Common Questions Slot 0 VXI-1394, and another VXI-MXI-2 in Slot 0 of the next mainframe. You can then fill up this mainframe with additional devices. If you have additional GPIB devices to add to the system—such as a GPIB-VXI/C controller in Slot 0 of another VXI chassis—the VXI-1394/G...
Page 57
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-1394 communication system is operational.
Page 58
The VXI LED, when lit, indicates that the VXI-1394 is being accessed by another device in the VXI chassis, such as when a bus master inside the chassis wants to talk to either the VXI-1394 or memory in the computer.
Page 59
Common Questions What is the accuracy of the CLK10 signal? The CLK10 generated by the VXI-1394 is 100 ppm (0.01%) as per the VXIbus specification. If you need a more accurate CLK10 signal, you can use the EXTCLK input at the front of the VXI-1394.
Page 60
Technical Support Resources This appendix describes the comprehensive resources available to you in the Technical Support section of the National Instruments Web site and provides technical support telephone numbers for you to use if you have trouble connecting to our Web site or if you do not have internet access.
Page 61
If you have trouble connecting to our Web site, please contact your local National Instruments office or the source from which you purchased your National Instruments product(s) to obtain support. For telephone support in the United States, dial 512 795 8248. For...
Page 63
BIOS Basic Input/Output System. BIOS functions are the fundamental level of any PC or compatible computer. BIOS functions embody the basic operations needed for successful use of the computer’s hardware resources. VXI-1394 Interface for Windows NT/98 www.ni.com...
Page 65
An intelligent CPU (controller) interface plugged directly into the VXI backplane, giving it direct access to the VXIbus. It must have all of its required VXI interface capabilities built in. electromagnetic compliance VXI-1394 Interface for Windows NT/98 www.ni.com...
Page 67
In IEEE 1394, this protocol is used for purposes such as feeding digital image data from a peripheral device (such as a video camera) to a display mechanism within a computer. VXI-1394 Interface for Windows NT/98 www.ni.com...
Page 69
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 71
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-1394 Interface for Windows NT/98 G-10 www.ni.com...
Page 72
Index Numerics PCI-GPIB and VXI-1394/G in the same computer, D-2 1394 6-pin connectors, 1-4 PCI-MXI-2 and PCI-1394 interfaces in the 1394 LED, 1-4 same computer, D-2 plugging in multiple peripherals, D-1 Resman, D-3 using, D-4 additional compiler information, 3-6 serial number and hardware revision of...
Page 73
1-2 GPIB configuration utility, 1-5 multiple devices front panel port, 1-3 connecting (note), (caution), 1-2 GPIB connector (VXI-1394/G version only), National Instruments application software, 1-6 LabVIEW, 1-6 hardware LabWindows/CVI, 1-6 advanced configuration settings, C-1 National Instruments Web support, E-1...
Need help?
Do you have a question about the VXI-1394 and is the answer not in the manual?
Questions and answers