LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clear table with property node

Is there a way to clear the table with a property node? I tried to wire an empty 2D string to the value option of the property node for the table, but that didn't work. Any ideas?

0 Kudos
Message 1 of 5
(5,704 Views)

Wiring the Empty array to the Value property node should clear the whole table. Are you updating the value in multiple places? If possible you can attach your code.

-----

The best solution is the one you find it by yourself
Message 2 of 5
(5,698 Views)

Are you sure you have a table?  A table's data is a 2D array (which is what gets displayed).  Writing an empty array to the value property should clear it out.  You could do the same with a local variable.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 5
(5,696 Views)

Actually it does clear it via wiring the empty 2D array to the value setting, but it helps to clear the 2D array feeding the control, Duh!  Thanks guys....

0 Kudos
Message 4 of 5
(5,690 Views)

@QRP wrote:

it helps to clear the 2D array feeding the control..


Yes, those default values can be nasty at times...

 

0 Kudos
Message 5 of 5
(5,687 Views)