LAVA: How to make a splash screen? - LAVA

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to make a splash screen? With loading informations. Rate Topic: -----

#-19 User is offline   unCLAD 

  • Active
  • Pip
  • Group: Members
  • Posts: 17
  • Joined: 03-July 09
  • Version:LabVIEW 8.6
  • Since:2009

Posted 22 September 2009 - 03:36 AM

Hi,

After building my VIs to executable file, I found it's too large and will take long time to launch.

So I want to use splash screen to avoid this. But I do not find the way how to show loading information just like LabVIEW's.

What I can make is using a VI that contains serveral seconds delay then hiden FP and run my main VI.Posted Image

Thanks a lot.
0

#-18 User is offline   Guruthilak 

  • Active
  • Pip
  • Group: Members
  • Posts: 15
  • Joined: 03-December 04
  • Location:India
  • Version:LabVIEW 8.6
  • Since:2002

Posted 22 September 2009 - 04:21 AM

hello,



If you know how long you have to wait before the "Main" vi launches, then simply make another vi with some delay and use a string control/indicator with the property "blinking" enabled (and offcourse with the text "Launching application.Please wait......)


Regards
Guru
(CLA)
0

#-17 User is offline   Antoine Châlons 

  • Extremely Active
  • View gallery
  • Group: Moderators
  • Posts: 382
  • Joined: 08-January 07
  • Location:France
  • Version:LabVIEW 2009
  • Since:1999

Posted 22 September 2009 - 05:45 AM

View PostunCLAD, on 22 September 2009 - 05:36 AM, said:

Hi,

After building my VIs to executable file, I found it's too large and will take long time to launch.

So I want to use splash screen to avoid this. But I do not find the way how to show loading information just like LabVIEW's.

What I can make is using a VI that contains serveral seconds delay then hiden FP and run my main VI.Posted Image

Thanks a lot.


Search ni.com website, they have interesting solutions!
0

#-16 User is offline   unCLAD 

  • Active
  • Pip
  • Group: Members
  • Posts: 17
  • Joined: 03-July 09
  • Version:LabVIEW 8.6
  • Since:2009

Posted 22 September 2009 - 08:34 AM

View PostAntoine Châlons, on 22 September 2009 - 01:45 PM, said:




Hi man,

Before posting here, I've already search NI site.

I just want to know if I can use other method not set a delay time.

Thanks
0

#-15 User is offline   Phillip Brooks 

  • Extremely Active
  • Group: Moderators
  • Posts: 474
  • Joined: 03-November 04
  • Location:Boston, MA
  • Version:LabVIEW 8.6
  • Since:1999

Posted 22 September 2009 - 11:21 AM

View PostunCLAD, on 22 September 2009 - 04:34 AM, said:

Hi man,

Before posting here, I've already search NI site.

I just want to know if I can use other method not set a delay time.

Thanks


Create a named notifier in your splash screen. Have the splash VI wait for a notification. Acquire the notifier reference by name in the main VI. when the main VI has completed it's initialization and is 'ready', send a notification to the splash screen and then close the splash screen VI appropriately.

Don't forget to set some sort of timeout on the splash VI in case your main fails to load. You can use a timeout on wait for notifier in the splash vi.

Notifier Operations Functions

This post has been edited by Phillip Brooks: 22 September 2009 - 11:23 AM

Always wire as if the person who ends up maintaining your VIs is a violent psychopath who knows where you live.

1

#-14 User is offline   unCLAD 

  • Active
  • Pip
  • Group: Members
  • Posts: 17
  • Joined: 03-July 09
  • Version:LabVIEW 8.6
  • Since:2009

Posted 22 September 2009 - 12:28 PM

View PostPhillip Brooks, on 22 September 2009 - 07:21 PM, said:

Create a named notifier in your splash screen. Have the splash VI wait for a notification. Acquire the notifier reference by name in the main VI. when the main VI has completed it's initialization and is 'ready', send a notification to the splash screen and then close the splash screen VI appropriately.

Don't forget to set some sort of timeout on the splash VI in case your main fails to load. You can use a timeout on wait for notifier in the splash vi.

Notifier Operations Functions



Hi Phillip,

That's a good idea. Very nice.
0

#-13 User is offline   JustinThomas 

  • Very Active
  • PipPipPip
  • Group: Members
  • Posts: 71
  • Joined: 08-March 06
  • Version:LabVIEW 8.6
  • Since:2004

Posted 24 September 2009 - 06:27 AM

Make the Splash VI your top level VI and call the Main VI dynamically then use the Notifier trick mentioned above to close the Splash VI.
You can also send custom messages to the Splash VI through the Main VI, similar to the Splash screen when LabVIEW loads thus informing the user as to what the application is doing. This gives a feeling to the user that the application is doing something in the background rather than just a splash screen.
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic