LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i empty the table in sub vi and get the same data main vi

I using a sub vi in my program for many places,but when I run the program for second time i stil have the old information
someone can help me to resolve this probleme whith a sample
thank you.
0 Kudos
Message 1 of 2
(2,437 Views)
Well, obviously you are reading the current content of the table with a property node, then append the new data, making the table in the subVI grow each time it is called. I made a quick modification (see attached).

btw, I don't see the logic in your overall design. What is e.g. the purpose of the OK button in the subVI?
Message 2 of 2
(2,437 Views)