Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > ARINC 653 for VxWorks 653 code > ARINC 653 for VxWorks 653 profile diagrams > Module schedule (ARINC for VxWorks code)
  
Module schedule (ARINC for VxWorks code)
A diagram based on the UML Sequence Diagram, which allows the user to specify scheduling information for partitions within the module. ModuleSchedules scope to modules. For more information see the ARINC SPECIFICATION 653P1-2, December 1, 2005
A Module Schedule models a <ScheduleScheme> element, which is a child element of the <ScheduleTable> element.
In the following example, the Module Schedule diagrams schedules Partition1 first, then schedules Partition2, and finally schedules Partition3. The order is determined by the Schedule Windows target item in each seq Step.
An empty Module Schedule is created when you create an Integration Project through the New > Integration Project command. See Diagrams and items created through the new > integration project command (ARINC for VxWorks code).
Create additional Module Schedules from a Module: right-click the Module, point to ARINC 653, point to New, and then click Module Schedule.
You can view all the Module Schedules in the model through the ModuleSchedule folder in the ARINC 653 Profile pane.
A Module Schedule is based on a UML Object Sequence Diagram.
A Module Schedule can show the following items.
Iteration Step (UML item)
The diagram includes an iteration (the loop and end loop entries) that includes one seq Step. Use the
Create an iteration only if you accidentally delete the loop or end loop step on the diagram.
Partition Part
See Partition part (ARINC for VxWorks code).
You cannot create Partition Parts on the Module Schedule diagram, but you can drag existing Partition Parts to the area along the top of the diagram.
Schedule Window
See Schedule window (ARINC for VxWorks code).
Create a Schedule Window through the diagram's toolbar: 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, and then click the lifeline of the end Partition Part.
* 
When generating a Configuration, the System Boundary or Partition Part at the start of the Schedule Window is irrelevant; the Schedule Window schedules the end Partition Part.
Specify the ReleasePoint and DurationSeconds properties of the Schedule Window through the instance properties: right-click the Schedule Window, click Instance Properties, and then on the ScheduleWindow tab of the Property Pages set the properties as required.
Step (UML item)
The diagram includes one step (the seq entry). Each Schedule Window requires a seq Step on the diagram. Ensure that you create the steps within the loop and end loop steps.
Create a Step through the diagram's toolbar: click the Step toolbar button, and then click the appropriate place within the loop and end loop steps.
The following sections provide information about how a Module Schedule is used in the model.
Create Module Schedule from
Module
Create or shows these ARINC items
Partition Part
Schedule Window
ARINC properties
Id - generated as the Id attribute of the <Schedule> element.
The Name property of a Module Schedule is generated as the Name attribute of the <ScheduleScheme> element.