LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hide all application windows without having to write code in each vi.

Hi all,
I have an application that contains numerous dialog-vis.
The application can run in "Normal" mode, in this mode the operator performs settings and selections.
 
The application can also run in "Batch", in this mode it receives through a file all the required selections and settings.
It runs automatically. All the windows of the various vi's pop-up and then pop-down automatically until it finishes.
 
In this "Batch" mode, I would like to have a solution to the problem of all windows poping up. I would like all windows to be hidden without
having to set this feature programatically in each vi in the application.
 
Thank you in advance
Shali
 
0 Kudos
Message 1 of 3
(2,861 Views)

Hi Shali,

As an idea what you could do is either maintain a list of all the vi's that you have open, or alternatively have a static list of vi's and then sequentially attempt to open a reference to each of them and use the show front panel property to hide each window.

Dave 

David Clark
CLA | CTA
Genesee Technologies Ltd
Hampshire, England
0 Kudos
Message 2 of 3
(2,858 Views)
Hi Dave,
Thank you very much for your quick answer, that is also a good idea but:
The application running in "Batch",  is called by another program.
I am looking for a "strong" command, that can be done in the main application window or
by the calling program, maybe a windows command????
The application running in "Batch" is a uge application and is increasing all the time.
So I want a more "elegant" solution.
Of course, if I don't find it, i'll use yours.
Thanks again
Shali
0 Kudos
Message 3 of 3
(2,847 Views)