09-30-2011 07:14 PM
Hi all,
I have 2 different sin waves going into channel 1 and channel 2 of an oscilloscope. What I'm trying to do is:
1. From Channel 1's input determine the time when peak values occur and save them to an array
2. Then find out what channel 2's voltage output is at times determined from step 1.
I started doing this project by only using 1 channel where I was able to extract the y data as well as plug it into peak detection.vi.
However after I merge the two channels together and proceed like I did with 1 channel labview shows disconnected wires due to data incompatability.
Any help would be greately appreciated on how I can locate channel 1's peak times and plug those time values to determine output values for channel 2.
Attached is
1. The single channel peak detection (which works)
2. 2 channel peak detection (the .vi I need help on)
09-30-2011 09:36 PM
The VI is broken because you are connecting an array of waveforms with VI's that are asking for a single waveform. You need to use Index Array to break out one or the other waveform to feed to the other VI's.
10-03-2011 12:33 PM
Thanks I'll try looking into this method