Jump to content

[CR] Document Generator


Recommended Posts

index.php?app=downloads&module=display&section=screenshot&id=165

Name: Document Generator

Submitter: mesmith

Submitted: 18 Feb 2011

File Updated: 25 Feb 2011

Category:General

LabVIEW Version: 2009

License Type: BSD (Most common)

Document Generator v1.0.0

Copyright © 2011, Mark Smith

All rights reserved.

Author: Mark Smith

LAVA Name: mesmith

Contact Info: Contact via PM on lavag.org

LabVIEW Versions:

2009

Dependencies:

None

Description:

This class is used to generate a single summary document for any folder containing LabVIEW elements (controls, VIs, projects, classes, or libraries (lvlib)). It recursively traverses the folder structure and reads the documentation from all VIs (including custom controls) and the documentation attached to all front panel controls. The class uses that information to build a document in HTML, RTF (rich text), or plain text (ASCII) formats.

HTML is the preferred format, since this is the only format that includes lvclass descriptions and also supports the creation of a hyperlinked table of contents (TOC).

The user can choose to

- use short or long formats - the long format includes the descriptions on all front panel controls

- Include or exclude custom controls from the document

- Include or exclude private members of a class or library

- Include or exclude protected members of a class or library

One might choose to exclude private and protected members if the intention is to create an API document for the class or library

- enable or disable a dialog that warns that an existing html file is about to be replaced by the Document Generator

Installation and instructions:

Unzip and open the Document Generator.lvclass

Examples:

The UI.vi is an interactive interface for creating documents. The Generate.vi provides an API if the user wants to programatically call this utility. They can be found in the Public->Methods virtual folder.

Known Issues:

Any documentation read from the source elements (VIs, controls, projects, etc.) is treated as pure text. There is currently no provision for escaping characters that might be interpreted as control characters in HTML.

Version History:

v1.0.0: Initial release of the code.

License:

Distributed under BSD

(http://creativecommo...g/licenses/BSD/)

See link for a full description of the license.

Support:

If you have any problems with this code or want to suggest features:

please go to lavag.org and Navigate to LAVA > Resources > Code Repository (Certified) and

search for the "Document Generator" support page.

Distribution:

This code was downloaded from the LAVA Code Repository found at lavag.org

Click here to download this file

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.