Table of Contents
- What are the new R Series devices?
- How do the new R Series modules compare to previous-generation R Series devices?
- How many gates are there in the new Virtex-5 FPGAs?
- How do I decide which FPGA is right for my application?
- Will my Virtex-II program work on a Virtex-5?
- What are the benefits of Virtex-5 FPGAs?
- Do I need to know VHDL to use LabVIEW FPGA?
- Do I need the LabVIEW FPGA Module to program R Series devices?
- How is R Series different from other data acquisition families?
- Can I program R Series devices with NI-DAQmx, NI-DAQmx Base, or the NI Measurement Hardware DDK?
- What are the R Series onboard processing capabilities?
- Can I achieve simultaneous analog input/output with an R Series device?
- Can I use CompactRIO I/O modules with R Series to provide industrial I/O, isolation, and signal conditioning?
- What are some other LabVIEW FPGA capabilities?
What are the new R Series devices?
Figure 1. New R Series Intelligent DAQ Modules with Faster I/O and Virtex-5 FPGAs
The new R Series intelligent data acquisition (DAQ) modules (some of which are shown in Figure 1) are the NI PXI-7841R, PXI-7842R, PXI-7851R, PXI-7852R, PXI-7853R, and PXI-7854R. Table 1 lists the features of these new modules such as 750 kS/s simultaneous analog input rates, 1 MS/s simultaneous analog output rates, and new high-performance Virtex-5 field-programmable gate array (FPGA) chips. Each of the six new R Series DAQ and control modules is configurable with the NI LabVIEW FPGA Module.
|
Product |
Bus/Form Factor |
FPGA |
16-Bit Analog Inputs |
Max Sampling Rate per Channel |
16-Bit Analog Outputs |
Max Update Rate per Channel |
Digital I/O |
|
R Series Multifunction Devices |
|||||||
|
NI 7854R NEW! |
PXI |
Virtex-5 LX110 |
8 |
750 kS/s |
8 |
1 MS/s |
96 |
|
NI 7853R NEW! |
PXI |
Virtex-5 LX85 |
8 |
750 kS/s |
8 |
1 MS/s |
96 |
|
NI 7852R NEW! |
PXI |
Virtex-5 LX50 |
8 |
750 kS/s |
8 |
1 MS/s |
96 |
|
NI 7851R NEW! |
PXI |
Virtex-5 LX30 |
8 |
750 kS/s |
8 |
1 MS/s |
96 |
|
NI 7842R NEW! |
PXI |
Virtex-5 LX50 |
8 |
200 kS/s |
8 |
1 MS/s |
96 |
|
NI 7841R NEW! |
PXI |
Virtex-5 LX30 |
8 |
200 kS/s |
8 |
1 MS/s |
96 |
|
PCI, PXI |
Virtex-II 3M Gate |
8 |
200 kS/s |
8 |
1 MS/s |
96 |
|
|
PCI, PXI |
Virtex-II 1M Gate |
8 |
200 kS/s |
8 |
1 MS/s |
96 |
|
|
PCI, PXI |
Virtex-II 1M Gate |
4 |
200 kS/s |
4 |
1 MS/s |
56 |
|
|
Digital R Series Devices |
|||||||
|
PCI, PXI |
Virtex-II 3M Gate |
- |
- |
- |
- |
160 |
|
|
PCI, PXI |
Virtex-II 1M Gate |
- |
- |
- |
- |
160 |
|
Table 1. R Series Intelligent Data Acquisition and Control Devices
These intelligent DAQ devices feature user-defined onboard processing as well as complete I/O timing and triggering flexibility. You can configure all device functionality by creating LabVIEW block diagrams with the LabVIEW FPGA Module. Your block diagram executes in hardware, giving you direct, immediate control over all I/O signals on the PXI or PCI device. With R Series and LabVIEW FPGA, you can configure user-defined hardware for a wide variety of applications requiring precise timing and control such as:
- Data acquisition with onboard processing
- High-speed analog and discrete control loops
- Pulse-width modulation (PWM) and encoder interfacing
- User-defined digital communication protocols
- Custom counters with up to 64-bit resolution
- Hardware-timed decision making at 40 MHz
Learn more about R Series devices.
How do the new R Series modules compare to previous-generation R Series devices?
The new R Series modules are equipped with high-performance Virtex-5 FPGAs, which deliver improved optimization capabilities that provide faster code execution and more LabVIEW code capacity than previous-generation R Series devices. Virtex-5 FPGAs feature a new six-input lookup table (LUT) architecture for substantially improved resource utilization as well as digital signal processing (DSP) slices that make it possible for you to implement more complex DSP at faster rates. The new Virtex-5 LX30 FPGA is approximately twice the size of a Virtex-II 1M gate FPGA, and the new Virtex-5 LX50 FPGA is slightly larger than a Virtex-II 3M gate FPGA.
In addition, the new PXI-785xR modules can sample up to 750 kS/s on all eight analog input channels with 16-bit resolution. Proportional integral derivative (PID) control loops can run more than 3.5 times faster than previous-generation R Series hardware, and, with FPGA-based parallel execution, multiple control loops do not have to compete for processor bandwidth. Faster analog input rates also improve analog triggering precision and frequency measurement capabilities.
The new R Series modules require NI-RIO Version 3.0 or later driver software. If you have an earlier version of NI-RIO, upgrade to the latest version for free.
How many gates are there in the new Virtex-5 FPGAs?
The number of gates has traditionally been a way to compare FPGA chips to ASIC technology, but it does not truly describe the number of individual components inside an FPGA. This is one of the reasons why Xilinx did not specify the number of gates for the new Virtex-5 family. LabVIEW FPGA benchmarks have shown that the new Virtex-5 LX30 FPGA is approximately twice the size of a Virtex-II 1M gate FPGA, and the new Virtex-5 LX50 FPGA is slightly larger than a Virtex-II 3M gate FPGA. The Virtex-5 LX85 and Virtex-5 LX110 FPGAs are even larger.
How do I decide which FPGA is right for my application?
Unfortunately, it is difficult to determine whether an application or program will require a larger or smaller FPGA. The LabVIEW FPGA Module and NI-RIO driver give you the ability to compile block diagrams without having any hardware at all, so the best way to see how many resources you need is to try it out.
You can use the following as a general guideline when deciding which FPGA works for your application: For an application that performs basic timing, triggering, and synchronization on the FPGA, you can use a smaller FPGA. If the application includes timing, triggering, and synchronization along with additional signal processing on the FPGA (control, digital filtering, complex analog triggering), you need a larger FPGA that has more resources to implement those operations.
Learn more about how FPGAs work at a lower level from the FPGAs - Under the Hood white paper.
Will my Virtex-II program work on a Virtex-5?
In general, a program compiled for a Virtex-II 1M gate FPGA should also compile for a Virtex-5 LX30 or larger, and a program compiled for a Virtex-II 3M gate FPGA should also compile for a Virtex-5 LX50 or larger. Due to architectural differences between the two FPGA families, there are no guarantees, and the only way to see if a program will migrate between families is to try it out.
With the LabVIEW FPGA Module and NI-RIO driver, you can compile block diagrams without having any hardware at all. To add support for the new Virtex-5 R Series targets, simply upgrade to the latest version of NI-RIO for free.
What are the benefits of Virtex-5 FPGAs?
Figure 2. NI PXI-7852R with Virtex-5 FPGA Chip Circled in Red
The Virtex-5 FPGA architecture is optimized to execute faster and more efficiently using single-cycle timed loops in the LabVIEW FPGA Module. The fundamental building blocks for implementing digital logic inside FPGA chips are called slices, and each slice is composed of flip-flops and LUTs. Previous-generation Virtex-II FPGAs use four-input LUTs for up to 16 combinations of digital logic values. The new Virtex-5 FPGAs use six-input LUTs for up to 64 combinations, increasing the amount of logic that you can implement per slice. In addition, the slices themselves are placed in closer proximity to each other to reduce the propagation delay of electrons and increase overall execution rates. This means that for LabVIEW FPGA applications, the single-cycle timed loop structure takes advantage of six-input LUTs for substantially improved resource utilization. You can now optimize more LabVIEW FPGA code to fit within Virtex-5 FPGAs and perform more operations per clock cycle.
For example benchmarks that compare the size and speed of new Virtex-5 LabVIEW FPGA targets, see LabVIEW FPGA Benchmarks for Virtex-5 R Series Targets.
Do I need to know VHDL to use LabVIEW FPGA?
No. Using the LabVIEW FPGA Module, you can synthesize graphical code directly from LabVIEW to the FPGA on R Series devices. While knowing how LabVIEW compiles the graphical block diagram to VHDL can help you pinpoint optimization trade-offs, you do not need to understand FPGAs or VHDL to use LabVIEW. LabVIEW is ideal for engineers who need the hardware customization that FPGA technology offers but do not know or understand low-level hardware description languages such as VHDL or Verilog.
Learn more about the NI LabVIEW FPGA Module.
Do I need the LabVIEW FPGA Module to program R Series devices?
Yes, you must use the LabVIEW FPGA Module to program R Series devices. However, if you have existing VHDL IP cores or other VHDL code you wish to use, you can integrate VHDL into a LabVIEW block diagram using the HDL Interface Node.
Read this application note to learn how to integrate VHDL into a LabVIEW block diagram.
How is R Series different from other data acquisition families?
Instead of a fixed ASIC for controlling device functionality, R Series DAQ offers a user-programmable FPGA chip for onboard processing and flexible I/O operation. Multifunction R Series intelligent DAQ devices feature a dedicated analog-to-digital converter per channel for independent timing and triggering. This offers specialized functionality such as multirate sampling and individual channel triggering, which are beyond the capabilities of typical data acquisition hardware. You can define the hardware-timed digital I/O on R Series devices as counters, PWM channels, flexible encoders, or lines for digital communication protocols.
Can I program R Series devices with NI-DAQmx, NI-DAQmx Base, or the NI Measurement Hardware DDK?
All R Series intelligent DAQ devices useNI-RIO driver software; they are not compatible with NI-DAQmx or NI-DAQmx Base. There is support, however, within theNI Measurement Hardware DDK (NI MHDDK) for custom driver development through register-level programming. Once you have compiled and downloaded a LabVIEW FPGA application to an R Series target, the NI MHDDK provides documentation for the host application to interface with registers on the FPGA across the PCI or PXI bus.
What are the R Series onboard processing capabilities?
The LabVIEW FPGA Module includes a signal processing palette with numerous functions such as:
- PID control
- Butterworth filters (highpass and lowpass)
- Notch filters
- Analog period measurement
- DC and RMS measurement
You can easily implement functionality such as digital debounce filters and watchdog timers in LabVIEW, and you can find many more functions and examples on the LabVIEW FPGA IPNet.
Can I achieve simultaneous analog input/output with an R Series device?
Yes. All multifunction R Series devices have dedicated analog-to-digital converters and digital-to-analog converters on every analog input/output channel, making it possible to sample/update all channels simultaneously or at different rates. With independent analog-to-digital converters, you can sample every channel on the device at the maximum rate (up to 750 kS/s). You can program the independent digital-to-analog converters to update analog output channels at rates up to 1 MS/s.
The LabVIEW FPGA block diagram in Figure 3 shows how easy it is to implement simultaneous analog input/output on R Series FPGAs. By using a LabVIEW FPGA Analog Input I/O Node that is reading from all eight channels of the PXI-7854R module in the same while loop, the program samples from all eight channels at 750 kS/s simultaneously. The lower loop running in parallel uses the LabVIEW FPGA Analog Output I/O Node and updates all eight analog output channels at 1 MS/s.

