LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Darren's Weekly Nugget 07/27/2009

It's a rare occasion that I come across a LabVIEW feature I've never seen before.  Today was one of those occasions.  It turns out there is a menu full of juicy options when you right-click on the scrollbar of a VI's front panel:

 

 scrollbar_right_click.png

 

Most of these options have to do with the Pane adjacent to the scrollbar...of course, on a front panel with no splitter bars, there is only one Pane.  So if you are dealing with a front panel with multiple panes, the Visible Items > Label menu option is handy for renaming the pane.  The Create > Reference menu option is also handy for quickly creating a control reference that you can use for programmatically manipulating the pane.  But the coolest out of all of them is probably the Properties menu option, that gives you the property page for the pane:

 

pane_background.png

 

How come nobody ever told me there was this easy way of assigning a background image to the panel?  There are a few stock images that come with LabVIEW (shown in the dialog above, and available on disk in the [LabVIEW]\resource\backgrounds folder), but as you can see, you can also choose your own image, and there are options for tiling the image, stretching it, or centering it.  

Message 1 of 12
(7,110 Views)

Darren wrote:

How come nobody ever told me there was this easy way of assigning a background image to the panel? 


Eyes-on VIs 

 

Smiley Surprised

Message 2 of 12
(7,097 Views)

Gleichman wrote:

Eyes-on VIs 

 


That post was back in 2007!  I didn't start reading blogs until 2009.  😛

0 Kudos
Message 3 of 12
(7,086 Views)

Darren wrote:

I didn't start reading blogs until 2009.  😛


How about nuggets?

___________________
Try to take over the world!
0 Kudos
Message 4 of 12
(7,069 Views)
I've been using custom background images for quite some time. It's the single best thing you can do to make a front panel look good.
PaulG.

LabVIEW versions 5.0 - 2023

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 5 of 12
(7,064 Views)

Edit!

 

See Yair's reply above.

 

Ben

Message Edited by Ben on 07-27-2009 02:00 PM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 12
(7,061 Views)

tst wrote:
How about nuggets?

Hey, this is my 90th nugget.  I'm surprised I've made it this long before I copied somebody else's.  😉

0 Kudos
Message 7 of 12
(7,032 Views)

If you want to finish an Uber-Nugget I started called "E UNUM PLURABUS - Out of One Many" that shows how to combine a sub-panel a Pictue Control and dynamic event registration to allow you to "un-dock" regions of your GUI. E-mail and you can finish it up. Smiley Wink

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 8 of 12
(7,029 Views)

Ben,

 

 

I would love to see how you are foing that.




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 9 of 12
(6,891 Views)

We'll call this Nugget a refresher course..  😉

 

 

Message 10 of 12
(6,880 Views)