National Instruments NI 785xR, NI 784xR User Manual

Intelligent DAQ

NI R Series Intelligent DAQ User Manual

NI 781xR, 783xR, NI 784xR, and NI 785xR Devices
R Series Intelligent DAQ User Manual
June 2008 370489F-01

Support

Worldwide Technical Support and Product Information

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 662 457990-0, Belgium 32 (0) 2 757 0020, Brazil 55 11 3262 3599, Canada 800 433 3488, China 86 21 5050 9800, Czech Republic 420 224 235 774, Denmark 45 45 76 26 00, Finland 358 (0) 9 725 72511, France 01 57 66 24 24, Germany 49 89 7413130, India 91 80 41190000, Israel 972 3 6393737, Italy 39 02 41309277, Japan 0120-527196, Korea 82 02 3451 3400, Lebanon 961 (0) 1 33 28 28, Malaysia 1800 887710, Mexico 01 800 010 0793, Netherlands 31 (0) 348 433 466, New Zealand 0800 553 322, Norway 47 (0) 66 90 76 60, Poland 48 22 3390150, Portugal 351 210 311 210, Russia 7 495 783 6851, Singapore 1800 226 5886, Slovenia 386 3 425 42 00, South Africa 27 0 11 805 8197, Spain 34 91 640 0085, Sweden 46 (0) 8 587 895 00, Switzerland 41 56 2005151, Taiwan 886 02 2377 2222, Thailand 662 278 6777, Turkey 90 212 279 3031, United Kingdom 44 (0) 1635 523545
For further support information, refer to the Technical Support and Professional Services appendix. To comment on National Instruments documentation, refer to the National Instruments Web site at the info code
feedback.
ni.com/info and enter
© 2003–2008 National Instruments Corporation. All rights reserved.

Important Information

Warranty

The NI 7811R/7813R/7830R/7831R/7833R/7841R/7842R/7851R/7852R/7853R/7854R 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 instruc tions 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, NATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL
I
NSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER. NATIONAL INSTRUMENTS 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.
National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other intellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.

Trademarks

National Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation. Refer to the Terms of Use section on
ni.com/legal for more information about National Instruments trademarks.
Other product and company names mentioned herein are trademarks or trade names of their respective companies.
Members of the National Instruments Alliance Partner Program are business entities independent from National Instruments and have no agency, partnership, or joint-venture relationship with National Instruments.

Patents

For patents covering National Instruments products, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your media, or ni.com/patents.

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.

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 (for use in industrial-commercial locations only) or Class B (for use in residential or commercial locations). All National Instruments (NI) products are FCC Class A products.
Depending on where it is operated, this Class A product could be subject to restrictions in the FCC rules. (In Canada, the Department of Communications (DOC), of Industry Canada, regulates wireless interference in much the same way.) Digital electronics emit weak signals during normal operation that can affect radio, television, or other wireless products.
All Class A products display a simple warning statement of one paragraph in length regarding interference and undesired operation. The FCC rules have restrictions regarding the locations where FCC Class A products can be operated.
Consult the FCC Web site at
FCC/DOC Warnings
This equipment generates and uses radio frequency energy and, if not installed and used in strict accordance with the instructions in this manual and the CE marking Declaration of Conformity*, may cause 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 modifications not expressly approved by NI could void the user’s authority to operate the equipment under the FCC Rules.
Class A
Federal Communications Commission
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user is required to correct the interference at their own expense.
www.fcc.gov for more information.
Canadian Department of Communications
This Class A digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe A respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada.
Compliance with EU Directives
Users in the European Union (EU) should refer to the Declaration of Conformity (DoC) for information* pertaining to the CE marking. Refer to the Declaration of Conformity (DoC) for this product for any additional regulatory compliance information. To obtain the DoC for this product, visit and click the appropriate link in the Certification column.
* The CE marking Declaration of Conformity contains important supplementary information and instructions for the user or
installer.
ni.com/certification, search by model number or product line,

Contents

