10-06-2010 10:01 PM - edited 10-06-2010 10:02 PM
I've run across an interesting bug. The picture below shows a VI running in a sub panel that has a tab control. The tab control in the sub panel vi is set to change the value (tab) to page 2. The controls of page 2 show in the tab, but the tab indicator indicates that it is page 1. If this vi is run outside of a sub panel, it works correctly. Showing Page Label Display shows the correct value.
Created and tested in LabVIEW 2009. I have not tested in other versions.
10-06-2010 10:53 PM
If you insert the VI in the subpanel then run it, it works just fine.
10-07-2010 07:02 AM
How do you insert a VI into the subpanel before executing? I'm not sure how this would help me though. I use subpanels for the express purpose of dynamically change the VI.
10-07-2010 07:58 AM
Swap the insert VI node with the Run VI node so that Insert VI comes first on the error wire, then the run VI.