07-13-2017 06:09 AM
What I would like to be able to do is extract the labels (specifically the free labels) from all the VIs in my project. I then plan to process the labels to extract information (specifically any lines tagged with, say, and @ symbol) and dump this out to documents.
Does anyone know how to, using LabVIEW, extract the free labels from a VI?
More generally, the reason why is I would like to be able to automatically generate documentation for my VI (much like you can do with, say, Javadocs). I've had a look at Bookmarks and this doesn't quite seem to do what I'm after (e.g. can't extract it, can't processes it, can't format the output, etc.) but I may have missed something.
Many thanks,
07-13-2017 07:07 AM
You can do that using scripting.
There are plenty of examples on the forum, here are a couple.
https://forums.ni.com/t5/LabVIEW/VI-scripting-to-read-block-diagram-comments/m-p/3176989#M918505
https://forums.ni.com/t5/Example-Program-Drafts/Quickly-creating-VI-documentation/ta-p/3536600
07-13-2017 07:27 AM