About This Manual
Conventions ...................................................................................................................vii
Related Documentation..................................................................................................viii
Reconfigurable I/O Documentation ................................................................viii
Additional Resources.......................................................................................x
Chapter 1 Introduction
About the Reconfigurable I/O Device ...........................................................................1-1
Using PXI with CompactPCI.........................................................................................1-2
Overview of Reconfigurable I/O ...................................................................................1-3
Reconfigurable I/O Concept............................................................................1-3
Reconfigurable I/O Architecture .....................................................................1-5
Reconfigurable I/O Applications.....................................................................1-6
Software Development ..................................................................................................1-6
LabVIEW FPGA Module................................................................................1-6
LabVIEW Real-Time Module .........................................................................1-7
Cables and Accessories..................................................................................................1-8
Custom Cabling .............................................................................................................1-9
Safety Information .........................................................................................................1-9
Flexible Functionality .......................................................................1-4
User-Defined I/O Resources .............................................................1-4
Device-Embedded Logic and Processing .........................................1-4
Chapter 2 Hardware Overview of the NI 78xxR
NI 7811R Overview.......................................................................................................2-3
NI 7813R Overview.......................................................................................................2-3
NI 7830R Overview.......................................................................................................2-3
NI 7831R/7833R Overview ...........................................................................................2-4
NI 784xR Overview.......................................................................................................2-4
NI 785xR Overview.......................................................................................................2-4
Analog Input (Multifunction R Series Only) .................................................................2-4
Input Modes.....................................................................................................2-5
Input Range .....................................................................................................2-5
Connecting Analog Input Signals ..................................................................................2-6
© National Instruments Corporation v R Series Intelligent DAQ User Manual
Contents
Types of Signal Sources ................................................................................................ 2-8
Floating Signal Sources .................................................................................. 2-8
Ground-Referenced Signal Sources ................................................................ 2-8
Input Modes................................................................................................................... 2-8
Differential Connection Considerations (DIFF Input Mode) ......................... 2-10
Differential Connections for Ground-Referenced Signal Sources ... 2-11 Differential Connections for Nonreferenced or
Floating Signal Sources ................................................................. 2-12
Single-Ended Connection Considerations ...................................................... 2-13
Single-Ended Connections for Floating Signal Sources
(RSE Input Mode).......................................................................... 2-14
Single-Ended Connections for Grounded Signal Sources
(NRSE Input Mode)....................................................................... 2-15
Common-Mode Signal Rejection Considerations........................................... 2-16
Analog Output ............................................................................................................... 2-16
Connecting Analog Output Signals ............................................................................... 2-17
Digital I/O...................................................................................................................... 2-17
Connecting Digital I/O Signals ..................................................................................... 2-17
RTSI Trigger Bus .......................................................................................................... 2-21
PXI Local Bus (NI PXI-781xR/783x R Only) ............................................................... 2-21
Switch Settings (NI 781xR/783x R Only)...................................................................... 2-23
+5 V Power Source........................................................................................................ 2-28
Device Fuse Replacement (NI 784xR/785x R Only) ...................................... 2-29
Field Wiring Considerations (NI 783x R/784x R/785xR Only) ..................................... 2-31
Chapter 3 Calibration (NI 783x R/784x R/785x ROnly)
Loading Calibration Constants ...................................................................................... 3-1
Internal Calibration........................................................................................................ 3-1
External Calibration....................................................................................................... 3-2
Appendix A Connecting I/O Signals
Appendix B Using the SCB-68 Shielded Connector Block
Appendix C Technical Support and Professional Services
Glossary
R Series Intelligent DAQ User Manual vi ni.com

About This Manual

This manual describes the electrical and mechanical aspects of the National Instruments 781xR/783xR/784xR/785xR devices and contains information about programming and using the devices.

Conventions

