LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labels on front panel not locked as desired

Hello Juergen,

 

I did experience the same issues that you are having with the "Silver" controls pallet from the front panel.  This is an issue with the new edition of LabVIEW and it has been reported to R&D.  Unfortunately changing the settings to lock labels will have no effect on the silver controls.  The current solution is to manually lock each label even though I know this is time consuming and can be frustrating.  

 

Regards,

 

Marcus 

Marcus M.
PXI Product Support Engineer
National Instruments
0 Kudos
Message 11 of 18
(513 Views)

Hi Marcus,

 

I also work with a couple of VIs originally made with a previous version of LabView, probably even pre-2010. There, all elements I create ignore the label locking setting entirely and I have to lock every single label by hand. I hope that a bug-fix update in the near future will fix this.

 

Thanks,

 

Juergen

0 Kudos
Message 12 of 18
(500 Views)

You can easily do this with scripting.

 

Run the attached VI.  Select your front panel then press the button on this VI.

0 Kudos
Message 13 of 18
(496 Views)

Thanks for this tip. This is certainly helpful when I need to lock all existing labels. But while developing I also want to grab the elements to position them where I want them. And I feel I can do that most reliably when I grab the labels. So I need to lock them right after they appear on the front or back panel. Being more of a text-based person and used to the keyboard rather the mouse (labview-mode for emacs anybody? Never mind!) I want to minimize the number of mouse clicks and repetitive work with the mouse as much as possible (think about DRY: don't repeat yourself).

 

Juergen

0 Kudos
Message 14 of 18
(490 Views)

I would suggest you look at creating either a Quick-Drop or JKI Right Click Framework plug-in.  Either would probably work and either would be relatively simple.

 

LabVIEW is a graphical language, so needs a mouse.  But there is an awful lot you can do from the keyboard, especially if you are willing to customize it for yourself.

0 Kudos
Message 15 of 18
(485 Views)

Thanks for your suggestions. I already use Quick-Drop as much as possible, but I can certainly still learn how to use it more effectively.

 

I was only partially serious about wanting to get rid of the mouse, but I could envision an interface design where both the mouse and the keyboard could be used to program VIs. Or where the mouse is being replaced with multi-finger touch gestures on a touch display similar to the ones on contemporary smart phones.

 

I think the next thing I want to do is move a lot of code to a scripting language, Python. Then I can test the Python modules in ipython and, when done, insert them into LabView. Or the next best thing would be LabWindows.

 

Thanks,

 

Juergen

0 Kudos
Message 16 of 18
(476 Views)

If you interface ideas are not already in the LabVIEW Idea Exchange, consider posting them.

0 Kudos
Message 17 of 18
(472 Views)
0 Kudos
Message 18 of 18
(465 Views)