Solution
The
LabVIEW: Generic Error can occur due to multiple causes, incorrect dependencies location, corrupted VIs, outdated .NET framework versions could raise this error. To solve this issue follow the next suggestions:
- Verify the project and all the dependencies are saved in the same location, follow the steps below:
- In your Project Explorer window, right click on your project file (.lvproj) and click Show in Files View.
- Go to the Files tab and verify that your project and all project items are saved in the same location.
- If any project items are not saved in the same location as the project, move them to where the project is saved.
Note: if you have issues finding one specific VI you can click in Edit>>Find Project Items (<CTRL+F>), in the Find Project Items window you can search the specific VI name and confirm the location in the project and the Path of the file in disk
- If you also get a This VI is not Executable error the issue may be related to an outdated version of the .NET framework on the non-development computer. To resolve this issue, see the article This VI is not Executable Error.
- The cause of this could also be VI corruption. To confirm this try to open the failing VI, in case a VI corruption happens the VI may need to be recreated, using a backup copy, if available, could be an option to avoid developing the VI from scratch. For information on source code control software that can manage VIs and backups refer to Software Configuration Management and LabVIEW.