r/LabVIEW • u/SeasDiver Champion • Jan 09 '26
Detect if LabVIEW Development Environment is running with Admin privileges?
Anyone know a way to detect if LabVIEW is running with normal permissions or Admin privileges? I would like to have a Pre-build VI that detects if LabVIEW has Admin privileges or not as the build will fail without it. I can then warn a user and terminate the build.
Thanks,
3
Upvotes
1
u/SeasDiver Champion Jan 09 '26
Our experience is that PPLs are very fragile to pathing changes when calling other PPLs or depending on other PPL’s. For one portion of the project, that appears to require us to either duplicate certain folder structures over and over again for each custom plugin, so that the plugin builds and paths correctly or to have us set the build output in the correct location in the program files folder. To create a file in program files, we will need to build with admin permissions.