Error 1059 When Building a Real-Time Executable

Updated Jun 6, 2023

Reported In

Hardware

  • CompactRIO Chassis

Software

  • LabVIEW
  • LabVIEW Real-Time Module
  • LabVIEW SoftMotion Module

Issue Details

I have a Real-Time application that works fine on the LabVIEW development environment. However, when I try to build an executable of my application, I receive the following error message:  Error 1059 occurred at AB_Source_Library.lvclass:Copy_SourceItem.vi -> AB_Build.lvclass:Copy_Files.vi

Solution

Several LabVIEW users have reported that this issue has been solved by rebooting the host computer and then building the executable again.

If the first solution does not work and you are using the LabVIEW SoftMotion Module, this error can be caused by using the SoftMotion Express VIs within the executable. The workaround is to replace all the SoftMotion express VIs with sub VIs and re-build the executable.