07-04-2011 05:01 AM
Hello
I wonder if it is possible to show a loading indicator similar to the one we see when windows load up. I wonder if it is possible to have it as the first thing users see when the software icon is double clicked on the desktop?
Kind Regards
Austin Cann
07-04-2011 05:05 AM
You can make a launcher vi. This vi will dynamically load the rest of the code and display some kind of progress bar or an animated gif-file.
Felix
07-04-2011 05:23 AM
And is it also possible to add some sound effect behind this launcher vi. Any tutorials/examples I could see?
It would be nice to be able to add the chunk of launcher vi code on the block diagram of my main vi in project explorer so when I create executable of main as top vi. The launcher vi code runs first and then the initialize states of all other loops take over and run the remaining code. Is it possible?
Kind Regards
Austin Cann
07-04-2011 05:44 AM
The code I used as example was the OpenG builder. If you search the forum for 'launcher' and 'start-up', there are other examples.
You can play some sound, sure.
But the main point is to have your launcher small, so it's immediatly loaded. So you can't place it on the BD of the main, as this would require the complete exe to be loaded. It must be the Top-Level vi of the exe an call the real main dynamically.
Felix
07-04-2011 06:36 AM
In my application I call from main the other vis using boolean buttons and have set the subvi node setting to load front panel when called and closed afterwards. Have never called a vi dynamicallly! Can you shed some light on this
please?
Kind Regards
Austin
07-05-2011 04:33 AM - edited 07-05-2011 04:37 AM