LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

exe stops when splash screen is closed - LV2011

I have a LabVIEW application that is started via a splash screen.

This splash screen dynamicaly loads and starts the main application.

 

When using the devellopment environment everything works fine, but when i build an exe out it.

As soon as the splash screen is closed, the exe stops.

My current work around is to keep the FP open after the splash screen is ready loading all stuff.

 

I have been using this method since LV7.1, but in version 2011 this problem occurs.

 

Would appreciate the help,

 

Grtz,

 

Ben Engelen

0 Kudos
Message 1 of 6
(2,320 Views)

I think you can load the vi, close splash front panel and Run vi with wait for completion.

Then the splash should be active but invisible and it should work.

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 6
(2,313 Views)

What are you specifically doing in the splash screen VI in terms of the references? Can you show us some code?

0 Kudos
Message 3 of 6
(2,307 Views)

Hello Ben,

 

Is it possible to create a simple example of how you're using your splash screens right now?

 

This way we can have a look it and adapt it where needed.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 4 of 6
(2,284 Views)

I have build a small demo project, inside you can find 2 exe's.

one where the splash stays open (exe works fine until user closes stopped splash.vi)

and one that closes the splash (exe stops running)

 

Your feedback is appreciated!

 

Ben

 

0 Kudos
Message 5 of 6
(2,270 Views)

Hello Ben,

 

The one that closes closes as well in the Development Environment as in the Runtime Environment at my side.

I'm using LabVIEW 2011 over here.

 

If you use the VI method (Invoke node with class=VI) FP.Open, then you might be able to achieve your wanted results.

In attachment I have included a snippet of how it does work at my side.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 6 of 6
(2,247 Views)