LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to purge a table of its contents?

I'm creating a refresh button, so my logic is as follows: 

 

1. Clear the table of its current values. 

2. Read from files again and pull into table. 

 

 

I can achieve #2 but I don't know how to go about the first bit. It's a table with 3 columns and multiple rows of data. Please help. 

 

I'm on labview 2018.

0 Kudos
Message 1 of 4
(2,224 Views)

Hi Thomas,

 

no need for item#1, when you write new data into the table indicator in step #2...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,206 Views)

A plain table displays whatever is in the wire, nothing to clear.

 

However, you are not showing us any code, so you might be using dynamic data and express table tools, which might retain data.

 

For further help, we need to see what you are doing, so attach your VI. Thanks.

0 Kudos
Message 3 of 4
(2,193 Views)

For a normal table control you achieve 1) by wiring an empty 2D array of string constant to the terminal (or a local of the control). However if you are going to load the new data immediately after that to write it to the table control the emptying of the table is completely superficial.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 4
(2,168 Views)