09-27-2017 05:30 PM
Once I start the VI Analyzer via the API, is there a way to stop it and get just the results so far, similar to the interactive utility?
09-27-2017 10:42 PM
There's no official way to abort a programmatic analysis.
Wanna know the unofficial way? 😉
See the attached VI, saved in LabVIEW 2014. It's a modified version of the 'Advanced VI Analysis.vi' shipping example, but it updates an internal functional global in the VI Analyzer to abort the programmatic analysis. This approach is not officially supported by NI, but I can't think of any reason why it wouldn't work in general use cases.
09-28-2017 03:21 PM
Thanks for exposing this! Sometimes we select directories that we didn't expect to take so long, and my users just quit.
10-05-2017 04:57 PM
FYI, I'm going to try to get this functionality added to VI Analyzer 2018. If I'm successful, it will be an optional parameter on the VIAn Get Analysis Status.vi.