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
(2,617 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,610 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,598 Views)

Convert it to 2D Array using Convert from Dynamic Data http://zone.ni.com/reference/en-XX/help/371361J-01/lvexpress/convert_from_dynamic_data/

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

http://www.ni.com/white-paper/7571/en/


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,585 Views)