11-03-2025 01:48 PM
You can do a Mass Compile though. And that can go wrong and brake LabVIEW. I wished I could just have done a SCC Revert 😉
11-03-2025 01:53 PM
Of course there is no use in adding Password Protected VIs to SCC. Unfortunately there is no clear folder separation between accessable and protected VIs.
11-04-2025 03:10 AM
Hi
Dnatt from NI has written this nice overview :
https://www.labviewwiki.org/wiki/Compiled_object_cache
The Compiled Object Cache is the location where LabVIEW stores the compiled code for VIs. If you are having problems with loading/running/building your LabVIEW code, and you suspect the compiled object cache may be involved, you can use the Clear Compiled Object Cache dialog box to clear some parts of the compiled object cache, which will cause LabVIEW to recompile any VIs that were previously in the cache when they are loaded in the future.
There are multiple compiled object caches on your machine:
Note that the Clear Compiled Object Cache dialog allows you to clear the App Builder Cache *and* any of your compiled source code from the User + LVAddons Cache.
There is no interactive way to clear the cache for the Core LabVIEW Cache, or for [LVAddons] code in the User + LVAddons Cache. You can manually delete the contents of the folders above to clear those caches.
Note: After you do this, the LabVIEW editor will be extremely slow in loading APIs and VI-based features that need to recompile.
You should only clear these caches as a last resort when debugging issues with LabVIEW. Another option is to repair the LabVIEW installation, which will also regenerate these caches.
Regards
11-06-2025 03:59 AM
@code-lux wrote:
Why does NI deliver VIs with included Compiled Code in the vi.lib?
IIRC, the idea was to make the install faster, as adding time to generate the compiled code would make an install which can already be quite long even longer.
As mentioned, there are cases where this is no longer relevant (LV Addons, probably code which is shared between platforms, etc.).
11-06-2025 05:32 AM
Wouldn't it be possible to also install the LabVIEW Core Compiled Cache to save time?
Separated Compiled Code allows to make Updates more efficient...