The following conventions appear in this manual:
<> Angle brackets that contain numbers separated by an ellipsis represent
a range of values associated with a bit or signal name—for example, AO <3. .0>.
» The » symbol leads you through nested menu items and dialog box options
to a final action. The sequence File»Page Setup»Options directs you to pull down the File menu, select the Page Setup item, and select Options from the last dialog box.
This icon denotes a note, which alerts you to important information.
This icon denotes a caution, which advises you of precautions to take to avoid injury, data loss, or a system crash. When this symbol is marked on a product, refer to the Safety Information section of Chapter 1, Introduction, for information about precautions to take.
When symbol is marked on a product, it denotes a warning advising you to take precautions to avoid electrical shock.
When symbol is marked on a product, it denotes a component that may be hot. Touching this component may result in bodily injury.
bold Bold text denotes items that you must select or click in the software, such
as menu items and dialog box options. Bold text also denotes parameter names.
italic Italic text denotes variables, emphasis, a cross-reference, or an introduction
to a key concept. Italic text also denotes text that is a placeholder for a word or value that you must supply.
© National Instruments Corporation vii R Series Intelligent DAQ User Manual
About This Manual
monospace Text in this font denotes text or characters that you should enter from the
keyboard, sections of code, programming examples, and syntax examples. This font is also used for the proper names of disk drives, paths, directories, programs, subprograms, subroutines, device names, functions, operations, variables, filenames, and extensions.
Multifunction R Series Multifunction R Series refers to the NI 783xR, NI 784xR, and NI 785xR,
which provide both analog and digital I/O.
NI 78xxRNI781xR, 783xR, NI 784xR, and NI 785xR refer to all PXI and PCI
R Series devices.
Platform Text in this font denotes a specific platform and indicates that the text
following it applies only to that platform.

Related Documentation

Reconfigurable I/O Documentation

This manual is one piece of the documentation set for your reconfigurable I/O system and application. Depending on the hardware and software you use for your application, you could have any of several types of documentation. The documentation includes the following documents:
Getting Started with R Series Intelligent DAQ—This document explains how to install and configure NI 781xR/783xR/784xR/785xR, and contains a tutorial that demonstrates how to begin taking a measurement using LabVIEW FPGA. This document is available at Start»All Programs»National Instruments»NI-RIO. This document is also available at
NI R Series Intelligent DAQ Specifications— Lists the specifications of the NI 781xR/783xR/784xR/785xR R Series devices. This document is available at Start»All Programs»National Instruments»NI-RIO. This document is also available at
LabVIEW FPGA documentation
Getting Started with LabVIEW FPGA 8.x—This KnowledgeBase,
available at can be used to assist in getting started with programming in LabVIEW FPGA.
FPGA Module book in the LabVIEW Help—Select Help»Search
the LabVIEW Help in LabVIEW to view the LabVIEW Help. Browse the FPGA Module book in the Contents tab for
ni.com/kb, provides links to the top resources that
ni.com/manuals.
ni.com/manuals.
R Series Intelligent DAQ User Manual viii ni.com
About This Manual
information about using the FPGA Module to create VIs that run on the NI 78xxR device.
LabVIEW FPGA Module Release and Upgrade Notes—Contains
information about installing the LabVIEW FPGA Module, describes new features, and provides upgrade information. To access this document, refer to
ni.com/manuals. In
LabVIEW 8.0 or later, you can also view the LabVIEW Manuals directory that contains this document by selecting Start»All
Programs»National Instruments»LabVIEW»LabVIEW Manuals.
LabVIEW Real-Time documentation
Getting Started with the LabVIEW Real-Time Module—Provides
exercises to teach you how to develop a real-time project and VIs, from setting up RT targets to building, debugging, and deploying real-time applications. This document provides references to the LabVIEW Help and other Real-Time Module documents for more information as you create the real-time application. To access this document, refer to
ni.com/manuals. In LabVIEW 8.0 or later,
you can also view the LabVIEW Manuals directory that contains this document by selecting Start»All Programs»National Instruments»LabVIEW»LabVIEW Manuals.
Real-Time Module book in the LabVIEW Help—Select Help»
Search the LabVIEW Help in LabVIEW to view the LabVIEW Help. Browse the Real-Time Module book in the Contents tab
for information about how to build deterministic applications using the LabVIEW Real-Time Module.
LabVIEW Real-Time Module Release and Upgrade
Notes—Includes information about system requirements, installation, configuration, new features and changes, and compatibility issues for the LabVIEW Real-Time Module. To access this document, refer to
ni.com/manuals. In
LabVIEW 8.0 or later, you can also view the LabVIEW Manuals directory that contains this document by selecting Start»All
Programs»National Instruments»LabVIEW»LabVIEW Manuals.
© National Instruments Corporation ix R Series Intelligent DAQ User Manual
About This Manual

Additional Resources

