09-06-2012 07:15 AM
hi,I have used XY graph to plot a Curve.But i have problem with updating the new points.I will take a data in every 10s and plot it in graph.But if the value of x-axis is same then i have to clear previous point and update with new one.how can i do that?
Solved! Go to Solution.
09-06-2012 07:31 AM
Just create a new array of X values for the XY chart's cluster. The XY graph has no memory. It just plots whatever you send it.
Have you looked at the graph example that ships with LabVIEW?
09-06-2012 10:33 AM
I tried much with two example below. From first i can plot every point of curve.but i need replace previous point if the x-axis value is same . From second i can plot only one point not a curve..it updates every time either x-axis value is same or not.I know it is because of For loop which run once.I need to plot a graph inside while loop.should i use for loop inside while loop??is there another way to do it??
09-06-2012 01:08 PM
I have no idea how your examples are supposed to work, or how they explain your problem.
09-07-2012 08:22 AM
I have to replace previous point with new point if the value of x-axis will be the same.I am taking a data in every 10s.In every 10s should plot one point.if sometime the value of x-Axis will be the same then it should replace the Previous point with new one.