LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Load in VI Server without subVIS?

I am writing a tool that will programmaticly read the VI History of a list of VIs.  There is no guarantee that subVIs will be available.  I see how to load the VI without the search box, but is there a way to load it without looking for the subVIs?  This would speed things up greatly.

 

0 Kudos
Message 1 of 2
(2,331 Views)

There is a private method of the Application Class to read the History without loading the VI.  My usual advice in this situation is to join the LabVIEW API group, ask the question there, and perhaps an NI engineer will decide that the method is safe and will post a VI which encapsulates it.  I have seen it happen a couple of times.  Sometimes these things are private for very good reason, other times mostly by oversight.

 

If that doesn't work, the History text seems to be saved in ascii inside the VI file. It probably is hard, but not too hard to figure out the pattern and extract the information that way.

0 Kudos
Message 2 of 2
(2,318 Views)