From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Matt B

Add Comment "Bubbles" option

Status: Duplicate

Properly commenting labview code is very important and also very cumbersome in labview.

Currently, text boxes are used to comment code, but the occupy valuable space in the block diagram, which also limits the amount of text you'd want to put in the box.

The text boxes also need to be moved/resized when things change, which is also time consuming.

 

 

each labview object ( case structures, variables, bools, etc...) could have an "enable comment bubble" option.  When you mouse over the object, the comment bubble

would appear.  This would allow large amounts of valuable information to be presented to the programmer without destroying the value of seeing the code layout without comments.

Properly commenting LabVIEW code is very important and also very cumbersome in LabVIEW.

Currently, text boxes are used to comment code, but the occupy valuable space in the block diagram, which also limits the amount of text you'd want to put in the box.

The text boxes also need to be moved/resized when things change, which is also time consuming.

Each LabVIEW object (case structures, variables, bools, etc...) could have an "enable comment bubble" option.  When you mouse over the object, the comment bubble

would appear.  This would allow large amounts of valuable information to be presented to the programmer without destroying the value of seeing the code layout without comments.

 

For example,

 

See Fig1.jpg

 

All the comments on the above VI could be associated with a particular object.  There could also be a “show all/hide all” option to quickly view all comments in the VI.

 

See Fig2.jpg

 

 

Mousing over the red-triangle (or whatever the comment indicator looks like) would result in the comment showing up:

 

And then disappear again when the mouse is moved off it.  The position of the comment box could default to a certain off-set from the indicator, or even better, the comment position would be configured by the user when the comment is created.

 

See Fig3.jpg

 

 

Download All
3 Comments
elset191
Active Participant

This is a duplicate of so many comment ideas I don't even know which one to post.

 

--
Tim Elsey
Certified LabVIEW Architect
Matt B
Member

hopefully they'll implement one of them then.

MaryH
Member
Status changed to: Duplicate