02-28-2007 04:02 PM
02-28-2007 07:20 PM
It's an ARRAY of WAVEFORMS.
Take a look at what the PEAK DETECTOR has as an input.
It's an ARRAY of SAMPLES.
Take a look at the RED DOT (I hope you have coercion dots set to something visible, besides the bland default gray).
That means you are coercing an ARRAY of WAVEFORMS into and ARRAY of SAMPLES.
My guess is the coercion takes the START TIME component of the waveform as its output.
Which means your looking for peaks among the START TIMES of the various channels, which are presumably all the same.
You want to index the ARRAY of WAVEFORMS yourself, and pull out the Y data, and feed THAT to the peak detector.
Blog for (mostly LabVIEW) programmers: Tips And Tricks