LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tab control defaults to wrong case

I'm using a tab control inside my outer While loop to select different cases. (A user click on a tab selects that case and runs the appropriate code.) When I first load the program it opens at a case that I don't want until later in a series of user interactions.

 

I've made my preferred case the default but the program doesn't open up in that tab. Why not? What am I missing?

 

0 Kudos
Message 1 of 4
(2,783 Views)

Are you able to post a snippet of code that shows this behavior?  I don't see this behavior in a small VI I made based on your description.

 

-Steve

0 Kudos
Message 2 of 4
(2,770 Views)

Well I figured out what I was doing wrong. Are you ready for this? It's kinda complex...

 

You know how on the front panel you can right click on a control to pull up a menu.. then select Data Operations and Make Current Value Default ...?

 

Boy, do I feel dumb!

0 Kudos
Message 3 of 4
(2,733 Views)

When you wrote, "I've made my preferred case the default" I assumed you'd already done that.  Good job for figuring it out.

 

-Steve

0 Kudos
Message 4 of 4
(2,722 Views)