LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading points from graph

Hi there

I have tried to look for answers to my question in the LabView Examples, but with no luck. Therefor I would like to ask you for help.

 

The question isn’t very long – is there a way to determine to coordinates of points in which two plots intersect? Like in the example vi – I’ve made a random function and a constant one – 4. There are places where they intersect. Is there a function/block that I can use to find the exact (more or less) points (X and Y coordinates) in which they intersect?

 

Thank you for the answer. 

0 Kudos
Message 1 of 5
(2,621 Views)

Hi Rockfor,

 

Please try this.

Create a cursor and obtain the coordinates.

 

Example_mod.png

 

I Hope its Useful.

 

Regards,

Bijay

0 Kudos
Message 2 of 5
(2,604 Views)

There is other way,

 export the data to excel file then read from excel... If it is ok with you Smiley Wink

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 3 of 5
(2,580 Views)

Hi Rockfor!

I created for you an example subVI, which can calculates / estimates the X coordinates of the 0 crossings.

Using this, you can calculate any kind of intersection.

I also extended your example code with this subVI and attached it to the post.

Feel free to explore, and if you have any question, feel free to ask.

 

Best Regards,

Tamas

National Instruments

0crossing.png

Download All
Message 4 of 5
(2,573 Views)

Thank you, this seems to be the answer 🙂 i'll check it and let you know. 

0 Kudos
Message 5 of 5
(2,531 Views)