LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

need specific points in xy graph

I have xy graph-similar I drow and I'd like to find points, marked with red, automaic(not by hand with cursor) For he right point y value (x=0) and for he left one x value (y=0) The input are two arrays.
..if anyone can help..
0 Kudos
Message 1 of 6
(3,459 Views)
Basically, you want the smallest x for y=0 and the largest y for x=0.
 
Most likely, your points don't fall exactly on zero, so you must interpolate. This should be quite easy. Do you have an actual real data set for me to play with?
 
 
0 Kudos
Message 2 of 6
(3,448 Views)
here ara values for i think one loop,but is also problem to inport them correctly
0 Kudos
Message 3 of 6
(3,434 Views)
fco,
 
I have attached a vi to import the data file you posted. Not sure about the interpolation side of things mentioned by Christian. Hopefully Christian will help you out further using this as a baseline.
 
 
 
Give you a start at least...
 
David
 
Version 8

Message Edited by David Crawford on 04-21-2006 01:23 PM

0 Kudos
Message 4 of 6
(3,410 Views)
Well, I think easiest would be to convert the data to complex, search theta for the desired angles, then find the one with the largest R.
 
Attached is a quick attempt (LabVIEW 7.0). It seems to work with your data, but please verify the code. There are probably bugs. 😉
 
 
Message 5 of 6
(3,394 Views)
wow,many thanks...for now 🙂
(couldn't open cela.vi becouse I'm 7.1 user)
0 Kudos
Message 6 of 6
(3,380 Views)