LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Splash screen launcher

Solved!
Go to solution

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
0 Kudos
Message 1 of 23
(4,807 Views)

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

Message 2 of 23
(4,785 Views)

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
0 Kudos
Message 3 of 23
(4,777 Views)

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

 

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
0 Kudos
Message 4 of 23
(4,771 Views)

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

Tim
GHSP
0 Kudos
Message 5 of 23
(4,752 Views)

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

 

Felix

0 Kudos
Message 6 of 23
(4,741 Views)

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

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
0 Kudos
Message 7 of 23
(4,731 Views)

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

Message 8 of 23
(4,713 Views)

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
0 Kudos
Message 9 of 23
(4,701 Views)

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
0 Kudos
Message 10 of 23
(4,692 Views)