LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change visibility of images pasted on the front panel?

Solved!
Go to solution

Hello,

 

I'm using LabView 8.5 and I have pasted images on my front panel.

Is there a way to programmatically change the visibility of these images (i.e. have them displayed sometimes and not at other times)?

 

There doesn't seem to be an option to get a visibility node (or anything else programatic) when I secondary click on the images.

 

 

Alternatively, if there is some kind of control in 8.5 that I could load and display images in order to obtain this visible/not visible functionality, that would also be helpful.

 

Thank you in advance

Frenk

0 Kudos
Message 1 of 6
(3,818 Views)

You are looking for the picture control. This thread seems to have answered the question

=====================
LabVIEW 2012


0 Kudos
Message 2 of 6
(3,814 Views)

That is perfect. Thanks very much.

 

Would you know how that poster changed the frame of the picturebox to be transparent? Right clicking didn't seem to give me access to something obvious.

 

Thanks again,

Frenk

0 Kudos
Message 3 of 6
(3,804 Views)
Solution
Accepted by topic author Frenk
Yes, you use the same paintbrush tool as you use to change the color. One of the color options is a white looking box with a "T" in it.
=====================
LabVIEW 2012


Message 4 of 6
(3,796 Views)

Perfect. Thanks a bunch!

 

0 Kudos
Message 5 of 6
(3,786 Views)
One thing to keep in mind if you are using the picture control to hold a static value (i.e. Default value) is that the image will be in bitmap format and can be rather large. The pict ring or customized Boolean can store the value in PNG or JPG format. Sometimes I wil store the PNG data in a string and draw it to the picture control using the PNG to LV Data VI.
Message 6 of 6
(3,779 Views)