LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How could I possibly remove the default picture in the picture control?

Solved!
Go to solution

I've been using the picture control and a bit of code to create a zoom effect on a picture. It all works great however I get a labview picture when the Vi is first loaded. I'm trying to get a blank area instead cause it doesn't look really tidy!

 

I've attached a picture and my code.

 

Thanks for your help

 

Picture zoom.jpg

 

 

 

 

 

 

 

 

 

 

0 Kudos
Message 1 of 3
(2,805 Views)
Solution
Accepted by topic author Mr B

The image is configured to be the default value of "Picture". In other words: you have to get rid of the default. You can do this by either:

a) Delete "Picture" and create it again. Disadvantage: You have to recreate all property nodes connected to this control.

b) Load an empty picture and then select "Data Operations >> Make Current Value Default".

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 3
(2,799 Views)

I have a jpg or bmp.  Is there a way to place this on the front panel of a vi..programmatically??  I don't want to cut and paste.  Want to be able to chg the bmp just by chg the file name.  I eventually want to bring the vi in Teststand and chg it programmatically so I need to maybe specify the path.  The help for "Picture" is awful.

Thanks!

0 Kudos
Message 3 of 3
(2,718 Views)