cancel
Showing results for 
Search instead for 
Did you mean: 

Splash screen launcher

SOLVED
Yamaeda
Proven Zealot
Solved!

Splash screen launcher

Hiya,

 

My application takes some time to start, so i want a small and quick launcher to kickstart things and show it's working. My current launcher uses a SystemExec that starts the other compiled file, but it's messy to get it to know when the program has started.

 

So, i've decided to try to make a VI server approach, it should just link the other file and be an easy fix, right? Wrong.

 

A Static VI reference works in the EXE, but then it loads the big application like a sub-vi, making as slow as before.

A path -> Open VI works in labview, but if i dont add it to Dynamic files it compiles to 300k and there's only a launcher (not too strange), and if i add it i cant compile (error 1003).

Adding both launcher and main to "Startup VI" works, but as in case 1 they start at the same time.

path -> Open VI from a separate .exe (the main separatly compiled) doesn't work (or i cant get it to work)

 

Any ideas?

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
22 REPLIES 22
JB
Trusted Enthusiast
Trusted Enthusiast

Re : Splash screen launcher

Message contains a hyperlink

Please support this idea about an easier implementation of splash screens.

omprakash
Member

Re: Splash screen launcher

hey,

  In 2010 LabVIEW they have added new feature like

Prioritization of subVI by using inline.By using this method you can prioritize your VI and reduce time taken by your sub VI.

Hope this helps...

-------------------------------------------------------------
kudos welcome
Yamaeda
Proven Zealot

Re: Splash screen launcher

Thanks Omp, but it doesn't solve my problem. Inlining still needs to be fully loaded to memory before executing, which is the opposite idea of a launcher. Smiley Happy

 

The "start 2 VI's at once" in the application builder should be an easy solution, and being separate they shouldn't need to start at the same time. :/

(I can then use the VI's in memory property to determine if it's loaded)

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
aeastet
Trusted Enthusiast

Re: Splash screen launcher

Message contains an attachment

Someone put this code out a long time ago. I hope this helps

Tim
GHSP
F._Schubert
Active Participant

Re: Splash screen launcher

I did reuse mine from the OpenG Application Builder which has a splash screen implementation based on dynamical loading.

 

Felix

Yamaeda
Proven Zealot

Re: Splash screen launcher

Thanks Aeastet, it was a quite solution. But as part of the main VI it wont start beforehand. Smiley Happy

Schubert, i dont have that application builder, to my knowledge. Any tips on how it works?

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
F._Schubert
Active Participant

Re: Splash screen launcher

You can download it with the vi package manager. It's free and under BSD license (not exactly sure).

Basically it loads every vi except the top level vi from the llb or exe. Then it loads the top-level vi and invokes the Run method. Then the luncher closes.

 

Felix

Yamaeda
Proven Zealot

Re: Splash screen launcher

That sounds exactly what i'm after Schubert, i'll take a look at it. Thanks, and hope for the best.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
JÞB
Knight of NI

Re: Splash screen launcher

Message contains a hyperlink

Quite a while ago Mark Ridgley posted A splash effect example.  Should be easy to upgrade to whatever version you are running.  Turns out I was actually in the cube next door when he developed the original but it seems to have gotten around a bit.


"Should be" isn't "Is" -Jay