RMS Scheduling Code
mjones2620
Posts: 86
Looking for some examples of how to program the Scheduling GUI on the newer Modero Touch Panels. Anyone have some code they'd be willing to share with me?
0
Comments
Just a quick thought. Maybe it will get you down the right path.
Not sure I follow what you mean by a loop.
I would create a timeline to adjust the schedule every 5 minutes or so, based on new schedule entries, and the current time of day. If you want to limit the window of time displayed to be something in the range of the last hour through the next 4 hours, you would compare that time window to your structure of meeting information and run a subroutine/function to adjust the touch panel UI accordingly.
Likewise, any time a meeting event is initiated from the touch panel itself, run the same subroutine to immediately reflect the most recent data on the touch panel.
Hello!
I`m trying to make my own scheduling GUI too, however my 'work day' is 24 hours (meetings can be scheduled whole day) and intervals are 15 minutes too. That gives me 96 possible meeting times = 96 channel and addresses codes (i use channels to light up boxes).
I`m using the structure to store every meeting - standard information like StartDate, StartTime etc. BUT there are 2 special fields called StartQuarter and EndQuarter. Basically: StartQuarter for a meeting which starts at 00:00 equals to 1000
StartQuarter for a meeting which starts at 00:15 equals to 1001 etc.
Same goes for EndQuarter.
And here is the loop which turns on boxes for specific meeting: Maybe this will help you.
Thank you, I figured out a way to do the feedback shortly after posting this. Now I'm running into some trouble validating meetings based on availability.