LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data in table deleted but reapear when restart VI

Solved!
Go to solution

hi all,

i'm doing a data trending program. the data is exported into a table for analysis. when it is finish, i will clear the table and chart to start new. the problem is when we restart the VI, the old data will apear back in the table, instead of a new clear table. do you guys have any idea about this and how can i solve it? i attached together this VI for your reference. thank you.

0 Kudos
Message 1 of 4
(2,258 Views)
Solution
Accepted by topic author hafizzuddin

I don't see where you are actually clearing any data.

 

But the reason you getting the data from the last run is that your shift register is not initialized.  Thus it retains the data from the previous run.

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

Raven is right... Initialize your shift register.

 

Also you can use the "reinitialize to default" (or something liketha ) property to write the defalut value to all control/inidcators present in the FP

 

 

Regards
Guru (CLA)
0 Kudos
Message 3 of 4
(2,245 Views)
thank you
0 Kudos
Message 4 of 4
(2,234 Views)