06-22-2011 09:37 AM
Hi everyone,
I want to make a animation for a fan.
The function that I made is in a VI.
This VI is attached as attachment and is build with Labview 8.2.
The problem is that I can not make the animation working outside of the block "Axial Fan Anim."
Please have a look at it and if you have a solution, please tell me.
Regards,
Kenny
Solved! Go to Solution.
06-22-2011 09:45 AM
Your forgot to include the subVI.
06-22-2011 09:54 AM
06-23-2011 01:26 AM
Hi Altenbach,
I saw your VI.
But the fan is not turning around very smoothly.
Please check my VI (now with subVI) and look if you can find the problem.
The problem is that the fan is turning in the block.
But as soon as he get out, it won't.
I connected it right in the "Axial_fan_Animation" to a connection in the icon.
It would be nice if you can have a look at it again.
Regards,
Kenny
06-23-2011 01:35 AM
Hi Cheese11,
Check the VI now.
Regards,
Nitzz
(Give Kudos to good Anwers and Mark it as a Solution if your problem is Solved;))
06-23-2011 02:20 AM - edited 06-23-2011 02:23 AM
@Cheese11 wrote:
But the fan is not turning around very smoothly.
The problem is that you have only three frames and the first and last frames look the same. You need three frames that differ by a 20 degree rotation. (For even smoother animation, increase the number of frames). Also remember that LabVIEW starts counting with zero. You never show frame 0.
Also, your ring should be an integer (blue), DBL seems silly.
@Cheese11 wrote:
But as soon as he get out, it won't.
Sorry, I don't understand. What you mean with this. Who is "he"? "get out" of what?
06-23-2011 02:28 AM
Hi,
I think what he meant is about the program control running out of the while loops. What he has done in his previous example is, he has made a subVI with the running fan and passed the values to the mainVI. But the fan in the mainVI doesn't run simultaneously because he has put a while loop in his subVI and there is no loop in the mainVI at all. I have inserted a while loop in the mainVI and made the subVI loop run only once by wiring a true constant to its conditional terminal. Looks like the fan is running in the mainVI now.
Regards,
Nitzz