LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clear data on displays and graph automatically

i am trying to run my vi program each time I running the program it save last data in my displays and graph i need to automatic reinitialize the displayed data and graph to the defaukt each time i start run the program and clear the data and graph automatically when i running the program

0 Kudos
Message 1 of 4
(1,729 Views)

Hi Alaa,

 

usually you need to save data to a file on disk whenever you need to retain data between runs of your program...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO
0 Kudos
Message 2 of 4
(1,721 Views)
You can create Property Node>>value for the graph and write empty array whenever necessary.
Thanks
uday
0 Kudos
Message 3 of 4
(1,710 Views)

Hi Alaa,

 

opne the example finder and look for "graphs" and "charts". There's an example explaining how to use (and clear) both...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO
0 Kudos
Message 4 of 4
(1,707 Views)