LabVIEW Error 1498 Occurred at Get LV Class Default Value

Updated May 11, 2021

Reported In

Software

  • LabVIEW

Issue Details

  • When I try to build an executable in LabVIEW, I get the error message described below.
  • I developed an application in LabVIEW that contains the base class for dynamically dispatching plugins during run-time. After building the executable, when the application tries to launch the child class, I get the error message described below.
Error 1498 occurred at Gen LV Class Default Value.vi
error

Solution

There a several method outlined below that may be used to resolve this issue:

Method 1: Separate compiled code from source code

For you to overcome the issue, follow the mentioned steps:

  • Click on File and open VI Properties.
  • Uncheck the box mentioning Separate compiled code from source code (As shown in the diagram).
  • Save the VI.
  • Build the executable with the new VI and run it again.

Method 2: Build child class into source distribution file

You can try to build all the related child class into source distribution file. When building executable, include all child class that is built into source distribution file. More information on how to build source distribution file, refer to this article.

Method 3: Reinstall the software

If separating the compiled code from the source code and building child class into source distribution file does not resolve the issue, you can try uninstalling and reinstalling the software, as this issue could also be related to corruption of the programming environment.

Additional Information

When you separate compiled code from the source file, there are some benefits such as smaller file size and source code control. However, when calling a VI in run-time engine dynamically, the application will look for the compiled code and if it is not available, then it will fail to run the VI.