Generating Text Documentation for VIs, Templates, and Objects

Complete the following steps to generate text (.txt) documentation for a VI, template, or object.

  1. Open any VI, control, global variable, or template file and select File»Print to display the Print dialog box.
  2. In the Select VIs page of the Print dialog box, select the file or files from which to generate text documentation.
  3. Click the Next button to move to the Print contents page.
  4. Select the components you want to include in the documentation.
  5. Click the Next button to move to the Page setup page.
  6. Select the options to set the appearance of the documentation.
  7. Click the Next button to move to the Destination page.
  8. Select Plain text.
  9. Click the Next button to move to the Plain text options page.
  10. Place a checkmark in the Limit text per line to checkbox to specify the number of characters that appear on each line of text.
  11. Click the Save button to display a file dialog box. The dialog box prompts you to name the text file and select the directory where you want to save the file. The default name of any text documentation is the name of the VI with a .txt extension.

You also can use the Print VI to Text method to generate VI documentation in text format programmatically.