I'm trying to turn on an imaginary output, a heater, for 20 seconds when the conditions are true. In this case it's if the battery voltage is greater than or equal to 13.2, OR the timer is timing.
My issue is that once the battery voltage drops, and the timer elapsed time is True, I can't figure out how to reset the timer back to 0. Every time I try to programmatically do it, the timer is instantly reset and my Case statement stays True and the heater never turns off, or I get some undesired effect.
Attached is my VI. Thanks
Solved! Go to Solution.
Why does it matter? If a tree falls in the forest... you get the idea. Why does it matter about resetting it if you're not going to use it? Just reset it when you need to use it.
Ok......you may be on to something. Or you may have at least sparked some new ideas in my head.
My brain is not wired for this labview style of programming. I'm used to Python, where if I need to do something.....I just write it out lol. Hopefully my brain adjusts soon.
Just FYI - it's like shifting gears without a clutch. 😄
Well, that took me way longer than it should have, but looks like I got it working. Just moved my timer outside of the case statement 😂
Still need to clean up the code (for example, there's some redundant NOT's), but VI is attached for reference.
I'll have to look at it when i get home.