From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,298 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,280 Views)

Thanks Jiddu I Got it correctly

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