LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to play animated gifs on the front panel ?

I need to display programmatically an animated gif file, selected in a folder among hundred of others.
 
Apart using a web broser, a working solution that I don't like for cosmetic reasons (the window is ugly !), the only way I have identified so far would be to use an ActiveX container. I found one on the web, but unfortunately, I have not been able to make it work with LV
 
Any help would be appreciated.
Chilly Charly    (aka CC)
Message 1 of 4
(6,571 Views)
This worked for me.  You did remember to register the OCX, correct?



One problem I see is that it doesn't autosize and doesn't tell you what the size of the image is, so unless you know the size prior, you're goign to have to get the image attributes elsewhere.


Message Edited by Matthew Kelton on 11-04-2007 01:44 AM
Message 2 of 4
(6,562 Views)


Matthew Kelton a écrit:
This worked for me.  You did remember to register the OCX, correct?



One problem I see is that it doesn't autosize and doesn't tell you what the size of the image is, so unless you know the size prior, you're goign to have to get the image attributes elsewhere.


Message Edited by Matthew Kelton on 11-04-2007 01:44 AM



Yes, I did (although not immediately... :()
How did you get the "AnimatedGif" automation refnum ?
Chilly Charly    (aka CC)
0 Kudos
Message 3 of 4
(6,541 Views)
Don't bother answering Matthew,
After a restart, the AnimatedGif Control appears in the ActiveX objects list.
Didn't know a restart was required 😞
That should be OK now. Thanks a lot ! 🙂

Message Edité par chilly charly le 11-04-2007 12:01 PM
Chilly Charly    (aka CC)
0 Kudos
Message 4 of 4
(6,537 Views)