# "Scheduler" window

**URL:** <https://forum.inductiveautomation.com/t/scheduler-window/2638>\
**Category:** Ignition\
**Created:** [February 15, 2011, 2:03pm UTC](https://forum.inductiveautomation.com/t/scheduler-window/2638 "2011-02-15T14:03:07Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrey](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@andrey](https://forum.inductiveautomation.com/u/andrey)\
**Post date:** [February 15, 2011, 2:03pm UTC](https://forum.inductiveautomation.com/t/scheduler-window/2638/1 "2011-02-15T14:03:07Z")

</div>

Hi all,  
I’m preparing to design “Scheduler” window. This has able to view/edit week scheduler for “4 state” tag (comfort, eco, support, stand-by). Week scheduler is holding at PLC.  
Does any body do scheduler window before, or can give couple advise how to do it more user-friendly?

Beforehand thankful,  
Andrey

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [February 17, 2011, 4:30pm UTC](https://forum.inductiveautomation.com/t/scheduler-window/2638/2 "2011-02-17T16:30:11Z")

</div>

Let me restate your problem to check whether I understand what you want:

1. You want to keep 7 daily values for a tag in your PLC.
2. This tag can have one of 4 values (stored in your PLC as an integer?).
3. You want to display a table of these 7 values in Ignition, with each value given a description (comfort, eco, support, stand-by).
4. You want to be able to edit any of the 7 values and write them back to your PLC.

Does this sound correct? Let me know and we’ll see what we can come up with.

---

<div class="post-metadata">

**Author:** ![andrey](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@andrey](https://forum.inductiveautomation.com/u/andrey)\
**Post date:** [March 12, 2011, 6:46pm UTC](https://forum.inductiveautomation.com/t/scheduler-window/2638/3 "2011-03-12T18:46:22Z")

</div>

[quote=“AlThePal”]Let me restate your problem to check whether I understand what you want:

1. You want to keep 7 daily values for a tag in your PLC.[/quote]Yes.

[quote=“AlThePal”]  
2. This tag can have one of 4 values (stored in your PLC as an integer?).[/quote]Yes.

[quote=“AlThePal”]3. You want to display a table of these 7 values in Ignition, with each value given a description (comfort, eco, support, stand-by).[/quote]Table or grafical element, like bargraph with posibility to set width=time and height=state(4 heights).

[quote=“AlThePal”]4. You want to be able to edit any of the 7 values and write them back to your PLC.[/quote]Yes, moving the edge of the bargraph and pressing “Apply” button.

Something like that.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [March 14, 2011, 4:37pm UTC](https://forum.inductiveautomation.com/t/scheduler-window/2638/4 "2011-03-14T16:37:38Z")

</div>

Could you just stack 4 buttons/rectangles per day? And then bind each one’s background color to an expression that either filled it in or not based upon the chosen value for the day? This could be done to pretty closely mimic a bar chart if you use rectangles and do away with the borders.

---

<div class="post-metadata">

**Author:** ![andrey](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@andrey](https://forum.inductiveautomation.com/u/andrey)\
**Post date:** [March 21, 2011, 2:16pm UTC](https://forum.inductiveautomation.com/t/scheduler-window/2638/5 "2011-03-21T14:16:27Z")

</div>

[quote=“Carl.Gould”]Could you just stack 4 buttons/rectangles per day? And then bind each one’s background color to an expression that either filled it in or not based upon the chosen value for the day?[/quote]Each day can have up to 10 points, where workmode changes it’s state. How can I change a time period for each state?

Below is a screenshot of scheduler window, where I can change the time period. But this window was designed for two-state tag (on/off). Maybe someone have already designed something similar or know how to use relative timescale (only for week).

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/1X/f70c298aeec8dc9f34cc13f2b52e62bd77524ac4.jpg)

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [March 30, 2011, 8:06pm UTC](https://forum.inductiveautomation.com/t/scheduler-window/2638/6 "2011-03-30T20:06:09Z")

</div>

I don’t totally understanding what you’re asking for, but I played around with some ideas that might help you.

Here’s a window with a container on it that would represent a day, where you can manipulate the start, stop, and mode for the day. It’s not drag-able, but it does work. You’d bind the start, stop, and mode controls to your PLC values.

Upgrade to 7.2.5 first - there was a bug with the level indicator in horizontal mode that will make this not work in earlier versions.

Hope this helps,  
[scheduling.vwin](https://us1.discourse-cdn.com/inductiveautomation/original/1X/7562407c7afde3b9fd07cb2767981fc2a00a8bb6.vwin) (15.4 KB)

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/1X/792ce81e23987283390505252b8068720c793d01.PNG)

---

<div class="post-metadata">

**Author:** ![Brett\_Yeomans](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@Brett\_Yeomans](https://forum.inductiveautomation.com/u/Brett_Yeomans)\
**Post date:** [August 24, 2011, 2:41pm UTC](https://forum.inductiveautomation.com/t/scheduler-window/2638/7 "2011-08-24T14:41:07Z")

</div>

I am trying to create a similar scheduler and i’m trying to use the level indicator but the component “fill” is anchored to one end, how do you get the value to fill from both ends? I cannot see any mention of horizontal mode only fill from left to right etc?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [August 24, 2011, 3:07pm UTC](https://forum.inductiveautomation.com/t/scheduler-window/2638/8 "2011-08-24T15:07:11Z")

</div>

The level indicator component has a property called Orientation which you can set to Left to Right. That will make it fill in from the left. Is that what you are looking for?

---

<div class="post-metadata">

**Author:** ![Brett\_Yeomans](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@Brett\_Yeomans](https://forum.inductiveautomation.com/u/Brett_Yeomans)\
**Post date:** [August 24, 2011, 6:19pm UTC](https://forum.inductiveautomation.com/t/scheduler-window/2638/9 "2011-08-24T18:19:21Z")

</div>

Not really, if I select left to right it fills anchored from the left side but in the example screen the filled in data is like starting at 25% and ending at 75%, I can only get it to fill 0% to 75% not have the filled in data away from 0% if you see what I mean, and I want it represent an ON time as well as an OFF time like in the example.

---

<div class="post-metadata">

**Author:** ![Brett\_Yeomans](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@Brett\_Yeomans](https://forum.inductiveautomation.com/u/Brett_Yeomans)\
**Post date:** [August 24, 2011, 7:50pm UTC](https://forum.inductiveautomation.com/t/scheduler-window/2638/10 "2011-08-24T19:50:13Z")

</div>

My bad, did’nt notice the vwin attachment, now understand the second level indicator(“start mask)” that sits on top of the first that fills in (mask’s) the left hand side with white.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [September 8, 2011, 6:31pm UTC](https://forum.inductiveautomation.com/t/scheduler-window/2638/11 "2011-09-08T18:31:12Z")

</div>

Right, it takes two components to create that effect.
