LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Rotation of a 3D object

Hi

 

I am using LV 2013. I want to perform 1 deg rotation of a 3D object 360 times with resp to x & y axis.

 

For each 1 deg rotn of object wrt x axis, i need to perform 360 rotations of rotated object wrt y axis.

 

I use 2 nested for loops for this purpose. Whenever I try with small loop counts I get rotation about one axis only. When I use loop count 360, I get rotation about one axis only and after some amount of iteration it shows some error.

 

Please take a look at my VI

 

Thanks in Advance 

 

Vishnu.T

 

 

0 Kudos
Message 1 of 3
(2,508 Views)
The setup window.vi should be placed outside of the loop. Then, pass the reference wire and create one shift register

PS: Uncheck the "Erase First" property of 2D Picture in FP.
0 Kudos
Message 2 of 3
(2,490 Views)

Thanks Jiddu I Got it correctly

0 Kudos
Message 3 of 3
(2,437 Views)