LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

a front panel object with its position locked cannot be unlocked

Hi,

I am using LabVIEW 7.0. I have used the "lock" position menu item (on same menu as move to front, move to back, move forward, move backward etc) on a front panel object. I have saved the VI so i cannot undo the operation. I am trying to restore it back, but I cannot press the unlock option as I cannot select the object on the front panel with my mouse. I tried also double clicking the block diagram control to select the control on the front panel, and still with no success. If I double click on the object on the front panel though it will take me to the control object on the block diagram. And to worsen the problem, if i try to delete the object from the VI LabVIEW crashes with an insance objec
t error message. I have included a screenshot of this. I have access to the properties of the control, making it invisible/visible, enabled/disabled. I can keep the control in the VI and have it invisible, but I would really like to get rid of the control.

When i copied the control to a seperate VI to include on with this message, the control is normal and not locked.

Any help would be much appreciated.

Cheers.
0 Kudos
Message 1 of 7
(10,462 Views)
Hi Big-C,

sorry - no help or cure...

I could reproduce this behaviour: after locking the control I couldn't unlock it. All other properties are available by right-clicking the connector. But I can delete the control without crashing Labview - perhaps because I used a new blank VI without any other code in it.
So my advice: send an error description to NI as it seems to be a software problem...

Best regards
Gerd
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(10,462 Views)
> I could reproduce this behaviour: after locking the control I couldn't
> unlock it. All other properties are available by right-clicking the
> connector. But I can delete the control without crashing Labview -
> perhaps because I used a new blank VI without any other code in it.
> So my advice: send an error description to NI as it seems to be a
> software problem...

To unlock a control that doesn't respond to the mouse is a bit unique.
The way it works, you select the control and use the cycling arrows to
unlock. You usually can't select the control by clicking on it, you
need to make a selection rectangle, usually just a small one will do.
The selection will be more gray than the normal selection, then go
unlock it using the button. Of c
ourse if it still doesn't work, submit it.

Greg McKaskle
Message 3 of 7
(10,468 Views)
Greg,

Thanks a mill, worked a treat! Also, after unlocking the controls I could delete them and save the VI without LabVIEW crashing! *Happy Customer Smile*
0 Kudos
Message 4 of 7
(10,462 Views)
To unlock a control that doesn't respond to the mouse is a bit unique.
The way it works, you select the control and use the cycling arrows to
unlock. You usually can't select the control by clicking on it, you
need to make a selection rectangle, usually just a small one will do.
The selection will be more gray than the normal selection, then go
unlock it using the button. Of c
ourse if it still doesn't work, submit it.
Man, this just saved me from exhausting my extensive library of profanity!  I locked a group of controls and could not select them to unlock.  The selection rectangle worked but I'm confused as to why the standard "click to select" does not work in this case?

Cheers,
Greg Cole
“It is not the ship so much as the skillful sailing that ensures the prosperous voyage.”
0 Kudos
Message 5 of 7
(10,317 Views)
It was always my understanding that the whole point to locking a control was so that you couldn't click to select it (and then proceed to do things that the VI's author doesn't want you to do, like resize the control or change the default value).
0 Kudos
Message 6 of 7
(10,300 Views)

Press Ctrl+A. All components in the front panel will be selected. Then click Reorder>>Unlock. All front panel objects will be unlocked.

Message 7 of 7
(8,871 Views)