ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

probleme rotation coordinate

Solved!
Go to solution

Hi everybody,

I`m going to try to be clear, but I have juste one problem with the coordinate about a rotate rectangle.

So, first I have this data, and when I put in Excel I have a right rectangle.
labview1.png

 

SO now I know that I have to modify the data with the rotation, It`s what I did.

labview2.png

 

It worked very well, I tried with graph and to modify the degree of rotation it was perfect I had good rotated rectangle.
My next step and final step was just to put the coordinate on excel and reproduce the same rectangle on one graph in Excel.
And it`s there that I met the problem.

 

labview3.png

I have no Idea why, and I don`t see what to change to fix that......

I now that just one rotation of 90 degree it`s enough to correct the position but where can I change something?

prob rotation triangle.png

 

If somenody know something about that or have the solution, you`re welcome.

Sorry about this big post but I think is more clear with picture than more text.

Thank you again for your answers (in advance)

Maxime

0 Kudos
Message 1 of 3
(3,259 Views)
Solution
Accepted by topic author Gerday.M

Direction of rotation?

 

In Excel, it looks like a postive rotation causes it to rotate clockwise.

 

I didn't dig into your math, but in a lot of programs (like Autocad), a positive rotation angle is counter clockwise following the right hand rule.  Where 0 is the + X axis and a line from there rotates towards the + Y axis with a + angle.

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

Yes Thanks you a lot.

We just found the solution at the same time.

You`re right!!!!!

I`m feel really relieved

0 Kudos
Message 3 of 3
(3,250 Views)