From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Implementing a Custom Digital Interface with R Series Multifunction RIO

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW
  • LabVIEW FPGA Module

    Other

  • R Series Multifunction RIO

Code and Documents

Attachment

Description

This is an example of how to implement a custom digital interface with LabVIEW FPGA and the attached files can be used as a starting point for implementing any serial protocol on Intelligent DAQ hardware.

 

How to Use

For a detailed explanation of the LabVIEW project and block diagrams, please see PDF below - Implementing a Custom Digital Interface with R Series Multifunction RIO.pdf

 

Additional Information

Requirements

Software

  • LabVIEW Full/Professional Development System 8.0 or later
  • LabVIEW FPGA Module 8.0 or later

Hardware

  • R Series Multifunction RIO

Background

Custom or proprietary digital protocols are commonly used in today's world for device or sub-system communication in everything from Aerospace to Consumer Electronics. While this often ensures hardware-timed speed and reliability, it also requires a custom digital interface to prototype and test these devices, which can involve the high development costs of custom hardware. The integrated I/O on FPGA-based Intelligent DAQ devices allows you to leverage off-the-shelf hardware to implement almost any custom digital protocol for design, control, and test applications. The LabVIEW FPGA module eliminates the need for hardware design experience by compiling graphical block diagrams into routines that execute in silicon.

 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors