LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Tab Control's Tabs to always hide at app startup

How to set Tab Control's Tabs to always hide at app startup ?

 

I want all the tabs to HIDE at the start of the application

using labview 2010 here

0 Kudos
Message 1 of 8
(2,928 Views)

You can write FALSE to the "tabs visible?" property on startup.

Message 2 of 8
(2,926 Views)

Where do i find the startup property?

0 Kudos
Message 3 of 8
(2,921 Views)

There is no startup property. I was talking about a property of the tab control. Simply make sure it executes right at the start of the program.

0 Kudos
Message 4 of 8
(2,909 Views)

you mean just leave it anywhere in the block diagram?

i tried that, it just triggers whenever ANY controls (switch, button etc) are clicked

0 Kudos
Message 5 of 8
(2,892 Views)

 


@sunsaber wrote:

you mean just leave it anywhere in the block diagram?

i tried that, it just triggers whenever ANY controls (switch, button etc) are clicked


 

Then show us your code. If you place it outside the main while loop, it will get triggered exactly once per run of the VI. How is your VI organized? Do you use an event structure?

 

Do you possibly use the "continuous run" button? (That mode is only a temporary debugging tool, NOT a valid way to run a regular program!).

0 Kudos
Message 6 of 8
(2,877 Views)

thanks im going to try a while loop

currently i throw everything into an event structure and use Run Continiously

 

and it still runs ONCE even though i use Run Continiously

0 Kudos
Message 7 of 8
(2,862 Views)

 


sunsaber wrote:

currently i throw everything into an event structure and use Run Continiously

 

and it still runs ONCE even though i use Run Continiously


That is expected. "Run continously" basically restarts the VI whenever it completes. If you have an event structure, the VI can only complete if one of the events fires. Thus it will execute once, and then whenever an evet gets triggered.

 

Message 8 of 8
(2,856 Views)