LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I capture specific y-value corresponding x-value from xy graph?

 

I am using NI cDAQ (NI9215) to measure volts from two channels, which are x- and y-values for me. I want to use desired instantaneous x-value corresponding y-value to make some calculations during measurement.

How can I do this?

 

0 Kudos
Message 1 of 4
(3,002 Views)

Please post some code. If you can't post the entire project, post a simplified version of it.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 4
(2,995 Views)

This is a very simple example of the problem. I want to know a certain y-value corresponging x-value for further desicion making during measurement.

0 Kudos
Message 3 of 4
(2,983 Views)

Convert it to 2D Array using Convert from Dynamic Data https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/vi-lib/express/express-signal-manip/conver...

Use Array functions (index array / search array / threshold 1D Array) to extract the data you like.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 4 of 4
(2,970 Views)