NI Home > Community > NI Discussion Forums
Reply
Member
Patufet
Posts: 3
0 Kudos

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.
Active Participant
Photon_Dan
Posts: 336
0 Kudos

Re: Threshold detector

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
Member
Patufet
Posts: 3
0 Kudos

Re: Threshold detector

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
Member
Mark Mutton
Posts: 49
0 Kudos

Re: Threshold detector

I was wondering if you did develop the threshold dectector and if so are you willing to share?
Mark Mutton
Electrical Engineer