LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reset graph

Solved!
Go to solution

hello,i have the next code in labview and i would like to reset the values of the graphs when the code is executed again.

i did it with a history data reset to values equal to 0,but the graph is rested after the first iteration of the bucle while,so i am lossing the first value of the graph,because the first value represented is the second. 

how could i solve this problem? 

thanks

0 Kudos
Message 1 of 2
(2,003 Views)
Solution
Accepted by topic author mariomoskis

If you just do this :

 

Control modificado final_BD.png

 

It should work better, if there is no dependency between the while loop and the property nodes that reset your graphs' history then LabVIEW can "decide" to do which ever it wants first, if there is a dependency (a wire for instance) it will force LabVIEW to execute the property node first and then the loop.

 

Hope this help


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 2
(1,999 Views)