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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Threshold detector

Is there any VI performing a Threshold detection?

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.


Thank you very much.
0 Kudos
Message 1 of 4
(2,690 Views)
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
0 Kudos
Message 2 of 4
(2,689 Views)
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
0 Kudos
Message 3 of 4
(2,689 Views)
I was wondering if you did develop the threshold dectector and if so are you willing to share?
Mark Mutton
Electrical Engineer
0 Kudos
Message 4 of 4
(2,571 Views)