>From my experience (6.1)
At the top level VI:
A) if I use property node FP.Open and wired False Value to it and the reference input 
is empty
at run time when the property node is called the vi FP is close and the vi executing 
terminated.
B) If I open reference in the top level vi to it self and wire it to the property node 
the FP panel is close and the vi keep running.
C) In the executable app the top level vi FP is show always - I think the show FP when 
load is ignored.

my question are: 
1) way did closing the front panel of the vi is stop the vi execution (case A)?.
2) can I build app that the top level vi FP didn't open by default (silent mode)?

Yonatan Tidhar

>X-Sender: [EMAIL PROTECTED]
>Date: Tue, 24 Feb 2004 09:37:12 -0500
>To: "E. Blasberg" <[EMAIL PROTECTED]>
>From: Scott Hannahs <[EMAIL PROTECTED]>
>Subject: Re: Hiding Main VI's Window in built application
>X-NHMFL-MailScanner: Found to be clean
>
>  >>At 11:41 +0200 02/23/2004, E. Blasberg wrote:
>>>>A colleague wants to build an application where a Password dialog
>>>>appears and only if the correct password is entered would the 
>>>>main VI appear.
>>>>
>>>>1) Launch Password which then uses VI server to launch Main VI
>>>>2) Embed the password VI in the Main VI, but move the Main VI 
>>>>off-screen
>>>>3) Find a way to have the Main VI not show until the password is entered.
>>>
>>>I think #1 is a clear winner.  First you throw up the password
>>>dialog, but in parallel, open a reference to Main.VI.  This will 
>>>cause the Main.vi to load while the user is entering the password.
>>
>>Ah, but doesn't loading the Main show its window (exactly what he's
>>trying to avoid?)
>
>No.  Opening a reference to a VI does not open its window unless it
>has been set to "open window when loaded" in the VI properties.  You 
>have to have the main vi, explicitly show its front panel when it is 
>called by the password vi.  Or you can have the password VI show the 
>front panel, just before it runs the main VI.
>
>There is an example: 
><http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B123A
>E0CB932111EE034080020E74861&p_node=DZ52054&p_submitted=N&p_rank=&p_answ
>er=&p_source=External>
>
>(watch out for line wraps by your email client!)
>
>-Scott
**************************************************************************************************
The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  the 
sender immediately and do not disclose the contents to anyone or make copies.

** eSafe scanned this email for viruses, vandals and malicious content. **
**************************************************************************************************


Reply via email to