07-03-2013 10:35 AM
Hi. I have been counting peaks using labview with the help of a simulated signal. Just one. What I have to do now is make another simulated signal and test coincidence--how many times these two signals cross a certain threshold at the SAME time before I stop it. Anybody have an idea how I can go about that? Thanks in advance!
07-08-2013 06:24 PM
You can use a case structure inside of a for loop. Feed the waveform data into the for loop and add shift registers to the for loop to keep track of the number of times the peaks are both above the threshold. You can use the logic gate "And" to find when both waveforms are greater than the threshold. Here is a snippet of some sample code.