NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

gif图片的显示 问题

我为了增加界面的美观,使用了gif动画图片,放到界面上,想想的确不错。但问题就出来了,我
是要求它在我点了运行之后才出现图片,并不是时时刻刻都显示图片。这样我现在不知道如何实
现,得却很烦人,不知道哪位高人可以帮我个忙,多谢了,大家共同探讨学习,多谢了!
有什么建议或高招,都多谢了!
注:labvie显示gif图片要用到activex控件中有个gif有关的。
我把我的程序贴在这儿,需要的可以帮我看看,或者有什么好的建议,大家多支持了!谢谢!
0 项奖励
1 条消息(共 5 条)
6,060 次查看
我把一个gif图片贴这儿,大家可以下下,程序中图片大家用这个就可以,路径可以自己随便了,多谢了!
0 项奖励
2 条消息(共 5 条)
6,054 次查看
The other channel, that you can use "Midea Player" to achieve.
You can search all of my reply from forums. there are my attachment which is "Midea play" sample. it can help to control randomly.
________________________________________________________


Try to make everything Automatic
0 项奖励
3 条消息(共 5 条)
6,045 次查看
Problem: I would like to create an animation in LabVIEW. I believe I should use a Picture Ring Control, but I am not sure how to do it.

Solution:
  1. Open the first image of the animation sequence in a picture editor such as Microsoft Paint © and copy the picture to the clipboard (ctrl-c).
  2. From the Controls Palette select the control "Pict Ring" under the "Ring and Enum" Sub-Palette and place it on your Front Panel.
  3. Right click on the Pict Ring control and select the option "Import Picture"
    (If "Import Picture" option is disabled, then go to the top LabVIEW menu toolbar and select "Edit->Import Picture from File..." to add the image to the Clipboard first.)
  4. Go back to the picture editor and open the following image on the sequence, copy it.
  5. Right click on the Pict Ring control and select "Import Picture After"
  6. Repeat steps 4 and 5 until you have inserted all the pictures in the sequence.
  7. Right click on the Pict Ring control and select the option "Change to Indicator"
  8. In order to animate the object you have just created, you need to place a While Loop or For Loop around the Picture Ring control on the block diagram.
  9. Connect the iteration terminal ("i") to the function "Quotient & Remainder" and divide it by the number of pictures you have in your control. Connect the remainder output ("R") to your Picture Control.
0 项奖励
4 条消息(共 5 条)
6,031 次查看

Yes,"Picture Ring Control" can import many many pictures about. and show "moving picture", but the condition is that you must have many series pictures first.

if we havn't many pictures about. but a *.gif .  use the other software to explore GIF to many pictures off ? I think that it will be trouble.  ^.^

________________________________________________________


Try to make everything Automatic
0 项奖励
5 条消息(共 5 条)
6,028 次查看