C Support for NI myRIO

Publish Date: Sep 25, 2017 | 2 Ratings | 3.00 out of 5 | Print | 1 Customer Review | Submit your review

Overview

NI myRIO is an embedded hardware device designed specifically to help students design real, complex engineering systems more quickly and affordably than ever before. NI myRIO is based on NI reconfigurable I/O (RIO) technology, which gives you the ability to program both a processor running a real-time OS and a customizable FPGA. In addition to NI LabVIEW software, the NI myRIO processor is fully programmable in C or C++ using the default shipping personality placed on the FPGA. You can only customize the FPGA using the LabVIEW FPGA Module. Follow the steps below to start programming the NI myRIO processor in C.
  1. Install the C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition 2017.
  2. Download and install the LabVIEW myRIO Toolkit. This toolkit provides you with the necessary drivers to use NI myRIO as well as some software utilities, which offer useful information about your device.
  3. Download the NI myRIO C Examples and Documentation. The NI myRIO C examples are written in C. However, C++ is also supported if you use the tools provided in Step 1.
  4. Connect power to the NI myRIO device.
  5. Connect the USB cable from NI myRIO to your development computer.
  6. The NI myRIO USB Monitor appears and displays the IP address of the NI myRIO device.

  1. Click Launch the Getting Started Wizard.

      
The Getting Started with NI myRIO Wizard installs software on a new NI myRIO device. Click through the prompts in the wizard to install software.

  1. After software is installed on NI myRIO, use the documentation you downloaded in Step 3 to start using the Eclipse environment to program the NI myRIO processor in C.

Next Steps

Learn more about myRIO

Back to Top

Customer Reviews
1 Review | Submit your review

Link to C code examples is broken  - Sep 5, 2014

Very interested to see more details of how this is achieved but can't download the code examples

Bookmark & Share


Ratings

Rate this document

Answered Your Question?
Yes No

Submit