Why Am I Receiving the Error 1013: "Cannot load front panel." When I Run a Built Application or DLL?
Primary Software Version: 8.6
Primary Software Fixed Version: N/A
Secondary Software: N/A
I am trying to run a built LabVIEW application. When I run the executable (.exe) or Dynamic Linked Library (DLL), I receive
Based on whether you compiled a executable or DLL, below are common solutions to the error.
Error 1013 When Running a LabVIEW Executable
This error can occur when a subVI of your main application has had its front panel removed during compilation, and when that front panel is required by the application. Specifically, check the settings for that particular subVI from inside the application builder:
See the image below for an example of settings that will cause this behavior.
Check the following settings within the Project Explorer:
Error 1013 When Running a DLL Built in LabVIEW
This error can occur if you are trying to run a subVI dynamically using VI Server within the VI that you are compiling into a DLL. In order for it to run properly you have to include the subVI in the Always Include field of the Source File category in My DLL properties as shown below.
KnowledgeBase 18RDJ60O: Why Does My Executable Not Work When Using the Current VI's Path Constant?
KnowledgeBase 4EMGPJCY: Error 1013 on a Real-Time Target
Report Date: 04/20/2005
Last Updated: 12/13/2016
Document ID: 3KJGPNBC