From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(4,335 Views)
Solution
Accepted by topic author 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
(4,294 Views)

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

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