From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,294 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, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,286 Views)
You can create Property Node>>value for the graph and write empty array whenever necessary.
Thanks
uday
0 Kudos
Message 3 of 4
(2,275 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, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,272 Views)