The following documents contain information you might find helpful:
NI Developer Zone tutorial, Field Wiring and Noise Considerations
PICMG CompactPCI 2.0 R3.0
PXI Hardware Specification Revision 2.1
PXI Software Specification Revision 2.1
National Instruments Example Finder—LabVIEW contains an
LabVIEW FPGA IPNet—Offers resources for browsing,
for Analog Signals, at
ni.com/zone
extensive library of VIs and example programs for use with R Series devices. To access the NI Example Finder, open LabVIEW and select
Help»Find Examples, then select Hardware Input and Output» R Series.
understanding, and downloading LabVIEW FPGA functions or IP (Intellectual Property). Use this resource to acquire IP that you need for your application, download examples to help learn programming techniques, and explore the depth of IP offered by the LabVIEW FPGA platform. To access the LabVIEW FPGA IPNet, visit
ni.com/ipnet.
R Series Intelligent DAQ User Manual x ni.com
Introduction
This chapter describes the NI 781xR/783xR/784xR/785xR, the concept of the Reconfigurable I/O (RIO) device, optional software and equipment for using the NI 78xxR, and safety information about the NI 78xxR.

About the Reconfigurable I/O Device

Table 1-1 lists an overview of the NI 78xxR R Series Intelligent DAQ RIO devices.

Table 1-1. NI 78xxR R Series Intelligent DAQ RIO Device Overview

Device I/O Channels FPGA AI Sample Rate
NI PCI/PXI-7811R 160 DIO Virtex-II XC2V1000
NI PCI/PXI-7813R 160 DIO Virtex-II XC2V3000
NI PCI/PXI-7830R 4 AI, 4 AO, 56 DIO Virtex-II XC2V1000 200 kS/s
NI PCI/PXI-7831R 8 AI, 8 AO, 96 DIO Virtex-II XC2V1000 200 kS/s
1
NI PCI/PXI-7833R 8 AI, 8 AO, 96 DIO Virtex-II XC2V3000 200 kS/s
NI PXI-7841R 8 AI, 8 AO, 96 DIO Virtex -5 LX30 200 kS/s
NI PXI-7842R 8 AI, 8 AO, 96 DIO Virtex -5 LX50 200 kS/s
NI PXI-7851R 8 AI, 8 AO, 96 DIO Virtex -5 LX30 750 kS/s
NI PXI-7852R 8 AI, 8 AO, 96 DIO Virtex -5 LX50 750 kS/s
NI PXI-7853R 8 AI, 8 AO, 96 DIO Virtex -5 LX85 750 kS/s
NI PXI-7854R 8 AI, 8 AO, 96 DIO Virtex-5 LX110 750 kS/s
A user-reconfigurable FPGA (Field-Programmable Gate Array) controls the digital I/O lines on the NI 781xR, and the digital and analog I/O lines on the NI 783xR/784xR/785xR. The FPGA on the R Series device allows you to define the functionality and timing of the device. You can change the functionality of the FPGA on the R Series device in LabVIEW using the LabVIEW FPGA Module to create and download a custom virtual
© National Instruments Corporation 1-1 R Series Intelligent DAQ User Manual
Chapter 1 Introduction
instrument (VI) to the FPGA. Using the FPGA Module, you can graphically design the timing and functionality of the R Series device. If you only have LabVIEW but not the FPGA Module, you cannot create new FPGA VIs, but you can create VIs that run on Windows or a LabVIEW Real-Time (RT) target to control existing FPGA VIs.
Some applications require tasks such as real-time, floating-point processing or datalogging while performing I/O and logic on the R Series device. You can use the LabVIEW Real-Time Module to perform these additional applications while communicating with and controlling the R Series device.
The R Series device contains flash memory to store a startup VI for automatic loading of the FPGA when the system is powered on.
The NI 78xxR uses the Real-Time System Integration (RTSI) bus to easily synchronize several measurement functions to a common trigger or timing event. R Series PCI devices access the RTSI bus through a RTSI cable connected between devices. R Series PXI devices access the RTSI bus through the PXI trigger lines implemented on the PXI backplane.
Refer to the NI R Series Intelligent DAQ Specifications, available at
ni.com/manuals, for detailed device specifications.

Using PXI with CompactPCI

