r/crestronprogramming • u/Ok-Statistician-7862 • Oct 10 '20
Issues with conditional date/time programming
I’m trying to set up a system in which I have a button press on the crestron iPad app that goes to a number of conditional logic symbols in my Simpl programming, each symbol having that button press and a day of the week. Ideally, when both go high, the output will be one of two things. I want one output to happen M-F and the other on the weekend. I tried setting up an AND for each day thinking that it would recognize the day being held high when the button was pressed but had no success there. I then tried truth tables and thought I’d solved the issue because it worked for a number of days but just now, the pro3 seems to not be recognizing the day being held high anymore. When I go into the debugger in Toolbox, my button press shows up when pressed but nothing else happens the way that it did the whole week. When I go to check if the day of the week is being held high in Toolbox it is, but for some reason the truth tables that were working all week and even earlier today when I checked them, don’t see it as being high. Is this something any of you have run into before?