Figure 3. Simultaneous Analog Input/Output with R Series and LabVIEW FPGA
Can I use CompactRIO I/O modules with R Series to provide industrial I/O, isolation, and signal conditioning?
Yes. Using the NI 9151 R Series expansion chassis for CompactRIO (shown in Figure 4), you can house up to four CompactRIO I/O modules per expansion chassis for high-performance, industrial signal conditioning. The NI 9151 connects directly to the digital connector on PXI and PCI R Series data acquisition devices. You can choose from several I/O modules including 24 V industrial digital I/O with up to 32 channels per module, which is ideal for creating industrial counter/timers, electromechanical relays, ±80 mV thermocouple inputs, ±5 V IEPE accelerometer analog inputs, and simultaneous voltage and current analog outputs.

Figure 4. NI 9151 R Series Expansion Chassis for CompactRIO
Learn more about the NI 9151 R Series expansion chassis for CompactRIO.
What are some other LabVIEW FPGA capabilities?
LabVIEW FPGA can meet a myriad of unique application challenges that often require custom hardware. Below is a short list of the tasks you can implement using LabVIEW FPGA and R Series:
- Signal processing functions such as filters and fast Fourier transforms (FFTs)
- Digital communication protocols
- High-speed analog and discrete control loops
- Custom motion control
- Analog and digital signal generation
Visit LabVIEW FPGA IPNet for an extensive list of LabVIEW FPGA functions and examples.
Reader Comments | Submit a comment »
Yes, it is possible to compile your VI in
LabVIEW FPGA for different hardware targets
without the hardware itself. This is a great
way to determine which FPGA is right for your
application. LabVIEW FPGA also allows you to
run your VI with simulated data as well.
- Chris Delvizis, National Instruments. chris.delvizis@ni.com - Mar 4, 2009
Is it possible to compile the vi in LabVIEW
FPGA without a R-series card, in order to
find out the hardware resources necessary to
implement it ?
If this is possible, then we can base our
choice of FPGA on a far more reliable ground
than mere speculation.
- Wrichik Basu, General Electric Company. wrichik.basu@ge.com - Jan 5, 2009
RE: NI Measurement Hardware DDK
Good question. A section was added that
discusses software support for R Series
devices labeled "Can I program R Series
devices with NI-DAQmx, NI-DAQmx Base or the
NI Measurement Hardware DDK?"
- Mike L, National Instruments. - Feb 28, 2008
NI Measurement Hardware DDK
This page doesn't say what software
works with the R-series devices. Does
NI-DAQmx 8.3 work? How about base
DAQmx? How about the NI
Measurement Hardware DDK?
- Feb 5, 2007
Out of date
- Mar 20, 2006
Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
