r/LabVIEW • u/megacurry • Oct 20 '26
Variables That Can't Be Deleted?
New to Labview, I'm modifying some old code and can't seem to delete these variables. Any help would be appreciated!
8
Upvotes
11
u/Bright-Leader2372 Oct 20 '26 edited Oct 20 '26
what do you mean you cannot delete them? can you select them? can you shift them on block diagram?the items are locked. to unlock them goto front panel, select these items with selection tool (they stay unselected - it is correct), click reorder button (the button with two arrows) and select unlock.
1
u/GreenLeaf_M Oct 20 '26
Mind to explain more on what do you mean by cannot delete?
3
u/almond5 Oct 20 '26
You can try deleting them on the front panel as well. Just double click those orange vars and it will take you to their location on the front panel. Otherwise, restart your instance and try again
2
u/hooovahh Champion Oct 20 '26
Glad you found the issue. But back in the days there was a feature that was meant to protect the developer. It wouldn't allow you to delete any front panel object from the block diagram. I think the feature still exists as an INI key but it used to be on the settings menu.
1
u/Electrical_Sheep_314 Oct 20 '26
Be sure they are not used somewhere before delete them ...
1
u/h1_flyer Oct 20 '26
You mean you can't run the VI after deleting it? Most likely there are local references for these variables.
1
u/Yamaeda Oct 21 '26
Those aren't variables. The wire is the variable.