Streaming Data to a Webpage from a Real Time Target

Updated Feb 1, 2024

Reported In

Software

  • LabVIEW

Operating System

  • NI Linux Real-Time

Issue Details

I would like to stream data from my real time target to a webpage so it can be viewed on phones or tablets that don't have LabVIEW installed, or don't have Internet Explorer.

Solution

While this is possible, it takes up a lot of resources. For myRIO's and sbRIO's, this isn't possible because it will take up too much of the CPU power and way too much memory to do this even at a slow rate. The solution to this is to integrate a javascript with NI's LabVIEW webservices. A tutorial and example of this is posted here and here .

If this method doesn't work, there are some other methods to consider:
  1. Websockets
  2. SystemLink
  3. Publish VI to Webpage
  4. G Web Development Software