What is documented

The add-on parses the lvproj content to find information and build the documentation.

The document hierarchy follows the order of the sections below.

If the content is not found. The corresponding section doesn’t appear in the documentation generated.
For example, if there are no classes in the project, you’ll not have a Classes section.

Project Description Section

This section describes your project

lvproj description in the documentation
Figure 1. Project section sample
Source of information

Content comes from the lvproj description.

lvproj description

Stand-alone VIs Section

This section decribes all VIs and typedefs that do not belong to any libraries.

stand-alone VIs description in the documentation
Figure 2. Stand-alone VIs section sample

DQMH® Modules Section

This section describes DQMH® modules and their relationship contained in your project.

The section starts with a table listing all modules in the project and an overall relationship diagram.

DQMH modules overview in the documentation
Figure 3. DQMH® modules overview section sample

For each DQMH module a section is created with the following content:

  • Module type, Singleton or Cloneable.

  • Responsibility, description of the lvlib file.

  • Module relationship:

    • Diagram between this module and the rest of the project

    • Table listing the Requests callers

    • Table listing the Broadcasts listeners

    • Table listing other modules Requests used by this module

    • Table listing other modules Broadcasts listened to by this module

  • Event list, all Requests, Requests and Wait For Reply, and Broadcasts available in the module

  • Module’s Start and Stop requests callers

  • Module Helper Loops, a list of the helper loops found in the module

  • Module custom errors, a list of the custom errors created in the module

  • Module Constant VIs, a list of the constant VIs created in the module

DQMH module section in the documentation
Figure 4. DQMH® module section sample
Source of information

Content comes from:

  • Module library description.

  • Requests, Requests and Wait For Reply, and Broadcasts VIs descriptions.

  • Relationship information is obtained by code analysis.

  • Error VIs → vi named *--error.vi

  • Constant VIs → vi named *--constant.vi

Librairies Section

This section lists all the libraries that are not DQMH modules or classes.

For each library, a specific section is created with the following content:

  • Responsibility, description of the lvlib file.

  • Version, version of the lvlib file.

  • Functions, table of all non-private functions with their name, connector pane picture, description, scope setting, reentrancy setting, and inlining setting.

lvlib description in the documentation
Figure 5. Library section sample
Source of information

Content comes from:

  • The lvlib description.

lvlib description
  • The lvlib version.

lvlib version
  • List of VIs owned by the library.

Classes Section

This section lists all classes and interfaces in the project and a UML class diagram is displayed.

DQMH modules overview in the documentation
Figure 6. Classes overview section sample

For each class, a specific section is created with the following content:

  • Responsibility, description of the lvlib file.

  • Version, version of the lvlib file.

  • UML Class diagram, direct parent class diagram

  • Functions, table of all non-private functions with their name, connector pane picture, description, scope setting, reentrancy setting, and inlining setting.

lvcass description in the documentation
Figure 7. Class section sample
Source of information

Content comes from:

  • The lvclass description.

  • The lvclass version.

  • List of VIs owned by the class.

  • Class hierarchy diagrams are obtained by code analysis.

JKI State Machines section

This section lists all the VIs that contain a JKI State Machine.

JKI State Machine description in the documentation
Figure 8. JKI State Machine section sample
Source of information

Content comes from:

  • Owning VI description and connector pane

  • Code diagram

  • Comment in cases

Custom Errors Section

This section lists all the custom errors found in the project with the following information:

Custom errors found by the Antidoc add-on: LabVIEW project are the ones that follow the DQMH® framework way to create custom errors.

Here are the different supported parsing codes of VIs that have a name that finishes by --error.vi:

error code 1
error code 2
error code 3
Custom error section in the documentation
Figure 9. Custom errors section sample
In each library section (i.e., library, classes or DQMH module), a specific section is created that lists the errors found in the library.
Source of information

Content comes from:

  • Analysis of VIs that have a name that finishes by --error.vi

Bookmarks Section

This section lists the bookmarks found in the project.

For each bookmark a table lists the entire bookmark, the VI where the bookmark is and, if applicable, the owning library of the VI.

Bookmark section in the documentation
Figure 10. Bookmark section sample
In each library section (i.e., library, classes or DQMH module), a specific section is created that lists the bookmarks found in the library.
Source of information

Content comes from:

  • Block diagram analysis

Unit test results Section

This section add the result of unit test in the documentation.

Unit-test section in the documentation
Figure 11. Unit Test section sample
Source of information

Content comes from any JUnit files found in the folder of the lvproj you are documenting.

The JUnit file must have a xml extention to be found.

VI description display in the documention

Each library section lists there VI members. Depending on the option you chose before generating the documentation, the VI description is displayed differently.

Here is the comparison of the documentation of a library containing a VI with both the Extended VI Documentation enabled or disabled.

Enabling the Extended VI Documentation can result in a much larger document

Extended VI Documentation disabled

Condensed VI information in the documentation
Figure 12. Condensed documentation

Extended VI Documentation enabled

Extended VI information in the documentation
Figure 13. Extended documentation