LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to center loop

I'd like to move 1st loop (the biger one) to cener -correction on x and y axis
if anyone can take a look - pic and data in attachment
 
lw7.1 user
Download All
0 Kudos
Message 1 of 8
(3,083 Views)
Well, I assume you know where your data come from so you should be able to figure out how to find the "centre point" of that loop, max-min or mean or else...
Then just substract the Xc to the X array and Yc to the Y array.

We can help you with the code if your are stuck but we can do your job for you. Have a try and post your code if your can't make it ;).


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 8
(3,076 Views)
I did somethng, but I still have problem with the poins.Any idea to correct?
0 Kudos
Message 3 of 8
(3,038 Views)
ok I did itSmiley Very Happy  thanks for..
0 Kudos
Message 4 of 8
(3,018 Views)
I could not make heads or tails of your vi. 

I think this is more what TiTou had in mind.

Message Edited by jasonhill on 07-11-2006 08:26 AM

0 Kudos
Message 5 of 8
(3,013 Views)
should this return anything?, couse it returns nothing to me.please let me know.
 
well, I found poins(0,maxy) and (0,miny) wih my prog.  but when I substract diference from original loop, the lopp's still not in a center at all
do you know why?should I do something diferent than substract?
0 Kudos
Message 6 of 8
(2,987 Views)