VI Analyzer Enthusiasts Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Abort a running analysis?

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?

0 Kudos
Message 1 of 4
(3,174 Views)

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.

Message 2 of 4
(3,155 Views)

Thanks for exposing this!  Sometimes we select directories that we didn't expect to take so long, and my users just quit.

0 Kudos
Message 3 of 4
(3,142 Views)

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.

0 Kudos
Message 4 of 4
(3,122 Views)