LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clear or Re-Initialize A Graph

I have XY-graph data that I freeze, now when I reinitialize the data/clear by zeroing an array, the display draws a line back to the begining of the graph and starts displaying new data. Question: How can I get not display the line drawing back? I have seen the Charts.llb examples where a property node.history, but I can not find it on the XY-graph property node. What am I doing wrong?
0 Kudos
Message 1 of 4
(3,220 Views)
what you would want to do is create a property node from the graph and set it to reinitialize to default or clear graph. when i get back to my computer that has labview i will give you an example.

Joe



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 4
(3,220 Views)
Could you explain how you "zero" an array? How many plots are on the graph?

You need to initilize with an array of zero length. (If you have a constant size array history buffer, fill all unwanted points with NaN instead of zeroes.)

May be you could attach a sample VI to show what you're doing.
0 Kudos
Message 3 of 4
(3,220 Views)
Here is an example.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 4
(3,220 Views)