Using PXI-compatible products with standard CompactPCI products is an important feature provided by PXI Hardware Specification Revision 2.1 and PXI Software Specification Revision 2.1. If you use a PXI-compatible plug-in card in a standard CompactPCI chassis, you cannot use PXI-specific functions, but you still can use the basic plug-in card functions. For example, the RTSI bus on the R Series device is available in a PXI chassis but not in a CompactPCI chassis.
The CompactPCI specification permits vendors to develop sub-buses that coexist with the basic PCI interface on the CompactPCI bus. Compatible operation is not guaranteed between CompactPCI devices with different sub-buses nor between CompactPCI devices with sub-buses and PXI. The standard implementation for CompactPCI does not include these sub-buses. The R Series device works in any standard CompactPCI chassis adhering to the PICMG CompactPCI 2.0 R3.0 core specification.
R Series Intelligent DAQ User Manual 1-2 ni.com
Chapter 1 Introduction
PXI-specific features are implemented on the J2 connector of the CompactPCI bus. Table 1-2 lists the J2 pins used by the NI PXI-78xxR. The NI 78xxR is compatible with any CompactPCI chassis with a sub-bus that does not drive these lines. Even if the sub-bus is capable of driving these lines, the R Series device is still compatible as long as those pins on the sub-bus are disabled by default and are never enabled.
Caution Damage can result if the J2 lines are driven by the sub-bus.

Table 1-2. Pins Used by the NI PXI-78xxR

NI PXI-78xxR Signal PXI Pin Name PXI J2 Pin Number
PXI Trigger<0..7> PXI Trigger<0..7> A16, A17, A18, B16, B18, C18, E16, E18
PXI Clock 10 MHz PXI Clock 10 MHz E17
PXI Star Trigger PXI Star Trigger D17
LBLSTAR<0..12>
*
LBL<0..12> A1, A19, C1, C19, C20, D1, D2, D15, D19,
E1, E2, E19, E20
LBR<0..12>
*
LBR<0..12> A2, A3, A20, A21, B2, B20, C3, C21,
D3, D21, E3, E15, E21
*
NI PXI-781xR/783xR only

Overview of Reconfigurable I/O

This section explains reconfigurable I/O and describes how to use the LabVIEW FPGA Module to build high-level functions in hardware.
Refer to Chapter 2, Hardware Overview of the NI 78x xR, for descriptions of the I/O resources on the NI 78xxR.

Reconfigurable I/O Concept

R Series Intelligent DAQ devices are based on a reconfigurable FPGA core surrounded by fixed I/O resources for analog and digital input and output. You can configure the behavior of the reconfigurable FPGA to match the requirements of the measurement and control system. You can implement this user-defined behavior as an FPGA VI to create an application-specific I/O device.
© National Instruments Corporation 1-3 R Series Intelligent DAQ User Manual
Chapter 1 Introduction
Flexible Functionality
Flexible functionality allows the NI 78xxR to match individual application requirements and to mimic the functionality of fixed I/O devices. For example, you can configure an R Series device in one application for three 32-bit quadrature encoders and then reconfigure the R Series device in another application for eight 16-bit event counters.
You also can use the R Series device with the LabVIEW Real-Time Module in timing and triggering applications, such as control and hardware-in-the-loop (HIL) simulations. For example, you can configure the R Series device for a single timed loop in one application and then reconfigure the device in another application for four independent timed loops with separate I/O resources.
User-Defined I/O Resources
You can create your own custom measurements using the fixed I/O resources. For example, one application might require an event counter that increments when a rising edge appears on any of three digital input lines. With a multifunction R Series device, another application might require a digital line to be asserted after an analog input exceeds a programmable threshold. You can implement these behaviors in the hardware for fast, deterministic performance.
Device-Embedded Logic and Processing
You can implement LabVIEW logic and processing in the FPGA of the R Series device. Typical logic functions include Boolean operations, comparisons, and basic mathematical operations. You can implement multiple functions efficiently in the same design, operating sequentially or in parallel. You also can implement more complex algorithms such as control loops. You are limited only by the size of the FPGA.
R Series Intelligent DAQ User Manual 1-4 ni.com

Reconfigurable I/O Architecture

