ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Comparator ?

Hello!

Has anyone of you programmed a comparator with inputs for reference and
hysterese and outputs if the signal is over or under the reference?

If yes please help me and send me the vi!

THANKS a lot !!!
0 Kudos
Message 1 of 3
(5,020 Views)
find attached a simple comparator.vi - not made by me.
It should be no problem to add hysteresis....

hope this helps
regards
wha
0 Kudos
Message 2 of 3
(5,020 Views)
I have seen examples of this kind of program, but I cannot remember where they are. I wrote the attached program to make a high limit sticky--signal goes high at .7 and stays high until the input goes below .4. I think this program demonstrates a technique so that you can write the code you want.

Jeremy Braden
National Instruments
0 Kudos
Message 3 of 3
(5,020 Views)