LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
avogadro5

LabVIEW should handle OneDrive-sync'd Documents folder better

Status: New

If you set up Windows 11 as Microsoft suggests (at your peril), your user Documents folder will be synchronized to OneDrive. Unfortunately this is also the location of the default data directory for LabVIEW. Various side effects ensue but the one I've run into is the compiled object cache, a SQLite database that can get into the gigabytes, winds up getting synchronized which is a complete waste of bandwidth.

 

To deal with this I think there should be a warning dialog with "don't show again" checkbox when LabVIEW detects the default data directory is in a synchronized folder to prompt the user to choose a different location.

1 Comment
OneOfTheDans
Active Participant

The problem is NI storing non-documents in Documents. That cache should be in AppData\Local or ProgramData. I'd rather these locations be corrected, instead of NI trying to work around the issue with a warning to exclude the directory from syncing.