Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > ARINC 653 for PikeOS 653 code > ARINC 653 for PikeOS 653 profile items > Schedule window (ARINC for PikeOS code)
  
Schedule window (ARINC for PikeOS code)
Conceptually, a ScheduleWindow represents the scheduling of a partition within a major cycle. For more information see the ARINC SPECIFICATION 653P1-2, December 1, 2005.
In terms of the model, the ScheduleWindow is modeled as an event on a ModuleSchedule (Sequence Diagram). The Instance properties must be used to set various properties.
A Schedule Window models a <Window> element, which is a child element of a <ScheduleScheme> element's <WindowList> element.
<ScheduleScheme Name="Schedule">
<WindowList>
<Window Duration="" Flags="" Identifier="" Start="" TimePartitionID="">
</Window>
</WindowList>
</ScheduleScheme>
Create on Schedule Window through a Module Schedule: click the Start Event toolbar button, in line with the required seq Step click the System Boundary or the lifeline of the source Partition Part or Time Partition, and then click the lifeline of the end Partition Part or Time Partition.
* 
When generating a Configuration, the System Boundary, Partition Part or Time Partition at the start of the Schedule Window is irrelevant; the Schedule Window schedules the target item, that is, the end Partition Part or Time Partition.
Specify the Period, Flush TLB, Flush I-Cache, Flush D-Cache and DurationSeconds properties of the Schedule Window through theinstance properties: right-click the Schedule Window, click Instance Properties, and then on the ScheduleWindow tab of the Property Pages set the properties as required.
When shown on a Module Schedule, a Schedule Window's notation is as follows:
A Schedule Window is based on a UML Event Message.
The following sections provide information about how a Schedule Window is used in the model.
Shown on these diagrams
Module Schedule
ARINC properties
These properties are set on the ScheduleWindow tab of the Schedule Window's Instance Property Pages (right-click the Schedule Window, and then click Instance Properties).
Period - generated as an entry in the Flags attribute of the <Window> element. When set to TRUE, 'VM_SCF_PERIOD' is added to the Flags attribute. Possible values are TRUE or FALSE.
Flush TLB - generated as an entry in the Flags attribute of the <Window> element. When set to TRUE, 'VM_SCF_FLUSH_TLB' is added to the Flags attribute. Possible values are TRUE or FALSE.
Flush I-Cache - generated as an entry in the Flags attribute of the <Window> element. When set to TRUE, 'VM_SCF_INVAL_ICACHE' is added to the Flags attribute. Possible values are TRUE or FALSE.
Flush D-Cache - generated as an entry in the Flags attribute of the <Window> element. When set to TRUE, 'VM_SCF_FLUSH_DCACHE' is added to the Flags attribute. Possible values are TRUE or FALSE.
DurationSeconds - generated as the Duration attribute of the <Window> element. Also used to derive the Start attribute of the <Window> attribute.