Example Code

Continuously Plot Data to XY Graph

Code and Documents

Attachment

Overview

This VI is a simple example on how to plot data continuously on an XY Graph and make it behave as an XY chart with uncontrollable size. 

 

 

Description

This VI demonstrates how to use arrays to add data points to an array and then have XY plot update continuously with the values from the array. To use XY Chart with controllable history length, check XY Chart in Example Finder

 

 

Requirements

LabVIEW 2012 (or compatible)

 

 

Steps to Implement or Execute Code

Open and run the VI "XY Continuous Plot_LV2012_NI Verified"

 

 

Additional Information or References

BD.PNG

 

FP.PNG

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

 

Aaron W.
National Instruments
CLA, CTA and CPI

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
jtang343
Member
Member
on

Thanks! This helped me a lot!

coolsush
Member
Member
on

Please suggest how to data log the x y graph data points with respect to the time.

try_guy90
Member
Member
on

Use a waveform chart