Liang Posted September 22, 2009 Report Share Posted September 22, 2009 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. Thanks a lot. Quote Link to comment
Guruthilak Posted September 22, 2009 Report Share Posted September 22, 2009 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......) Quote Link to comment
Antoine Chalons Posted September 22, 2009 Report Share Posted September 22, 2009 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. Thanks a lot. Search ni.com website, they have interesting solutions! Quote Link to comment
Liang Posted September 22, 2009 Author Report Share Posted September 22, 2009 Search ni.com website, they have interesting solutions! 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 Quote Link to comment
Phillip Brooks Posted September 22, 2009 Report Share Posted September 22, 2009 (edited) 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 September 22, 2009 by Phillip Brooks 1 Quote Link to comment
Liang Posted September 22, 2009 Author Report Share Posted September 22, 2009 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. Quote Link to comment
JustinThomas Posted September 24, 2009 Report Share Posted September 24, 2009 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 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.