LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Images placed on GUI vanish

I've placed some .jpeg images on my Labview GUI using the drag and drop method...  the images sometimes vanish while the vi is running.   It doesn't seem to happen at any noticable point in the vi's execution.    The pictures are free floating... ie they are not contained in a picture box or button.
 
I'm using Labview 8.21.   
 
 
Thanks!
0 Kudos
Message 1 of 5
(2,966 Views)
I need to correct my previous statement... I am dropping .GIF files on the front panel.    
 
 
Any assistance would be greatly appreciated.  
 
 
Thanks.
0 Kudos
Message 2 of 5
(2,936 Views)
I think LabVIEW, or the drawing package might mistake a static gif image with an animated gif. So, if after some time, the second (non existing) frame shows, and you'll see nothing anymore.


You could check if the gif is still there (you can still select it). One way to avoid it would be to convert the pictuers to bmp. Easiest way is to open the gif in paint, and select all, copy and paste in LabVIEW.


Regards,


Wiebe.
0 Kudos
Message 3 of 5
(2,916 Views)

Thanks!   Your suggestion worked great!  I changed them to animated .gifs and they stayed visible.    It did take a toll on the front panel refresh rate.    I wound up changing the .gif files to .png since I was only interested in the transparancy.   

 

 

Thanks again!

 

 

0 Kudos
Message 4 of 5
(2,894 Views)
I suggested bmp out of custom. PNG used to be not resizable. They changed that in LV8.2 (perhaps 8.0). So png is an excellent choice.

Regards,

Wiebe.
0 Kudos
Message 5 of 5
(2,885 Views)