LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying an Incorrect page in a tab control

I'm coming across a weird issue for the first time. I've got a typedef tab control, and when I open the VI, the contents of the first page are displayed in the control, even though the first page is not the active tab. I've attached an example VI. When test tab.vi is opened, you'll notice the String page is active, but the Boolean control is visible. This persists even when the VI is run. Switching pages makes the correct controls display. This only seems to happen when the tab control is a typedef, but I haven't done any thorough testing.

 

I've observed this on 8.20, which is the most recent version I have installed. I looked for, but didn't find, this issue in the 8.5 or 8.6 bug fix lists. Can anyone confirm that this is happening or let me know if it does not persist in more recent versions?

0 Kudos
Message 1 of 6
(3,784 Views)
I opened it in 8.5 and see the problem. However, once I operate the tab, go back to the string tab, make current values default, and save, things are OK next time I open it.
0 Kudos
Message 2 of 6
(3,771 Views)
Tab controls have given me similar fits as well. You need to preset your active tab page in an init state in your code with a local or property node.
PaulG.

LabVIEW versions 5.0 - 2023

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 3 of 6
(3,770 Views)

altenbach wrote:
However, once I operate the tab, go back to the string tab, make current values default, and save, things are OK next time I open it.

 

It is also good in 8.2.1 once I do the same.

0 Kudos
Message 4 of 6
(3,769 Views)
Twiddling the tabs, setting current value as default, and saving/reloading seems to fix the problem on 8.20 as well.
0 Kudos
Message 5 of 6
(3,762 Views)
Reported to NI. CAR #127705.
0 Kudos
Message 6 of 6
(3,699 Views)