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: 

intersection on XY graph

Solved!
Go to solution

Hi, 

how to find intersection on graph entering   two points???

 

 

2.jpg

1.jpg

  

Download All
0 Kudos
Message 1 of 3
(5,163 Views)
Solution
Accepted by NikolaB

Two points make a line and the intersection is where the difference between line and data is zero. You probably need to interpolate. Seems simple geometry...

 

If you have a model for the data, you can do a nonlinear fit, and operate on the analytical curve, of course..

 

 

(Why are you doing "path to string" followed by "string to path"? Seems circular. Your VI uses 100% CPU when it is not doing anything)

0 Kudos
Message 2 of 3
(5,122 Views)

Of course in general there could be more than one intersection.

0 Kudos
Message 3 of 3
(4,670 Views)