You can run a VI with a section of the block diagram disabled, similar to commenting out a section of code in a text-based programming language.
Complete the following steps to run a VI with a section of the block diagram disabled.
To execute the section of the block diagram you disabled, select the Disabled subdiagram, right-click the structure border, and select Remove Diagram Disable Structure from the shortcut menu.
![]() |
Note When you select Remove Diagram Disable Structure, LabVIEW deletes objects in all subdiagrams except for the visible subdiagram. |
Refer to the Diagram Disable Structure VI in the labview\examples\Structures\Disable Structures directory for an example of using the Diagram Disable structure.