LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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 Kudos
Message 1 of 10
(7,200 Views)

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 Kudos
Message 2 of 10
(7,177 Views)

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 Kudos
Message 3 of 10
(7,170 Views)

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

0 Kudos
Message 4 of 10
(7,125 Views)

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 Kudos
Message 5 of 10
(7,116 Views)

Yes, i'm using picture ring

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

0 Kudos
Message 6 of 10
(7,112 Views)

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 Kudos
Message 7 of 10
(7,089 Views)

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

 

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

 

 

0 Kudos
Message 8 of 10
(7,079 Views)

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

Download All
0 Kudos
Message 9 of 10
(7,063 Views)

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 Kudos
Message 10 of 10
(7,003 Views)