As described in the Generating HTML Documentation for VIs, Templates, and Objects manual, there is an integrated function, which you can use for generating a VI documentation.
Report Generation ToolkitIf you do need to generate a VI documentation programmatically, you can use a LabVIEW Report Generation Toolkit.
Refer to the example located in the
C:\Program Files\National Instruments\LabVIEW 2024\examples\Report Generation folder.
Invoke NodeIn another way, you can generate VI documentation by calling the integrated function through the Invoke Node.
Place an
Invoke Node from the
Application Control palette, place an
Open VI Reference function, and connect
Open VI Reference to the
Invoke Node. Left-click on the
Invoke Node and select
Print>>VI to HTML.
The VI should look the same as in the screenshot below.