07-13-2017 07:02 AM
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?
07-13-2017 07:13 AM
Please post some code. If you can't post the entire project, post a simplified version of it.
07-13-2017 07:33 AM
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.
07-13-2017 07:57 AM
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.