Why Do I Get a "LabVIEW: Null Window" Error When Running My Executable?

Updated Jan 28, 2023

Reported In


  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

I can make my subVI show its front panel when running my VI but when running the application built from the VI, it gives me an error:

LABVIEW: Null Window
VI a.vi was stopped at node 0x0 of subVI b.vi

where a is the name of the main VI and b is the name of the subVI. Why is this happening and how can I prevent it?


This is caused by inconsistent settings between SubVI Node Setup and Customize Windows Appearance in VI Properties. 

To prevent this from occurring, you will need to do the following:
  1. In the VI that calls the subVI, right-click on the subVI whose front panel you want to appear and select SubVI Node Setup... and then select Show front panel when called.
  2. Open the subVI and go to File»VI Properties»Window Appearance»Customize and select Show front panel when called.
If you do not want the front panel of the subVI to show, then follow the steps outlined above, but be sure to uncheck the Show front panel when called in both instances.