Archived:Develop a LabVIEW NXG Application for a Real-Time Target

Updated Feb 1, 2024

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In


  • CompactRIO Controller



Issue Details

I want to communicate with my Real-Time target with LabVIEW NXG:
  • I have a Real-Time device running an application developed in LabVIEW, but I would like to use LabVIEW NXG to develop a user interface to take advantage of its UI features. Is there a way I can communicate with a Real-Time device using LabVIEW NXG?
  • I installed LabVIEW NXG 4.0 or previous and the NI-RIO driver to be able to communicate with my cRIO (I can see the cRIO in NI MAX), but I'm not able to target my cRIO. Is there something I might be missing?



NI CompactRIO 20.0 driver introduced support for select CompactRIOs in LabVIEW NXG 5.0. Use the following resources to check compatibility for hardware and software:  

LabVIEW NXG 4.0 and Previous

LabVIEW NXG 4.0 and older does not support the NI-RIO or NI CompactRIO driver. This driver is necessary in order to communicate with cRIO devices.
Information on supported drivers for LabVIEW NXG can be found in Supported Hardware and Drivers.

Additional Information

If you are looking to use a WebVI, it is important to note that LabVIEW NXG WebVIs have significantly different functionality from standard VIs. You will not be able to access and display data directly from a network shared variable with a WebVI. You will need to use other data communication methods such as using an HTTP requests, SystemLink data services, or JavaScript to access externally hosted information.