Comunicating LabVIEW NXG with a Real-Time Device

Updated May 3, 2018

Reported In

Software

  • LabVIEW NXG

Issue Details

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 communicate with a Real-Time device using LabVIEW NXG?

Solution

While as of LabVIEW NXG 2.0, LabVIEW NXG does not currently allow Real-Time application development, you can communicate with a previously developed Real-Time applications that use Shared Variables, Network Streams, TCP or UDP to transmit and/or receive data, just the same way you would do it in LabVIEW.

Please refer to the Related Links section for information about the functions used to perform Shared Variable, Network Stream, TCP and UDP communication in LabVIEW NXG.

Additional Information

Notice that in order to use any of the methods mentioned in this article, you need to know the IP of any Real-Time device you want to connect with. If your project involves programmatic retrieval of the Real-Time device's IP Address, you will either need to develop the project in LabVIEW, or call a LabVIEW VI or Executable that retrieves the information and shares it with LabVIEW NXG.

WAS THIS ARTICLE HELPFUL?

Not Helpful