Table of Contents

03 Documentation

Comments

Comment Colors

Description RGB Color Code LV-internal Color Name
NI Default 255/255/215
NI Code Recommended 145/251/254 “template comment”
NI Example Code 255/179/42
HSE 108/0/128
DQMH HowTo 173/180/211 “tank housing”
DQMH MHL 136/255/215

Hashtags

#docgen XX Functional description of VIs. Optional: Sequenced with numbers starting with XX=01
#todo-abc Functionality is missing. Optional: Append intials (3 letters) to #todo for personalization
#fixme Errors that need fixing
#coderev Remarks during Code Reviews
#optimize Potential for optimization (v.A. FPGA)
#covers Marks code that directly deals with a certain requirement
#HSE Code specific to the HSE way of working in our templates
#DQMH_Howto Code specific to the HSE way of working in our templates
#CodeRecommended Code specific to the HSE way of working in our templates

Labels

VI Properties

Quickstart Template VIs

Quickstart VIs will have a comment placed on their block diagram as follows:

  This is a quickstart VI: A very simple example for using this package.
  
  This project ships with several examples which you can browse from 
  the Example Finder ("Help -> Find Examples…" menu item in the LabVIEW IDE).
  In the NI Example Finder, browsing the directory structure, navigate to "\HSE" 
  or "\Hampel Software Engineering" where you will find additional example VIs.

Projects

UML

Use PlantUML for server-side generation of diagrams from plain markdown text. Both Dokuwiki and Gitlab support PlantUML.

GitLab Syntax

  ```plantuml
  @startuml
  Alice -> Bob: Authentication Request
  Bob --> Alice: Authentication Response
  Alice -> Bob: Another authentication Request
  Alice <-- Bob: another authentication Response
  @enduml
  ```

DokuWiki Syntax

  <uml>
  @startuml
  Alice -> Bob: Authentication Request
  Bob --> Alice: Authentication Response
  Alice -> Bob: Another authentication Request
  Alice <-- Bob: another authentication Response
  @enduml
  </uml>

See Processes/Dokuwiki for a rendering example.

External Info


VI Documentation Generator


The HSE Way of Working:
A set of guidelines that recommend programming style, better practices, and methods for all our LabVIEW projects. We ask all our peers to follow these guidelines to help improve the readability of our shared source code and make software maintenance easier.