Get SW Root folder in LabVIEWAnswered
Is it possible to get the path to the SW Root folder from the WATS client in LabVIEW?
I'm guessing this is something that probably will not change frequently, but instead of hardcoding it in LabVIEW the more correct method would be to query the WATS client.
I'm interested in this because I want to parse through the files in this directory.
The WATS_MES_GetPackageByName.vi or the WATS_MES_GetPackageByTag.vi both return the path to the top level files, but that requires having a specific package or tag. I am looking for a more generic solution.
Hi, yes that is possible.
In the dll Virinco.WATS.WATS-Core.dll there is a static class Virinco.WATS.Env that has a string property Virinco.WATS.Env.MESSoftwareDistributionRoot that holds the path for the software root folder.Comment actions
Please sign in to leave a comment.