Why Am I Getting Error 1043 When Running an Executable?

Updated Apr 16, 2019

Reported In

Software

  • LabVIEW Datalogging and Supervisory Control Module
  • LabVIEW Runtime

Issue Details

I am getting error 1043 when I try to run an executable that uses the 'Save to Library' function.

I am able to run the VI on the development computer without any problem. The problem appears once I build and run the executable.

Solution

If you are deploying a LabVIEW built executable that uses DSC features and components such as VIs, property, or invoke nodes to dynamically create project items such as project libraries (lvlib) and Shared Variables you need to place a checkmark in the Enable Enhanced DSC Run-Time support checkbox on the Advanced page of the Application Properties dialog box.

Additional Information

Enhanced DSC Run-Time support is an option in Application Builder that enables the built EXE to use the LabVIEW Full Feature Run-Time Engine as opposed to the standard LabVIEW Run-Time Engine.

When you create an EXE with the Enabled Enhanced DSC Run-Time check-box checked in Application Builder no additional DLLs or other support files are created with the EXE. When this EXE is launched it does not look in the registry for the LabVIEW Run-Time Engine (lvrt.dll), but instead looks in the registry for the LabVIEW Full Featured Run-Time Engine (lvffrt.dll). 

WAS THIS ARTICLE HELPFUL?

Not Helpful