Figure 1-1 shows an FPGA connected to fixed I/O resources and a bus interface. The fixed I/O resources include A/D converters (ADCs), D/A converters (DACs), and digital I/O lines.
Chapter 1 Introduction
Fixed I/O Resource
Fixed I/O Resource
FPGA
Bus Interface
Figure 1-1. High-Level FPGA Functional Overview
Fixed I/O Resource
Fixed I/O Resource
Software accesses the R Series device through the bus interface, and the FPGA connects the bus interface and the fixed I/O to make possible timing, triggering, processing, and custom I/O measurements using the LabVIEW FPGA Module.
The FPGA logic provides timing, triggering, processing, and custom I/O measurements. Each fixed I/O resource used by the application uses a small portion of the FPGA logic that controls the fixed I/O resource. The bus interface also uses a small portion of the FPGA logic to provide software access to the device.
The remaining FPGA logic is available for higher-level functions such as timing, triggering, and counting. The functions use varied amounts of logic.
You can place useful applications in the FPGA. How much FPGA space your application requires depends on your need for I/O recovery, I/O, and logic algorithms.
© National Instruments Corporation 1-5 R Series Intelligent DAQ User Manual
Chapter 1 Introduction
The FPGA does not retain the VI when the R Series device is powered off, so you must reload the VI each time you power on the device. You can load the VI from onboard flash memory or from software over the bus interface. One advantage to using flash memory is that the VI can start executing almost immediately after power up, instead of waiting for the computer to completely boot and load the FPGA VI. Refer to the LabVIEW Help for more information about how to store your VI in flash memory.

Reconfigurable I/O Applications

You can use the LabVIEW FPGA Module to create or acquire new VIs for your application. The FPGA Module allows you to define custom functionality for the R Series device using a subset of LabVIEW functionality. Refer to the R Series examples, available in LabVIEW by selecting Help»Find Examples, and then selecting Hardware Input and Output»R Series, for examples of FPGA VIs.

Software Development

You can use LabVIEW with the LabVIEW FPGA Module to program the NI 78xxR. To develop real-time applications that control the NI 78xxR, use LabVIEW with the LabVIEW Real-Time Module.

LabVIEW FPGA Module

The LabVIEW FPGA Module enables you to use LabVIEW to create VIs that run on the FPGA of the R Series target device. Use the FPGA Module VIs and functions to control the I/O, timing, and logic of the R Series device and to generate interrupts for synchronization. Select Help»Search the LabVIEW Help to view the LabVIEW Help. In the LabVIEW Help, use the Contents tab to browse to the FPGA Interface book for more information about the FPGA Interface functions.
You can use Interactive Front Panel Communication to communicate directly with the FPGA VI running on the FPGA target. You can use Programmatic FPGA Interface Communication to programmatically control and communicate with FPGA VIs from host VIs.
Use the FPGA Interface functions when you target LabVIEW for Windows or an RT target to create host VIs that wait for interrupts and control the FPGA by reading and writing the FPGA VI running on the R Series device.
R Series Intelligent DAQ User Manual 1-6 ni.com
Note If you use the R Series device without the FPGA Module, you can use the RIO
Device Setup utility, available by selecting Start»All Programs»National Instruments» NI-RIO»RIO Device Setup to download precomplied FPGA VIs to the flash memory of
the R Series device. This utility installs with NI-RIO. You also can use the utility to configure the analog input mode, to synchronize the clock on the R Series device to the PXI clock (for NI PXI-78xxR only), and to configure when the VI loads from flash memory. For more information about using the RIO Device Setup utility, refer to the
RIO Device Setup Help, found at Start»All Programs»National Instruments»NI-RIO» RIO Device Setup Help.

LabVIEW Real-Time Module

The LabVIEW Real-Time Module extends the LabVIEW development environment to deliver deterministic, real-time performance.
You can write host VIs that run in Windows or on RT targets to communicate with FPGA VIs that run on the NI 78xxR. You can develop real-time VIs with LabVIEW and the LabVIEW Real-Time Module, and then download the VIs to run on a hardware target with a real-time operating system. The LabVIEW Real-Time Module allows you to use the NI 78xxR in RT Series PXI systems being controlled in real time by a VI.
Chapter 1 Introduction
The NI 781xR is designed as a single-point DIO complement to the LabVIEW Real-Time Module. The NI 783xR/784xR/785xR is designed as a single-point AI, AO, and DIO complement to the LabVIEW Real-Time Module. Refer to the LabVIEW Help, available by selecting Help»Search the LabVIEW Help, for more information about the LabVIEW Real-Time Module.
© National Instruments Corporation 1-7 R Series Intelligent DAQ User Manual
Chapter 1 Introduction

