Invalid Shared Variable Configuration in LabVIEW Application

Updated Nov 21, 2023

Reported In

Software

  • LabVIEW

Issue Details

I am opening a project that was developed with an older version of LabVIEW and I get the following error message when trying to run the code: "Invalid shared variable configuration". The error message should look something similar to the screenshot below:

error.png

Solution

This issue can be caused by project files not being loaded correctly or because the shared variable configuration is invalid. Please try the following troubleshooting steps:
  • Place the dependencies of the project in the expected folders. If you load the LabVIEW project and some of the dependencies are in a different location it might cause this error. This can also happen if the file path of a VI or dependency is too long.
  • The shared variable configuration is invalid: To correct this error, right-click a shared variable in the Project Explorer window, select Properties from the shortcut menu, and edit the properties in the Shared Variable Properties dialog box.