Example Code

Group, color and comment code of the Block Diagram

During development of LabView visual program code often a reorder or 'clean up' of VI's, functions, controls, indicators, etc.of a block diagram is necessary.

In some cases it would be helpful to keep parts of the code together and comment the group and color the background of the group.

This is normally not possible with the given functions of LabView .

The Diagram disable function is a simple tool to get the missed functionality:

Bildschirminhalt erfassen-1.jpg

This is a easy way to group, highlight and comment parts of LabView visual code without any influence on the execution time of the compiled

block diagram code.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
hewu
Member
Member
on

This method allows to highlight and comment a certain part of the LV code. The most interested part is to group the code and documentation to one part.

Contributors