Cables and Accessories

National Instruments offers a variety of products you can use with R Series devices, including cables, connector blocks, and other accessories, as shown in Table 1-3.

Table 1-3. R Series Connectivity Options

Cable Connector Accessory Description
SHC68-68-RMIO (NI Recommended)
*
0 NI SCB-68 High-performance shielded cable wired
specifically for signal connection from the RMIO connector
to the NI SCB-68 terminal block to provide higher signal integrity and noise immunity.
SHC68-68-RDIO (NI Recommended)
1, 2 NI SCB-68 High-performance shielded cable wired
specifically for signal connection from the RDIO connector
to the NI SCB-68 terminal block to provide higher signal integrity and noise immunity.
SH68-C68-S 0, 1, 2 NI SCB-68 Basic shielded cable for signal connection
from the RMIO or RDIO connector to the NI SCB-68 terminal block for noise reduction.
CAT 5 Ethernet crossover cable
*
For use with the NI PXI-78xxR running
the LabVIEW Real-Time Module, if the real-time PXI system is not configured on a network. To connect the PXI system to a network port, use a standard CAT 5 10/100Base-T Ethernet cable.
*
NI 783xR/784xR/785xR devices only.
For a diagram of the twisted pairs in the SHC68-68-RMIO and SHC68-68-RDIO cables and the signals to which they
correspond, go to
ni.com/info and enter the info code rdrmio.
Refer to Appendix A, Connecting I/O Signals, for more information about using these cables and accessories to connect I/O signals to the NI 78xxR. Refer to
ni.com/products or contact the sales office nearest
to you for the most current cabling options.
R Series Intelligent DAQ User Manual 1-8 ni.com

Custom Cabling

NI offers a variety of cables for connecting signals to the NI 78xxR. If you need to develop a custom cable, a nonterminated shielded cable is available from NI. The SHC68-NT-S connects to the NI 78xxR VHDCI connectors on one end of the cable. The other end of the cable is not terminated. This cable ships with a wire list identifying the wires that correspond to each NI 78xxR pin. You can use this cable to quickly connect the NI 78xxR signals that you need to the connector of your choice. Refer to Appendix A,
Connecting I/O Signals, for the NI 78xxR connector pinouts.

Safety Information

