NI R Series Multifunction RIO Frequently Asked Questions (FAQ)

Publish Date: Oct 17, 2013 | 23 Ratings | 3.96 out of 5 |  PDF

Table of Contents

  1. What is RIO technology?
  2. What are the new R Series devices?
  3. How do the new R Series devices compare with previous-generation R Series devices?
  4. How much larger are Kintex-7 FPGAs over Virtex-5?
  5. How do I decide which FPGA is right for my application?
  6. Will my Virtex-II program work on a Virtex-5 or Kintex-7?
  7. Do I need to know VHDL to use LabVIEW FPGA?
  8. Do I need the LabVIEW FPGA Module to program R Series devices?
  9. Can I program my R Series device in C/C++?
  10. How is R Series different from other data acquisition families?
  11. Can I program R Series devices with NI-DAQmx, NI-DAQmx Base, or the NI Measurement Hardware DDK?
  12. What are the R Series onboard processing capabilities?
  13. Can I achieve simultaneous analog input/output with an R Series device?
  14. Additional Resources

1. What is RIO technology?

With National Instruments reconfigurable I/O (RIO) technology, you can define your own custom measurement hardware circuitry using reconfigurable FPGA chips and NI LabVIEW graphical development tools. R Series multifunction RIO devices offer the best combination of value and performance by integrating this FPGA technology with eight analog inputs, eight analog outputs, and up to 96 digital I/O lines into a single device that is offered on standard PC form factors such as PCI, PCI Express, PXI/CompactPCI, and USB. Using the LabVIEW FPGA Module, you can create your own hardware personalities for custom data acquisition, high-speed control, digital communications protocols, sensor simulation, and onboard signal processing without in-depth knowledge of hardware description languages.

Figure 1. R Series devices are offered on standard PC form factors such as PCI, PCI Express, PXI/CompactPCI, and USB.

 

Back to Top

2. What are the new R Series devices?

The new R Series devices are the NI USB-7855R, NI USB-7856R, NI USB-7855R OEM, and NI USB-7856R OEM. Table 1 lists the features of these new devices such as 1 MS/s simultaneous analog input rates, 1 MS/s simultaneous analog output rates, and new high-performance Kintex-7 FPGA chips. You can configure each of the new R Series devices using the 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 RIO Devices

NI 7856R NEW!

USB

Kintex-7 160T

8

1 MS/s

8

1 MS/s

48

NI 7856R OEM NEW!

USB

Kintex-7 70T

8

1 MS/s

8

1 MS/s

48

NI 7855R NEW!

USB

Kintex-7 160T

8

1 MS/s

8

1 MS/s

48

NI 7855R OEM NEW!

USB

Kintex-7 70T

8

1 MS/s

8

1 MS/s

48

NI 7854R

PXI

Virtex-5 LX110

8

750 kS/s

8

1 MS/s

96

NI 7853R

PXI

Virtex-5 LX85

8

750 kS/s

8

1 MS/s

96

NI 7852R

PCI Express, PXI

Virtex-5 LX50

8

750 kS/s

8

1 MS/s

96

NI 7851R

PCI Express, PXI

Virtex-5 LX30

8

750 kS/s

8

1 MS/s

96

NI 7842R

PCI Express, PXI

Virtex-5 LX50

8

200 kS/s

8

1 MS/s

96

NI 7841R

PCI Express, PXI

Virtex-5 LX30

8

200 kS/s

8

1 MS/s

96

R Series Digital RIO Devices

NI 7813R

PCI, PXI

Virtex-II 3M Gate

-

-

-

-

160

NI 7811R

PCI, PXI

Virtex-II 1M Gate

-

-

-

-

160

Table 1. Multifunction and Digital R Series Devices

To learn more about these new R Series devices, see the white paper titled NI R Series for USB—Augment Your PC With Programmable FPGAs.

 

Back to Top

3. How do the new R Series devices compare with previous-generation R Series devices?

The new R Series devices are equipped with high-performance Kintex-7 FPGAs, which offer improved optimization capabilities to achieve faster code execution and more LabVIEW code capacity than previous-generation R Series devices. The new Kintex-7 FPGAs are ideally suited for USB R Series devices. This device family has the capacity and performance of previous-generation high-end FPGAs but at half the power. The impressive reduction in power has resulted in the ability to pack up to 10 times the digital signal processing (DSP) capability per device as the previous generation of R Series devices. With this increase in logic and DSP resources, you can implement more complex algorithms with more extensive use of signal processing and real-time analysis and address the growing I/O data rates and complexity of today’s applications. To learn more about Kintex-7 FPGAs, see [Advantages of Xilinx 7 Series FPGA Modules].

