I am trying to take 2 waveforms of data, take the 5 minimum values from one of the waveforms while retaining the corresponding values of the other waveform. Example, if the 10th sample taken of the "sine waveform" is one of the 5 lowest points, I want to save that value as well as the value taken at the exact same time from teh other waveform....
In the actual application I am reading voltage (sine wave) and position using an encoder(square wave). So basically I want to take N samples, take the 5 lowest voltage values obtained, and save each voltage value WITH its position.
So when I look at the front panel and/or a spreadsheet I see something like:
Voltage Reading 1 = -1000 @ 270 degrees
Attached is a generic simulated f
ile I have been trying to get to do this.
Thanks!
Ryan
LV 7.1