Also, this won't work for LabVIEW(s) installed anywhere else than the default "C:\Program Files (x86)". Say for example, I've installed LV 2017 in "D:\Program Files (x86)\National Instruments\LabVIEW 2017", and this doesn't work (as I expected), because the Get System Directory function would always think/output "C:\Program Files (x86)" is/as the Application Directory for LabVIEW.
From Partha in LinkedIn
Also, this won't work for LabVIEW(s) installed anywhere else than the default "C:\Program Files (x86)". Say for example, I've installed LV 2017 in "D:\Program Files (x86)\National Instruments\LabVIEW 2017", and this doesn't work (as I expected), because the Get System Directory function would always think/output "C:\Program Files (x86)" is/as the Application Directory for LabVIEW.