In addition, the new NI USB-785xR devices can sample up to 1 M/s on all eight analog input channels with 16-bit resolution and selectable gain resolution of ±10 V, ±5 V, ±2 V, and ±1 V. 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 NI USB-785xR devices also natively support fixed-point I/O, which allows you to work directly with engineering units in the FPGA.

Finally, the new R Series devices feature faster digital I/O channels that can toggle at speeds up to 80 MHz.  Furthermore, you can select the voltage levels of the digital I/O lines directly from LabVIEW FPGA. The available logic levels are 3.3 V, 2.5 V, 1.8 V, 1.5 V, and 1.2 V.

 

Back to Top

4. How much larger are Kintex-7 FPGAs over Virtex-5?

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 has moved away from specifying the number of gates in an FPGA. Instead, they compare on a few different components including flip-flops, look-up tables (LUTs), DSP slices, and available block RAM. See Table 2 for a comparison of the FPGAs available on different R Series devices.

R Series Device

FPGA

Flip-Flops

6-Input LUTs

DSP48 Slices

Embedded Block RAM (kbit)

PXI/NI PCIe-7841R

PXI/NI PCIe-7851R

Virtex-5 LX30

19,200

19,200

32

1,152

PXI/NI PCIe-7842R

PXI/NI PCIe-7852R

Virtex-5 LX50

28,800

28,800

48

1,728

PXI-7853R

Virtex-5 LX85

51,840

51,840

48

3,456

PXI-7854R

Virtex-5 LX110

69,120

69,120

64

4,608

USB-7855R1

Kintex-7 70T

82,000

41,000

240

4,860

USB-7856R1

Kintex-7 160T

202,800

101,400

600

11,700

1Includes packaged and board-only variants

Table 2. R Series FPGA Comparison

 

Back to Top

5. 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.

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.

 

Back to Top

6. Will my Virtex-II program work on a Virtex-5 or Kintex-7?

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 migrates between families is to try it with the LabVIEW FPGA Module and NI-RIO driver, you can compile block diagrams without having any hardware at all.

 

Back to Top

7. 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 who do not know or understand low-level hardware description languages such as VHDL or Verilog.

 

Back to Top

8. 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.

 

Back to Top

9. Can I program my R Series device in C/C++?

With the FPGA-Interface C API, you can program the real-time processor on NI FPGA-based hardware using C tools such as NI LabWindows™/CVI and Microsoft Visual Studio, and interface to the LabVIEW FPGA code running on the FPGA. In other words, the code running on your host machine can be written in C/C++ or LabVIEW, while the code actually deployed to the FPGA must be written in LabVIEW FPGA.

Learn more about the FPGA-Interface C API.

 

Back to Top

10. How is R Series different from other data acquisition families?

Instead of a fixed ASIC for controlling device functionality, R Series data acquisition (DAQ) offers a user-programmable FPGA chip for onboard processing and flexible I/O operation. R Series devices feature a dedicated analog-to-digital converter (ADC) 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.

 

Back to Top

11. Can I program R Series devices with NI-DAQmx, NI-DAQmx Base, or the NI Measurement Hardware DDK?

All R Series multifunction RIO devices use NI-RIO driver software; they are not compatible with NI-DAQmx or NI-DAQmx Base. There is support, however, within the NI Measurement Hardware DDK (Driver Development Kit) 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 Measurement Hardware DDK provides documentation for the host application to interface with registers on the FPGA.

 

Back to Top

12. 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.

 

Back to Top

13. Can I achieve simultaneous analog input/output with an R Series device?

Yes. All R Series multifunction devices have dedicated ADCs and digital-to-analog converters (DACs) on every analog input/output channel, making it possible to sample/update all channels simultaneously or at different rates. With independent ADCs, you can sample every channel on the device at the maximum rate (up to 1 MS/s). You can program the independent DACs to update analog output channels at rates up to 1 MS/s.

The LabVIEW FPGA block diagram in Figure 2 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 R Series device in the same While Loop, the program samples from all eight channels 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 2. Simultaneous Analog Input/Output With R Series and LabVIEW FPGA

 

Back to Top

14. Additional Resources

 

Back to Top

Bookmark & Share


Ratings

Rate this document

Answered Your Question?
Yes No

Submit