GIF Animation in LabVIEW
Primary Software: LabVIEW Development Systems>>LabVIEW Base Package
Primary Software Version: 8.0.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
I have an animated GIF that I've imported into LabVIEW using Edit»Import Picture From File... and pasted the image onto the front panel or block diagram. However, only the first frame of the animated GIF displays. Why isn't the GIF animated in LabVIEW?
LabVIEW does allow you to import some animated GIFs onto the front panel and the block diagram. Because of the way that the GIF specification is defined, there are multiple ways to do animation and LabVIEW does not necessarily support them all. Two of methods are control blocks and extension blocks. Control blocks allow you to specify the pause between images. Extension blocks are not necessarily a part of the GIF specification, but they are used by some applications (most commonly web browsers) to do animation. The effect of this is some animated GIFs will work in LabVIEW and others will not. Here are a couple of ideas you can try to animate your image in LabVIEW.
Attached are a two examples of GIFs which will work in LabVIEW. The 2S-m1-animated.gif was found on Google.
The test.gif was created using the shareware GIF animation utility called Barbarosa Gif Animator.
KnowledgeBase 24SDQP0W: How Do I Create an Animation Using a Picture Ring Control in LabVIEW?
Report Date: 05/12/2004
Last Updated: 04/28/2006
Document ID: 39BH533U