Can I use myDAQ code on myRIO?

Updated Jan 9, 2018

Reported In

Hardware

  • myRIO-1900
  • myRIO-1950

Driver

  • NI-DAQmx

Issue Details

I developed an application for myDAQ - can I use the same code on myRIO?

Solution

By using the LabVIEW platform, programmers can develop applications on myDAQ and myRIO in the same way using the same approach, however, there are scenarios where differing hardware platforms (such as myDAQ and myRIO) cannot use the same code.

For example, the myDAQ platform utilizes our NI-DAQmx API to abstract low-level data acquisition functions which enables programmers to quickly set up tasks. Our myRIO platform contains a programmable FPGA which utilizes I/O Variables and FPGA functions to perform data acquisition. Since the approaches of data acquisition are different on the myDAQ and myRIO platform, myDAQ code which utilizes NI-DAQmx functions will not be able to execute on the myRIO platform.

Although the NI-DAQmx is not available for the myRIO, Data Acquisition is very easy as described in the tutorial Getting Started With LabVIEW FPGA.

WAS THIS ARTICLE HELPFUL?

Not Helpful