LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with updating a Table in LabVIEW 7

I have a table on my front panel that I am using as a program control input. It has 3 columns, and adding certain values to these columns forces the program to do certain actions in a certain order. This part works fine, however if I ever want to reduce the number of rows in the table it all falls to pieces. This happens whether or not I reduce the number of rows whilst the program is running or in design mode. Despite what the table is displaying on the front panel it is always retaining the last data entered with a greater number of rows.

e.g.
I have 3 rows of information : Works fine
I add 2 more rows for 5 rows used : Works fine
I delete 1 row so now there are 4 : Still runs as if it had all 5 even though the front
panel display says differently.

The only way around this I have found is to right click the table and choose "Empty Table" but this is not a convenient solution for users of the software (who may well forget to do that).

Is there any way to programmatically make sure the table only uses what it's meant to (ie what's showing on the front panel).

I'm using a local variable to read in the values of the table within my program.

Thanks
Neil
0 Kudos
Message 1 of 2
(2,361 Views)
I've solved this problem now. I had an initializer on a feedback node wired incorrectly which caused unbounded increases in array size.

Thanks for the suggestions I did receive 🙂

Neil
0 Kudos
Message 2 of 2
(2,361 Views)