LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
JackDunaway

How about a Front Panel Cleanup?

Status: Completed

Available in LabVIEW 2019 and later. Press Ctrl-U on the front panel to clean it up to match the arrangement of controls on the connector pane. All controls not on the connector pane are arranged below the controls that are on the connector pane.

We (most of us) have come to find benefit in the Block Diagram cleanup - especially with the fresh upgrades that 2009 provides. How about a Front Panel Cleanup?

 

Our group has adopted the following standard (see below) in response to the otherwise neglected organization of SubVI front panels, and all of our SubVI's have this logical layout of FP objects.

 

So, here's the idea: have a button on the toolbar that "cleans up" a SubVI by organizing it into a "template" based on inputs and outputs as defined by the connector pane. If a FP object is not in the connector pane, place it in Local Data.

 

This idea could automatically be applied when using the Edit>Create SubVI menu item. The spirit of this idea resides in the fact that I think SubVI FP's should have a logical layout, and such a tool would reduce development time for this repetitive task that I perform on each SubVI I create. (Note that UI FP's do not conform to this standard!)

 

Please, vote on this idea based on it's merit and your ability to utilize such a tool, not on the template we use. If you like the idea but have a better template, post a picture! (You might even influence the way we make FP's!)

 

BEFORE FRONT PANEL CLEANUP:

BeforeFPCleanup.png

 

AFTER FRONT PANEL CLEANUP:

AfterFPCleanup.png

19 Comments
JackDunaway
Trusted Enthusiast
When proposed, I considered this as a great one-time time-saver when initially creating a subVI. Today after rearranging about half a dozen FP's with overlapping controls after a large typedef'd cluster change, it hit me that this idea also becomes a very handy maintenance tool.
drval
Member

Yes!  Great idea.  Sometimes I think NI's left hand doesn't know what the right hand is doing....

OlivierL
Member

This still seems to be a good idea to me, even 4 years later.  Has anybody produced a script to implement this feature by now?

 

-Edit- 

Found the answer at the bottom of this post: http://lavag.org/topic/6395-auto-wire-fp-to-connector-pane-tool-and-more/?p=37340

More official download seems to be located at: http://lavag.org/files/file/128-fp-subvi-fixer-ver-6-lv-2009/

Still, those would be nice features to be part of LabVIEW

Kristoff2
NI Employee (retired)

Hey guys,

 

I created a Front Panel Clean-Up quick drop shotcut that use for all my LabVIEW Hacker toolkits.  The utility is part of the 'LabVIEW Hacker Toolbox' and you can see it in action here and installation instructions are here

 

-Sam K

LabVIEW Hacker

Join / Follow the LabVIEW Hacker Group on google+

 

 

தமிழ்நேரம்
Member

Hi Everyone,

                            I have created similar utility and it cleans up the front panel even if the connector panes are not wired.

 

Find the similar Utility here

 

Also you can find the Icon creator and default value setting utility in the  same location.

 

Regards 

 

Anish T.

அன்புடன்
தமிழ் நேரம்
முதல் இந்திய ஆய்வுமெகபொப சிற்பி
சோதனைநிறுத்தம் சிற்பி
மற்ற சான்றிதழ்கள்
யாதும் ஊரே! யாவரும் கேளிர்!!

Siriusly
Member

A front panel cleanup function would save me a lot of time, even if it only makes all the controls visible in the current window.  Great idea!

Darren
Proven Zealot
Status changed to: In Beta
 
Darren
Proven Zealot
Status changed to: Completed

Available in LabVIEW 2019 and later. Press Ctrl-U on the front panel to clean it up to match the arrangement of controls on the connector pane. All controls not on the connector pane are arranged below the controls that are on the connector pane.

Nathan-M
Member

Can this be done through VI Server/VI Scripting the same way that you can do Block Diagram cleanup?

 

Nevermind, found what I was looking for:

<LabVIEW Installation>\resource\dialog\QuickDrop\plugins\_Arrange VIWin SubVIs\Arrange VIWin - Arrange FP.vi

Nathan Murphy