12-15-2010 05:33 PM
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.
12-15-2010 07:15 PM
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.