LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clear subpanel XY graph?

Hi all, 

 

Does anybody know  how to clear a XY graph in a subpanel? I have a sub VI that acquires some data and shows it in a XY graph (and clears graph after each iteration). The main VI calls that subVI but it seems to remember all previous data stored in the XY graph and do not clear it. I've tryed to reload the subvi but doesn't work.

 

Thanks

0 Kudos
Message 1 of 4
(2,948 Views)

If you set the subvi's Properties > Execution > "Clear indicators when called " property to true, does that clear the XY graph when first launched? Make sure the graphs default data is a clear graph too (manually clear the graph data, then set as default data, save subVI).

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 2 of 4
(2,944 Views)

Thanks, but it does not work that way as well.

0 Kudos
Message 3 of 4
(2,940 Views)

You might have to clear it programmatically then. Send an empty array to the Property Node > Value property.

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 4 of 4
(2,932 Views)