LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I get the value of several plots in one cursor?

I made a VI that reads the temperature and humidity of the graph.

I succeeded in using cursors to read values for each plot.

But what I want is to get two values for one cursor at the same time.
In other words, I want to get two Y values for one X value at the same time.

What should I do?

 

 

1.PNG2.PNG

0 Kudos
Message 1 of 2
(1,028 Views)

Hi seongmo,

 


@seongmo1476 wrote:

But what I want is to get two values for one cursor at the same time.
In other words, I want to get two Y values for one X value at the same time.
What should I do?


Read the x position of one cursor.

Then find the corresponding Y data for each plot based on this cursor x position…

 

Btw. IndexArray is resizable for more outputs: no need for two IndexArray functions. And it also counts its index inputs automatically starting from zero, so you don't even need those index constants…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(989 Views)