04-19-2023 04:49 AM
Hello, I am trying to develop a simple code (or at least I hope it to be simple) which triggers a led depending on the temperature (with hysteresis).
The temperature measurement is done by reading the analog voltage from a diode (its a simple project from school).I read the voltage of the diode (which is around 0'61 V) and i filter it. then i use the V = S*(T) + b formula from the Diode sensibility to get the temperature formula, so I put it on Labview.
I then made an attempt to make this hysteresis with some comparators (i attach photos) but my proffesor said that was not it, so i had to try another thing. I have been searching a lot and i dont know what else to do, I have never used labview before and i have verry little knowledge of electronics. Please help
04-19-2023 09:08 PM
We can't run or debug images. Please attach your code instead.
Besides, what hardware are you using? Your code seems to be not reading or writing to any hardware.
04-20-2023 02:48 AM
Let's use this names :
The hysteresis can be implemented like this :
You will need a While Loop, a Shift Register (CS) and a Case Structure. Let us know if you need further help.
04-20-2023 10:53 AM
Here is an example showing the suggested method.
Sorry for the mix up between L/H and T/F in the description.