Error 15 in Invoke Node in Built LabVIEW Application

Updated Oct 21, 2024

Reported In

Software

  • LabVIEW

Issue Details

I am getting the following error when calling an invoke node in a LabVIEW application running on a target machine. This error does not occur in the LabVIEW development environment.

 

Error 15 occurred at Invoke Node in <VI>

 

Possible reason(s):

LabVIEW: (Hex 0xF) Resource not found.
=========================
Serial poll byte queue overflow.

 

error15.JPG

Solution

This error occurs when a LabVIEW invoke or property node references the front panel of a VI that has been removed when building a stand-alone application.

To fix the issue look in the Source File Settings section for the failing VI and make sure the Remove Front Panel option is not selected.
image.png

If you have multiple files experiencing this issue, group them in a folder and apply this same procedure to the folder itself and by selecting the Set save settings for all contained items box.
image.png

Additional Information

Building the executable with debugging enabled would also avoid the issue, as the front panel of the VI would be included for debugging purposes. However, building the application with debugging enabled can increase the size of the built application and does not ensure full optimization, so it wouldn’t be a proper solution for the error.