Jump to content

How to make a splash screen?


Liang

Recommended Posts

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.sad.gif

Thanks a lot.

Link to post

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......)

Link to post

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.sad.gif

Thanks a lot.

Search ni.com website, they have interesting solutions!

Link to post

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

Edited by Phillip Brooks
  • Like 1
Link to post

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.

Link to post

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.

  • Like 1
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.