10-22-2009 09:25 AM
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
10-26-2009 07:01 AM
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,