Tag: waveform chart

1 articles found.

Display Serial Data on Real Time Graph in Labview

Three serial data channels displayed on LabVIEW plots, LabVIEW charts, serial sensor data, three-channel plotting

Hello friends! In this tutorial, we will display serial data on live plots in LabVIEW. In the previous lesson, we received comma-separated records from a COM port and converted them into a numeric array. We will now take the three values in that array and display each channel as a changing trace. If you have not built the serial reader yet, start with getting continuous data from a COM port in LabVIEW. The plotting stage assumes that a complete record has been received and validated. A graph cannot correct an incomplete message or determine which sensor a badly parsed number belongs to. We will preserve the original three-channel example and screenshots, then explain the differences between charts and graphs, how to label the time axis honestly, and how to keep the display responsive. Here, real-time means a display that updates as measurements arrive; a desktop serial VI does not provide a deterministic real-time execution guarantee. The original reader displays the incoming text in Response and its separated numeric values in Data 1D. For example, the complete line 120,221,312 produces a numeric array containing three elements. Array index 0 is 120, index 1 is 221 and index 2 is 312. Keep that raw-text display while adding the plots. It is a useful debugging reference: you can compare what arrived with what was parsed and finally with what was plotted. Hiding the raw input too early makes a graphing problem and a communication problem look unnecessarily similar. Require ...