03-28-2009 05:00 AM
Dear all,
i am working on an application with multiple front panels. so i am using tab control to shift from one panel to another.
its working fine for all the cases except one.
i am attaching the pic on that case where a particular page is called and it doesn't get executed.
pls have a look at it and let me know where is the problem
Thanks,
Ritesh
Solved! Go to Solution.
03-28-2009 05:28 AM
03-28-2009 05:51 AM
I have checked both.
the case is executing with no issues.
and the enum values are also correct . its executing perfectly when called in a different event .
Ritesh
03-28-2009 07:36 AM
Is there anything happening after this event that could be setting it to a different page? Try putting a Breakpoint after the case structure to see if it changes.
Could you post your program?
03-28-2009 11:01 AM
What version of LabVIEW?
I have seen a bug in LV 8.0 and 8.2 where:
If you DEFER PANEL UPDATES,
Set the TAB control to tab X
Un-DEFER PANEL UPDATES.
then the TAB control will show tab X in front, but what's on the page is from some other tab.
In other words, it changed the tab doohickey itself, but didn't change the contents.
The workaround was to change the tab via a PROPERTY NODE : VALUE function, rather than a local variable.
I suggest you give that a try.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
03-28-2009 11:55 AM
Hey Steve,
yeah man updating it by property node worked like charm.
thank u,
ritesh