From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I'm not satisfied with the "Peak detector" vi results, because no hysteresis can be defined. In my application the lenght of peaks is very variable so it's difficult to use a "widh" value that matches all peaks.
The threshold detection should work exactly as a Schmitt Trigger. and return an array with the trig index locations.
With LabView 6. there is a "Basic Level Trigger Detection" but it only trigs once.
I'm feeling a little generous today. If you post a VI containing a sample data set with peaks (get the data into a control or indicator, Make Current Values Default and save), I'll see if I can't whip up a peak detect VI with hysteresis for you.
Thank you. I think I can write the vi by myself. I was just surprised not to find a threshold detector VI already written. Threshold detection should be a very common problem. I just didn't want to do the job if I there were already an existing VI to perform this detection.
Photon Dan wrote in news:50650000000500000040080100- 1042324653000@exchange.ni.com:
> I'm feeling a little generous today. If you post a VI containing a > sample data set with peaks (get the data into a control or indicator, > Make Current Values Default and save), I'll see if I can't whip up a > peak detect VI with hysteresis for you. > > Daniel L. Press > PrimeTest Corp. > www.primetest.com