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.
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
Canadian Department of Communications This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe B respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada. Compliance to EU Directives Readers in the European Union (EU) must refer to the Manufacturer's Declaration of Conformity (DoC) for information** pertaining to the CE Mark compliance scheme.
Install the NI-VISA and NI-VXI Software .............2-1 Complete the Software Installation ..............2-2 Installing the Hardware....................2-3 Install Your PCI-8330 Series Interface Board..........2-3 Install Your VXI-8340 Series Interface Module ..........2-4 Connect the Cable....................2-5 Power on the System ..................2-5 Software Configuration and Verification ..............2-6 Run MAX and Resman ...................2-6...
Page 7
Local Resource Access Functions ............ 3-10 Debugging ........................3-10 Appendix A Specifications Appendix B Default Settings Appendix C Advanced Hardware Configuration Settings Appendix D Power Sequencing Requirements Appendix E Common Questions Appendix F Technical Support Resources Glossary Index VXI-8340 Series User Manual viii ni.com...
VXI-8340 dual-port module-only kit • VXI-8345 single-port module-only kit • VXI-8345 dual-port module-only kit The VXI-8340 series is a VXIplug&play-compliant interface that gives external PCI-based computers the capabilities of embedded VXI controllers. How To Use the Manual Set Installation Guide...
About This Manual This user manual contains an overview of the VXI-8340 series and PCI-8330 series hardware and the NI-VISA and NI-VXI 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 answers to commonly asked questions.
Introduction This chapter describes your VXI-8340 series interface kit, lists what you need to get started, and includes a brief description of the hardware and software. This manual uses the term VXI-8340 series when information applies to both the VXI-8340 and VXI-8345.
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-8340 series module and/or the VXI chassis. The VXI-8340 series links the computer to the VXIbus and converts PCI data transfers into VXIbus data transfers and vice versa.
VXI-8340 Series Front Panel Features The VXI-8340 series has the following front panel features: • MXI IN port for connecting the VXI-8340 series to a PCI bus-equipped PC or the MXI OUT port of another VXI-8340 series • MXI OUT port for daisy chaining to another VXI-8340 module (dual port modules only) •...
• NI-VISA for Windows—This is a 32-bit driver designed for Windows. Note that for VXI support, the NI-VXI driver must be installed. You can use this driver to develop and run 32-bit applications for Windows. VXI-8340 Series User Manual ni.com...
Page 16
Measurement Studio integrate the VXI and VISA libraries that are required to support your PCI-based MXI-3 products. You also get hundreds of complete instrument drivers, which are modular, source-code programs that handle the communication with your instrument to speed your application development. VXI-8340 Series User Manual ni.com...
Setup is an interactive, self-guiding program that installs the NI-VISA and NI-VXI software and configures your system to use the software with the VXI-8340 series. Follow these steps to perform the installation: Insert the CD-ROM labeled NI-VXI v. 3.1 for Windows.
Installation and Configuration Installing the Hardware This section summarizes how to install your VXI-8340 series hardware. Your kit contains a VXI-8340 series interface module and may also contain a PCI-8330 series interface board and MXI-3 cable. 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.
Secure the PCI-8330 series bracket to the computer chassis with the screw from the removed expansion slot cover. Install Your VXI-8340 Series Interface Module Install the VXI-8340 series in Slot 0 of your VXI chassis by doing the following: Turn off the power.
VXI-8340 series, as shown in Figure 2-1. Power on the System Be sure the MXI-3 cable is connected securely. Turn on the VXI chassis. Always power on the VXI-8340 series at least 8 seconds before your PC. Refer to Note Appendix D, Power Sequencing Requirements, for more information regarding power-up requirements for the VXI-8340 series controllers.
Settings, if you want information about other possible settings. Use MAX to change any configuration settings for the VXI-8340 series. For information on the software, including optional settings, use MAX and its online help. To access the help, select Help»Help Topics.
The ONLINE front-panel LED turns off when the VXI-8340 series is offline. It is safe to remove power from a VXI chassis only after the VXI-8340 series is Note offline. Failure to take the controller offline before cycling power can lock up the system.
Page 24
VXI system configuration (replace devices, etc.). Restore power to the VXI chassis. In MAX, right-click on the VXI system and choose Go Online. When the system is ready for use, the VXI-8340 series turns on its ONLINE LED. Run the Resource Manager in MAX.
After installation, you can access these utilities through the Windows Start menu. Open the National Instruments or VXIpnp program group, then open either the VXI or VXIpnp subgroup to access the utilities you want to use.
This help file shows you the syntax for this command, which reads VXI device configuration registers. The first argument is a logical address, and the second is the offset of the VXI device configuration register to be read. Type: vxiinreg 0,0 VXI-8340 Series User Manual ni.com...
16 KB of A16 space. Try reading a register from each device listed in the MAX configuration view. In this way, you can verify that your VXI-8340 series can access each device in your VXI system successfully.
Page 28
VXImem.c Interrupt Handling VISAint.c VXIint.c Trigger Handling VISAtrig.c VXItrig.c Note MAX includes special settings that you must use for low-level functions and memory sharing. Consult the MAX online help for information on setting these up. VXI-8340 Series User Manual ni.com...
NI-VXI is 64 KB. In VISA, you specify the window size directly in viMapAddress() The success of this allocation depends on the availability of three factors: • Address space in the User Window • Number of MITE windows • Memory for allocating data structures for the map VXI-8340 Series User Manual ni.com...
Developing Your Application Address Space The VXI-8340 series can decode any 32-bit address on the PCI bus as a VXI cycle, giving 4 GB of addressability, which can be used for windows on the VXI-8340 series. The operating system or computer architecture may limit which addresses can be assigned to the VXI-8340 series.
In the Hardware Configuration settings of the VXI-8340 series in MAX, you can share memory on your computer or from DRAM added to the VXI-8340 series. Right-click on any of the settings or consult the online help in MAX for more information. You can access shared memory on your...
The following sections describe the additional options beyond what is documented in the NI-VXI online help. Compatibility NI-VXI applications that follow the guidelines documented in the NI-VXI online help will work with NI-VXI for the VXI-8340 series. System Configuration Functions function has a new return value of InitVXIlibrary() .
VXImemAlloc() series; it only allocates system RAM on the motherboard. If you want to access onboard RAM on the VXI-8340 series, access it as if it were VXI memory—that is, by using high-level or low-level VXIbus access functions. You can use...
Page 35
Specifications This appendix lists the specifications for the VXI-8340 series and PCI-8330 series 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 ........
Specifications +12 V/–12 V Typical..........0 A Maximum (fused) ......1 A Physical Dimensions VXI-8340 series.......233.35 by 340 mm (9.187 by 13.386 in.) PCI-8330 series .......107 by 175 mm (4.2 by 6.9 in.) Slot requirements VXI-8340 series.......Single VXI C-size slot PCI-8330 series .......PCI bus slot Compatibility ..........Fully compatible with...
MAX online help for your software reference. Note There are no hardware settings on the PCI-8330 series boards. Hardware Settings Table B-1. VXI-8340 Series Hardware Default Settings Hardware Component Default Setting J1—VXIbus Slot 0/Non-Slot 0 Automatic detection S2—SMB CLK10 direction...
Page 39
125 µs Bus timeout value VXI retry generation Enabled Automatic retries Enabled A24/A32 write posting Enabled Transfer limit Requester mode Release on Request Request level Fair requester Enabled Bus arbitration mode Prioritized Arbiter timeout Enabled VXI-8340 Series User Manual ni.com...
Page 41
Configuration Settings This appendix describes the factory-default and alternate hardware configuration settings of the VXI-8340 series module. The module 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.
Page 42
Figure C-1. VXI-8340 Series Default Configuration Settings VXIbus Slot 0/Non-Slot 0 The VXI-8340 series is configured at the factory to automatically detect if it is installed in Slot 0 of a VXIbus mainframe. You can manually configure the VXI-8340 series for either Slot 0 or Non-Slot 0 operation by defeating the automatic-detection circuitry.
Page 44
This is useful in the event that the user-configured half of the EEPROM becomes corrupted in such a way that the VXI-8340 series powers up in an unusable state. Figure C-3 shows the configuration settings for EEPROM operation.
Page 46
VXI system. Note You must power on the VXI-8340 series at least 8 seconds before your PC. When daisy-chaining VXI-8340 series controllers, power on VXI chassis in reverse order, starting with the chassis furthest from the host computer.
Page 47
How can I determine the serial number and hardware revision of the VXI-8340 series module? Run MAX and right-click on the name of the VXI-8340 series module. Select Hardware Configuration, and the dialog box for the VXI-8340 series module is displayed. The title bar includes the serial number and hardware revision of the module.
Page 48
You can perform resource manager operations from within MAX after you install the VXI-8340 series and cable it to your computer. With the VXI-8340 series, you may need to run the Resman utility if you boot your computer before turning on your VXI chassis or if you power-cycle your VXI chassis while the external PC remains on.
Page 49
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-8340 series communication system is operational.
Page 50
CLK10? CLK10 is a differential ECL signal on the VXIbus backplane. However, the oscillator for the VXI-8340 series and the EXT CLK input from the front panel use TTL. Therefore, supply a TTL-level signal for EXT CLK, and our voltage converters will convert the signal to differential ECL.
Page 51
Technical Support Resources Web Support National Instruments Web support is your first stop for help in solving installation, configuration, and application problems and questions. Online problem-solving and diagnostic resources include frequently asked questions, knowledge bases, product-specific troubleshooting wizards, manuals, drivers, software updates, and more. Web support is available through the Technical Support section of ni.com...
Page 52
Appendix F Technical Support Resources Worldwide Support National Instruments has offices located around the world to help address your support needs. You can access our branch office Web sites from the Worldwide Offices section of . Branch office Web sites provide ni.com...
Page 54
The slave is then responsible for incrementing the address on subsequent transfers so that the next element is transferred to or from the proper storage location. A VME data transfer may have no more than 256 elements. VXI-8340 Series User Manual ni.com...
Page 56
VXIbus. It must have all of its required VXI interface capabilities built in. electromagnetic compliance electromagnetic interference external trigger A voltage pulse from an external source that triggers an event. VXI-8340 Series User Manual ni.com...
Page 58
A transfer can be either a read or a write. message-based An intelligent device that implements the defined VXIbus registers and device communication protocols. These devices are able to use Word Serial Protocol to communicate with one another through communication registers. VXI-8340 Series User Manual ni.com...
Page 60
A VMEbus signal that is used by a device to indicate an internal failure. A failed device asserts this line. In VXI, a device that fails also clears its PASSed bit in its Status register. trigger Either TTL or ECL lines used for intermodule communication. Transistor-Transistor Logic VXI-8340 Series User Manual ni.com...
Page 62
E-4 local resource access functions, 3-10 VME devices, E-2 low-level VXIbus access functions, 3-9 VXI-8340 series system expansion, E-1 memory for allocating data structures, 3-7 compiler symbols for NI-VXI, 3-5 MITE DMA, 3-7 ComponentWorks, 1-5...
Page 63
SMB tab default settings (table), B-3 installing, 2-3 viewing device-specific information, 3-2 PCI-8330 series, 1-2 VXI bus tab default settings (table), B-2 high-level VXIbus access functions, 3-9 Measurement and Automation Explorer. See how to use manual set, ix VXI-8340 Series User Manual ni.com...
Page 64
MXI OUT port, 1-3 Resman, 2-6 reconfiguring after power cycling, 3-1 running through MAX, 3-2 using, E-2 National Instruments application software, 1-5 resource manager. See Resman National Instruments Web support, E-1 restart system power, 2-5 NI Developer Zone, E-1 NI Spy utility, 1-4, 3-10...
Page 65
3-3 VISAIC utility, 3-2 VMEbus capability codes, A-2 VXI bus tab default settings (table), B-2 VXI programming, 3-3 Web support from National Instruments, E-1 VXI-8340 series window mapping, 3-6 default configuration settings worldwide technical support, E-2 (figure), C-2 VXI-8340 Series User Manual ni.com...
Need help?
Do you have a question about the VXI-8340 Series and is the answer not in the manual?
Questions and answers