Solution
This issue in TestStand is due to a new feature introduced in LabVIEW 2024 Q3. This feature allows you to choose the save version for VIs. However, TestStand cannot handle this feature in versions 2024 Q3 and earlier, particularly when the source-only VI is within a project or library set to an older "save version".
This issue can be resolved by either disabling the Source Only VIs configuration or by turning off the Save Version VIs feature. Below are the steps for these solutions.
Disabling Source-Only VIs
If you're using LabVIEW 2021 or later, your VIs are set to be source-only by default. If you don't need your VIs to be source-only, you can unset this option. Please review the "From Which Files Do You Want to Separate Compiled Code?" section in the LabVIEW help to learn the different ways you can unset that option on different contexts.
Disabling the Save Version VIs
You can disable the default setting of this new LabVIEW feature using a global option before proceeding with mass compilation. Follow the steps below to achieve this:
- Clear the LabVIEW Compiled object cache by selecting the Tools >> Advanced >> Clear Compiled Object Cache menu option.
- If you have added any source-only VIs to user.lib or instr.lib under LabVIEW’s installation directory, then you might have to also delete the objFileDB.vidb file. It is located in one of the following directories, depending on your LabVIEW bitness.
- (32-bit) - C:\Program Files (x86)\National Instruments\LabVIEW 20xx\VIObjCache\objFileDB.vidb
.
- (64-bit) - C:\Program Files\National Instruments\LabVIEW 20xx\VIObjCache\objFileDB.vidb
.
- Disable the feature in LabVIEW by going to Tools >> Options, selecting the Environment category and unchecking Maintain the save version of loaded projects by default.
- Restart LabVIEW and mass compile (Tools >> Advanced >> Mass Compile...) all the folders where your LabVIEW files are present.