LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

null window error in application built using LV7

When running LV7 built applications I get a random "Labview: null window" error. The program runs fine in development mode and also runs fine when built as an LV6.1 application.
0 Kudos
Message 1 of 7
(3,283 Views)
You might try LabVIEW 7.1.
You might try saving all the files as LV7 and then building the application.
0 Kudos
Message 2 of 7
(3,279 Views)
Thanks for the reply.

Don't have 7.1 right now. I have attached an example program if you are interested in trying it. You can run main.vi and it works fine. Build the app and the error occurs.

Have tried it on 7.1 recently. The 6.1 to 7.0 upgrade didn't really work for me. Quite a few problems with 7.0 application build. Trying to sort them out before just giving up and going back to 6.1 (which works perfectly).
0 Kudos
Message 3 of 7
(3,278 Views)
Hi mr_e_cat,

You didn't attach the VI to your post. Please reattach it, thanks.

I searched for "LABVIEW: Null Window" in the KnowledgeBases and found this one:

How do I Show the Front Panel of a SubVI in an Executable Built from LabVIEW?

Is this what's causing the error?
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
Message 4 of 7
(3,264 Views)
Hi Philip,

Thanks for replying.

I have attached vi's. Run the executable and you will see the error.

Source code and build file attached.

Steve
0 Kudos
Message 5 of 7
(3,257 Views)
Hi mr_e_cat,

According to my last post, the error is generated when you are using pop up SubVIs, but has set "Remove Front Panel" for the subVI to YES. I just checked a few and found that this is indeed the case for the "program control.cancelling run dialog main.vi". Please make sure to edit the build settings and set the "Remove Front Panel" for this subVI to NO.

Make sure to check all the other 32 subVIs too...
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
Message 6 of 7
(3,247 Views)
Philip,

It works. You have solved my problem. Thank you very much.


Steve
0 Kudos
Message 7 of 7
(3,241 Views)