The following section contains important safety information that you must follow when installing and using the NI 78xxR.
Do not operate the device in a manner not specified in this document. Misuse of the module can result in a hazard. You can compromise the safety protection built into the device if the module is damaged in any way. If the device is damaged, return it to NI for repair.
Chapter 1 Introduction
Do not substitute parts or modify the device except as described in this document. Use the device only with the chassis, modules, accessories, and cables specified in the installation instructions. You must have all covers and filler panels installed during operation of the device.
Do not operate the device in an explosive atmosphere or where there may be flammable gases or fumes. If you must operate the device in such an environment, it must be in a suitably rated enclosure.
If you need to clean the device, use a soft, nonmetallic brush. Make sure that the device is completely dry and free from contaminants before returning it to service.
Operate the device only at or below Pollution Degree 2. Pollution is foreign matter in a solid, liquid, or gaseous state that can reduce dielectric strength or surface resistivity. The following is a description of pollution degrees:
Pollution Degree 1 means no pollution or only dry, nonconductive pollution occurs. The pollution has no influence.
Pollution Degree 2 means that only nonconductive pollution occurs in most cases. Occasionally, however, a temporary conductivity caused by condensation must be expected.
© National Instruments Corporation 1-9 R Series Intelligent DAQ User Manual
Chapter 1 Introduction
Pollution Degree 3 means that conductive pollution occurs, or dry, nonconductive pollution occurs that becomes conductive due to condensation.
You must insulate signal connections for the maximum voltage for which the device is rated. Do not exceed the maximum ratings for the device. Do not install wiring while the device is live with electrical signals. Do not remove or add connector blocks when power is connected to the system. Avoid contact between your body and the connector block signal when hot swapping modules. Remove power from signal lines before connecting them to or disconnecting them from the device.
Operate the device at or below the measurement category hardware label. Measurement circuits are subjected to working voltages
1
marked on the
2
and transient stresses (overvoltage) from the circuit to which they are connected during measurement or test. Installation categories establish standard impulse withstand voltage levels that commonly occur in electrical distribution systems. The following is a description of installation categories:
Measurement Category I is for measurements performed on circuits not directly connected to the electrical distribution system referred to as MAINS
3
voltage. This category is for measurements of voltages from specially protected secondary circuits. Such voltage measurements include signal levels, special equipment, limited-energy parts of equipment, circuits powered by regulated low-voltage sources, and electronics.
Measurement Category II is for measurements performed on circuits directly connected to the electrical distribution system. This category refers to local-level electrical distribution, such as that provided by a standard wall outlet (for example, 115 AC voltage for U.S. or 230 AC voltage for Europe). Examples of Measurement Category II are measurements performed on household appliances, portable tools, and similar modules.
1
Measurement categories, also referred to as installation categories, are defined in electrical safety standard IEC 61010-1.
2
Working voltage is the highest rms value of an AC or DC voltage that can occur across any particular insulation.
3
MAINS is defined as a hazardous live electrical supply system that powers equipment. Suitably rated measuring circuits may be connected to the MAINS for measuring purposes.
R Series Intelligent DAQ User Manual 1-10 ni.com
Chapter 1 Introduction
Measurement Category III is for measurements performed in the building installation at the distribution level. This category refers to measurements on hard-wired equipment such as equipment in fixed installations, distribution boards, and circuit breakers. Other examples are wiring, including cables, bus bars, junction boxes, switches, socket outlets in the fixed installation, and stationary motors with permanent connections to fixed installations.
Measurement Category IV is for measurements performed at the primary electrical supply installation (<1,000 V). Examples include electricity meters and measurements on primary overcurrent protection devices and on ripple control units.
© National Instruments Corporation 1-11 R Series Intelligent DAQ User Manual
Hardware Overview of the NI 78xxR
This chapter presents an overview of the hardware functions and I/O connectors on the NI 78xxR.
Figure 2-1 shows a block diagram for the NI 781xR. Figure 2-2 shows a block diagram for the NI 7830R. Figure 2-3 shows a block diagram for the NI 7831R/7833R/784xR/785xR.
2
Digital I/O (40)
Connector 0 (DIO) Connector 1 (DIO) Connector 2 (DIO) Connector 3 (DIO)
Digital I/O (40)
Digital I/O (40)
Digital I/O (40)
User-Configurable
FPGA on
RIO Devices
Configuration Control
Configuration
Data/Address/Control
PXI Local Bus (NI PXI-781x R Only)
RTSI Bus
Flash Memory
Bus
Interface
Control
Address/Data
PCI/PXI/CompactPCI Bus
RTSI/PXI Triggers

Figure 2-1. NI 781xR Block Diagram

© National Instruments Corporation 2-1 R Series Intelligent DAQ User Manual
Chapter 2 Hardware Overview of the NI 78xxR
Input Mode Mux
AISENSE AIGND
Calibration
Connector 0 (MIO)
Connector 1 (DIO)
AI+
AI–
Mux
Input Mux
Voltage
Reference
16-Bit
DAC
Digital I/O (16)
Digital I/O (40)
+
Instrumentation Ampliflier
x4 Channels
Temperature
Sensor
2
Calibration
DACs
x4 Channels
Calibration
DACs
16-Bit
ADC
Configuration
Control
Configuration
User-
Configurable
FPGA on RIO
Data/Address/
Control
Devices

Figure 2-2. NI 7830R Block Diagram

Flash
Memory
Bus
Interface
PXI Local Bus (NI PXI-7830R only)
RTSI Bus
Control
Address/Data
PCI/PXI/CompactPCI Bus
RTSI/PXI Triggers
R Series Intelligent DAQ User Manual 2-2 ni.com
Loading...
+ 51 hidden pages