LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cannot execute successive rotations on SceneObject

I created a scene with an 3D object (bottle) on which I would like to execute succesive rotations (X,Y,Z). My problem is that Labview executes only one rotation and not the others..

 

thanks you for your answer,

 

Kastillio

0 Kudos
Message 1 of 2
(2,601 Views)
 

Thank you so much for your post on our forum.

 

I created an example based on the VI You send Fact is that we need to use relative rotation. With absolute the previous rotation is cleared and the new rotation is done from the zero point. With your example this means that you first do the Y rotation and immediately the X rotation is done resetting the previous Y rotation. If you swap these two rotations you will notice that only the Y rotations works because the previous X will be reset.
As said I made an example based on relative rotation so the rotation will be done from the current position. I used the rotate object.vi and used a event structure looking at the value change from the x or y control. The function will be executed when these value changes occur.

 

Best regards,

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 2 of 2
(2,577 Views)