LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Comment or exclude VIs

In a large Labview project, can one exclude portions of code

like something similar to #if 0,#endif or //rem in other languages

via a graphical method?

 

I am betting no, and the proper way would be to setup case statements

to segment sections of code...

 

Which is true?

 

-CSK

0 Kudos
Message 1 of 3
(2,539 Views)

While Case structures would work, we also have diagram disable, which is 100% analagous to commenting out text-based code.

 

 

Message Edited by Chris_VH on 03-30-2009 04:14 PM
Chris Van Horn
Applications Engineer
Message 2 of 3
(2,538 Views)

Hi CSK,

 

There is also a conditional disable structure in the programming structures palette. You can add many cases and specify user defined parameters in the Project properties to select which case will be used.

 

Hope that helps

 

Ruben 

0 Kudos
Message 3 of 3
(2,521 Views)