Solution
This error may occur because the executable is running LabVIEW version 2019 even the related Run-Time Engine is not installed. You can verify this by going to
Help >>
About of the LabVIEW executable.
When building executables, please untick the option
Allow future versions of the LabVIEW Runtime to run this application under the
Advanced category.