LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Front panel Table Indicator behaviour changes when wired to the Connector Pane

Solved!
Go to solution

Hi all,

 

LabVIEW 18.0.1f4.

 

I have a single row 'Results Table' Indicator on my front panel and my diagram changes the cell colours depending on the values in a 'Results Array', 'Upper Limit' Array and 'Lower Limit' Array.

 

This works as expected until I wire the 'Results Table' Indicator to the Connector Pane in which case all cell values in the 'Results Table' Indicator get blanked on every 2nd execution of the vi.

 

Even if I place a 'Diagram Disable ' structure around all items on the diagram the 'Results Table' Indicator still gets blanked if it is wired to the Connector Pane.

 

In the attached example you will need to run the vi a few times to see it works as expected and then wire the 'Results Table' Indicator to the Connector Pane to see the blanking effect problem.

 

Any help would be much appreciated.

0 Kudos
Message 1 of 4
(756 Views)

Strange...

 

It does work better if you set the execution options to "clear indicators when called".

 

Of course your entire approach is a bit convoluted. Why not just write the values to the terminal and do only the coloring on the loop?

0 Kudos
Message 2 of 4
(732 Views)
Solution
Accepted by topic author asnuaaron

See if this can give you some ideas to simplify your code, make it more self-documenting and make it work correctly,

 

altenbach_0-1669049204117.png

 

If all upper/limits are the same, you can use scalar controls instead.

 

Message 3 of 4
(720 Views)

Thanks very much altenbach.

 

Updating the 'Results Table' values outside of the loop fixes the problem but I've no idea why.

 

I've also taken on board some of your suggestions to simplify the code so thanks for that too.

 

 

0 Kudos
Message 4 of 4
(689 Views)