キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

How to create a rotating fan

Hi there, i need to create VI with rotating fan with possibility to change speed and direction.
I need that object Ring should be placed here, but i don't know definitely how.

Can someone help me?

here is fan 

 

0 件の賞賛
メッセージ1/10
7,803件の閲覧回数

One common way to do this is to have the various images of the fan at different positions, and then populating a picture ring with the individual images. Then you can simply cycle through the picture ring values in a loop.

 

You could also use an animated GIF right on the front panel, but these tend to be resource hogs.

0 件の賞賛
メッセージ2/10
7,780件の閲覧回数

What about the VI altenbach provided in this thread?

 

http://ni.lithium.com/t5/LabVIEW/How-to-rotate-objects-or-pictures-on-my-FP/td-p/196148/page/2

 

You could control the speed at which it rotated by controlling your loop speed.

0 件の賞賛
メッセージ3/10
7,773件の閲覧回数

can someone help me and insert my image and add possibility to change direction and speed of rotation ?

0 件の賞賛
メッセージ4/10
7,728件の閲覧回数

Insert an image where? What solution are you using? If you're using a picture ring, adding of items is documented in the LabVIEW Help. Did you read it?

0 件の賞賛
メッセージ5/10
7,719件の閲覧回数

Yes, i'm using picture ring

I mean controls of rotation, i just don't get it clearly

0 件の賞賛
メッセージ6/10
7,715件の閲覧回数

A single image of a fan is not enough.  You need several images of the fan at different angles.  You'll have to generate those images yourself, or find them somewhere.  Then you can insert the images into the ring.  By changing the ring value you will get the appearance of the fan rotating.  But you cannot do it with the single image of the fan that you posted.

0 件の賞賛
メッセージ7/10
7,692件の閲覧回数

There are some examples of fans and other animated images available here:

 

http://members.multimania.co.uk/sgctek/main.html

 

 

0 件の賞賛
メッセージ8/10
7,682件の閲覧回数

I have this solution, it's close to what i need, i just need to make a white background and automate the rotation, not by the manual selection

すべてをダウンロード
0 件の賞賛
メッセージ9/10
7,666件の閲覧回数

You said before you were using a picture ring. You are not. You are using a picture control. The solution you indicated is just altenbach's original example. I fail to see how this will solve your problem. That example is not designed to create a spinning anything. It just rotates a picture.

0 件の賞賛
メッセージ10/10
7,606件の閲覧回数