LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to clear chart in lv40

I have chart in my program but each time the previous data also showed in chart with the new one.How can i clear it?
0 Kudos
Message 1 of 5
(3,001 Views)
Everytime you want your chart cleared, you can wire an empty array to it, using direct connection or local variables.
Hope this helps
0 Kudos
Message 2 of 5
(3,001 Views)
Hi,
to clear chart you have to create its property node by right clicking on the chart in diagram and selecting "Create Proprty Node". Then select "History Data" property, switch it to write mode and connect it to empty array.
If you use graphs you can connect the empty array directly to the graph's node on the diagram.

Good luck.

Oleg Chutko.
0 Kudos
Message 3 of 5
(3,001 Views)
> to clear chart you have to create its property node by right clicking
> on the chart in diagram and selecting "Create Proprty Node". Then
> select "History Data" property, switch it to write mode and connect it
> to empty array.
> If you use graphs you can connect the empty array directly to the
> graph's node on the diagram.
>


Since this is LV40, the property nodes are called attribute nodes,
otherwise this is spot on.

Greg McKaskle
0 Kudos
Message 4 of 5
(3,001 Views)
Oh... yes

Oleg Chutko.
0 Kudos
Message 5 of 5
(3,001 Views)