LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
noneflight

//Commenting areas of code

Status: Declined
Already implemented in LabVIEW.

To be able to select a part of the code in the block diagram and have a tool to make that all a comment (in grey colour and with shadings or something) that is it would be there but completly inactive.

It would work like commenting a piece of code in any other programming language.

It would be useful because sometimes you don't want to actually delete that piece of code. You just want to run the rest of the code as if that part of the code was not there.

Obviously the respective wires would be affected and go into the commenting area. 

5 Comments
SimonH
NI Employee (retired)

Would this be the same as the Diagram Disable structure or something different?

tst
Knight of NI Knight of NI
Knight of NI

Just to clarify Simon's reply - LV already has the Diagram Disable Structure which does this.


___________________
Try to take over the world!
noneflight
Member

I dind't know about that.

Knight of NI

The LabVIEW Help can be a wonderful thing. If you open the help, switch to the Index tab, and type "comment", you will see:

 

LabVIEW Help_CommentingOutCode.png

G-Money
NI Employee (retired)
Status changed to: Declined
Already implemented in LabVIEW.