Why Is There a Lock Icon in the Corner of a Loop in My LabVIEW VI?

Updated Aug 12, 2019

Issue Details

Why is there a black and white icon of a lock in the upper right hand corner of my For Loop or my While Loop?
 

Solution

This icon represents that these loops are part of a state machine that can be edited using the LabVIEW State Diagram Toolkit.

The state machine code can be unlocked from the State Diagram Toolkit by right-clicking the loop and selecting "Unlock Code from State Diagram". This will permanently unlock the code from the State Diagram Toolkit

WAS THIS ARTICLE HELPFUL?

Not Helpful