02-12-2011 11:50 PM
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
02-12-2011 11:56 PM
You can write FALSE to the "tabs visible?" property on startup.
02-13-2011 12:07 AM
Where do i find the startup property?
02-13-2011 01:51 AM
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.
02-13-2011 07:38 AM
you mean just leave it anywhere in the block diagram?
i tried that, it just triggers whenever ANY controls (switch, button etc) are clicked
02-13-2011 12:11 PM
@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!).
02-13-2011 05:51 PM
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
02-13-2011 08:29 PM
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.