LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help!! Running an animation in a synchronized way with a time waveform graph.

Hi guys,

I need a help, basically I wanted to create an animation for example a motor is running and I want to show the speed of the motor in a waveform graph, if the speed of the motor is increasing then the amplitude of the waveform is increase in a sequence way like a motor having a speed of 4 rpm (in a graph the waveform should have an amplitude of 4 and if a motor is having a speed of 2 rpm than the graph should have an amplitude of a 2 and vice versa) and this is done at the running time of a vi. 

Have anybody know how to solve it and teach me the solution. thank you very much

 

0 Kudos
Message 1 of 8
(1,056 Views)

Hi amnazafar,

 


amnazafar021@gmail.com wrote:

I wanted to create an animation for example a motor is running and I want to show the speed of the motor in a waveform graph, if the speed of the motor is increasing then the amplitude of the waveform is increase in a sequence way like a motor having a speed of 4 rpm (in a graph the waveform should have an amplitude of 4 and if a motor is having a speed of 2 rpm than the graph should have an amplitude of a 2 and vice versa) and this is done at the running time of a vi. 


An animation typically consists of a series of images/frames. The "animation speed" is the speed for switching between those frames…

 

So when you want to sync the animation to your motor speed you "just" need to show the animation frames with different delays between each frame!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 8
(1,010 Views)

Check this video, it will give you some start up ideas. 

https://www.youtube.com/watch?v=5NvGf2Mr9zA

0 Kudos
Message 3 of 8
(965 Views)

Hey! I was wondering if there is a way to create such simulation in labView that I have Attached below, where you could control the speed of the animation and get a corresponding simulation.

0 Kudos
Message 4 of 8
(957 Views)

LabVIEW is capable to do most complex simulation as well, but with picture its difficult to understand exactly what  you are trying to simulate.

 

Need to generate sine wave? based on the rotation of the Fan?, Detailed requirement will be better.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 5 of 8
(935 Views)

Hi amnazafar,

 


amnazafar021@gmail.com wrote:

Hey! I was wondering if there is a way to create such simulation in labView that I have Attached below, where you could control the speed of the animation and get a corresponding simulation.


Please keep discussions in one place instead of creating new threads, especially when you already received answers…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 8
(922 Views)

yes we need to generate a sine wave based on the rotation of a fan, further we are trying if the speed of a fan is slow then the amplitude of a sine wave is also reduced further more is the speed of a fan is increased than the amplitude of a sine wave is also increased 

0 Kudos
Message 7 of 8
(858 Views)

Hi amnazafar,

 


amnazafar021@gmail.com wrote:

yes we need to generate a sine wave based on the rotation of a fan, further we are trying if the speed of a fan is slow then the amplitude of a sine wave is also reduced further more is the speed of a fan is increased than the amplitude of a sine wave is also increased 


So there are two parameters "fan rotation position and speed" that are converted to "sine wave phase and amplitude". This sounds like pure and rather simple math: what have you tried and where are you stuck?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 8
(849 Views)