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 diagrams > Configuration diagram (ARINC for PikeOS code)
  
Configuration diagram (ARINC for PikeOS code)
A Configuration Diagram is a hierarchical diagram representing all or part of an ARINC 653 configuration. It is based on the UML structure diagram which represents whole/part hierarchies using nested rectangles.
A Configuration Diagram allows you to create the items that define an ARINC configuration and application startup code.
When you create an Integration Project through the New > Integration Project command, the profile creates four Configuration Diagrams in the model:
<module name> Configuration Diagram - This is the top-level Configuration Diagram that shows the owning Module and its moduleHM (Module HM Table), systemHM (System HM Table) and partHM (Partition HM Table) items. You can use this diagram to create and define the Partitions in your model.
The content of the following Configuration Diagrams could be shown on the preceding '<module name> Configuration Diagram' diagram, but it would make that diagram very cluttered.
moduleHm Module HM Configuration Diagram1 - This Configuration Diagram shows the content of the moduleHM Module HM Table, that is, a System State Entry and default Error ID Actions. The content could be shown on the
systemHm System HM Table Diagram - This Configuration Diagram shows the content of the systemHM System HM Table, that is, default System State Entries and Error ID Levels.
partHm Partition HM Configuration Diagram1 - This Configuration Diagram shows the content of the partHM Partition HM Table, that is, a System State Entry and default Error ID Actions.
For more information about the preceding diagrams, click here Diagrams and items created through the new > integration project command (ARINC for PikeOS code)" ?>.
Create a Configuration Diagram in the following ways:
From a Module: right-click the Module, point to ARINC 653, point to New, and then click Blank Configuration Diagram. This command creates an empty Configuration Diagram, onto which you can drag a Module, Partition, Module HM Table, Partition HM Table or System HM Table.
From a
Partition: right-click the Partition, point to ARINC 653, point to New, and then click Partition Configuration Diagram. This command creates a Configuration Diagram with the Partition you right-clicked on the diagram.
From a Module HM Table: right-click the Module HM Table, point to ARINC 653, point to New, and then click Module HM Table Diagram. This command creates a Configuration Diagram with the Module HM Table you right-clicked on the diagram.
From a Partition HM Table: right-click the Partition HM Table, point to ARINC 653, point to New, and then click Partition HM Table Diagram. This command creates a Configuration Diagram with the Partition HM Table you right-clicked on the diagram.
From a System HM Table: right-click the System HM Table, point to ARINC 653, point to New, and then click System HM Table Diagram. This command creates a Configuration Diagram with the System HM Table you right-clicked on the diagram.
After creating a Configuration Diagram from an item, on a Configuration Diagram you can double-click that item to open its associated Configuration Diagram.
The following example shows item ownership on a Configuration Diagram.
You can view all the Configuration Diagrams in the model through the Configuration Diagram folder in the ARINC 653 Profile pane.
A Configuration Diagram is based on a UML Composite Structure Diagram.
A Configuration Diagram can show the following items.
Application part (ARINC for PikeOS code)
Create an Application Part through the diagram's toolbar: click the
Application toolbar button, and then click within the owning Partition Part. When you create an Application Part, the profile creates an Application that types the Application Part and an Application Project.
Ensure that you link the Application Part to the appropriate Ports using a Port Usage link.
Specify the Application Project, CmdLine, ExecInPlace, FileName, HasEntryPoint, MaxChildTasks, MaxPrio, MaxThreads, PoolName, ResourceName, UsePool and VirtAddr properties for the Application Part through the Application that types it.
Blackboard (ARINC for PikeOS code)
Create a Blackboard through the diagram's toolbar: click the
Blackboard toolbar button, and then click within the owning Partition Part.
Specify the MaxMessageSize property of the Blackboard through the context menu of the Blackboard: right-click the Blackboard, point to ARINC 653, point to Set, and then click MaxMessageSize.
Buffer (ARINC for PikeOS code)
Create a Buffer through the diagram's toolbar: click the
Buffer toolbar button, and then click within the owning Partition Part.
Specify the MaxMessageSize, MaxNbMessages and QueueingDiscipline properties of the Buffer through its context menu: right-click the Buffer, point to ARINC 653, point to Set, and then click the appropriate command.
Channel (ARINC for PikeOS code)
Create a Channel through the diagram's toolbar: click the
Channel toolbar button, click the starting Sampling Port or Queuing Port, and then click the ending Sampling Port or Queuing Port.
Dependency (UML item)
Create a Dependency between a Partition Part and its Partition HM Table: click the
Dependency toolbar button, click the Partition Part, and then click the Partition HM Table.
Error id action (ARINC for PikeOS code)
Create an Error ID Action through the diagram's toolbar: click the
Error ID Action toolbar button, and then click within the owning System State Entry.
Specify the Action property of the Error ID Action through the ErrorIDAction tab of the Error ID Action's Property Pages.
Error id level (ARINC for PikeOS code)
Create an Error ID Level through the diagram's toolbar: click the
Error ID Level toolbar button, and then click the owning System State Entry.
Specify the ErrorCode and ErrorLevel properties of the Error ID Level through the ErrorIDLevel tab of the Error ID Level's Property Pages.
Event (ARINC for PikeOS code)
Create an Event through the diagram's toolbar: click the
Event toolbar button, and then click within the owning Partition Part.
File access (ARINC for PikeOS code)
Create a File Access through the diagram's toolbar: click the
File Access toolbar button, and then click within the owning Partition Part.
Specify the Execute, FileName, File Provider, Map, Read, Stat and Write properties of the File Access through its context menu: right-click the File Access, point to ARINC 653, point to Set, and then click the command for the property you want to set.
Memory requirement (ARINC for PikeOS code)
Create a Memory Requirement through the diagram's toolbar: click the
Memory Requirement toolbar button, and then click within the owning Partition Part.
Specify the Access, Alignment, CacheMode, ContigMem, IsPool, PhysicalAddess, SizeBytes and Type properties of a Memory Requirement through its context menu: right-click the Memory Requirement, point to ARINC 653, point to Set, and then click the command for the property you want to set.
Module (ARINC for PikeOS code)
A Module cannot be created on a Configuration Diagrams, but you can drag a Module to a Configuration Diagram.
Specify the ModuleName and ModuleVersion properties of the Module through the Module tab of the Module's Property Pages.
Module HM table (ARINC for PikeOS code)
Create a Module HM Table through the diagram's toolbar: click the
Module Health Monitoring Table toolbar button, and then click within the owning Module.
You can create a Configuration Diagram from a Module HM Table: right-click the Module HM Table, point to ARINC 653, New, and then click Module HM Table Diagram. The profile adds the Module HM Table you right-clicked to the Configuration Diagram.
Partition (ARINC for PikeOS code)
Create a Partition Part through the diagram's toolbar: click the
Partition Part toolbar button, and then click within the owning Module. When you create a Partition Part, the profile creates a Partition item that types that Partition Part.
Ensure that you create a Dependency between the Partition Part and its Partition HM Table.
Specify the PartitionIdentifier and TimePartitionID properties of the Partition Part through the Partition Part tab of the Partition Part's Property Pages.
Specify the Duration, EntryPoint, HealthMonitorMode, MaxChildTasks, MaxPrio, NumFDs, PartitionStartupMode, Period, SystemPartition and TargetLanguage properties for the Partition Part through the associated Partition.
You can create a Configuration Diagram from a Partition (not a Partition Part): right-click the Partition, point to ARINC 653, New, and then click Partition Configuration Diagram. The profile adds the Partition you right-clicked to the Configuration Diagram.
Partition HM table (ARINC for PikeOS code)
Create a Partition HM Table through the diagram's toolbar: click the
Partition Health Monitoring Table toolbar button, and then click within the owning Module.
You can create a Configuration Diagram from a Partition HM Table: right-click the Partition HM Table, point to ARINC 653, New, and then click Partition HM Table Diagram. The profile adds the Partition HM Table you right-clicked to the Configuration Diagram.
Port usage (ARINC for PikeOS code)
Create a Port Usage (UML Association) through the diagram's toolbar: click the
Port Usage toolbar button, and then click the following items:
The Destination Queuing Port or Destination Sampling Port on a Partition Part, and then an Application Part within that Partition Part.
The Application Part within a Partition Part, and then the Source Queuing Port or Source Sampling Port on that Partition Part.
Process part (ARINC for PikeOS code)
Create a Process Part through the diagram's toolbar: click the
Process Part toolbar button, and then click within the owning Application Part. When you create a Process Part, the profile creates a Process item that types the Process Part. The Process is created in the associated Application Project.
Specify the BasePriority, Deadline, EntryPoint, Period, StackSize and TimeCapacity properties of the associated Process.
Queuing port (ARINC for PikeOS code)
Create a Source Queuing Port through the diagram's toolbar: click the
Source Queuing Port toolbar button, and then click within the owning Partition Part.
Create a Destination Queuing Port through the diagram's toolbar: click the
Destination Queuing Port toolbar button, and then click within the owning Partition Part.
Specify the Direction, MaxMessageSize, MaxNbMessages and QueuingDiscipline properties through the context menu of the Queuing Port: right-click the Queuing Port, point to ARINC 653, point to Set, and then click the command for the property you want to set.
Sampling port (ARINC for PikeOS code)
Create a Source Sampling Port through the diagram's toolbar: click the
Source Sampling Port toolbar button, and then click within the owning Partition Part.
Create a Destination Sampling Port through the diagram's toolbar: click the
Destination Sampling Port toolbar button, and then click within the owning Partition Part.
Specify the Direction, MaxMessageSize and RefreshRateSeconds properties through the context menu of the Sampling Port: right-click the Sampling Port, point to ARINC 653, point to Set, and then click the command for the property you want to set.
Semaphore (ARINC for PikeOS code)
Create a Semaphore through the diagram's toolbar: click the
Semaphore toolbar button, and then click within the owning Partition Part.
Specify the CurrentValue, MaxValue and QueueingDiscipline properties through the context menu of the Semaphore: right-click the Semaphore, point to ARINC 653, point to Set, and then click the command associated with the property you want to set.
System HM table (ARINC for PikeOS code)
Create a System HM Table through the diagram's toolbar: click the
System Health Monitoring Table toolbar button, and then click within the owning Module.
You can create a Configuration Diagram from a System HM Table: right-click the System HM Table, point to ARINC 653, point to New, and then click System HM Table Diagram. The profile adds the System HM Table you right-clicked to the Configuration Diagram.
System state entry (ARINC for PikeOS code)
Create a System State Entry through the diagram's toolbar: click the
System State Entry toolbar button, and then click within the owning Module HM Table, Partition HM Table or System HM Table.
The following sections provide information about how a Configuration Diagram is used in the model.
Create Configuration Diagram from
Module
Partition
Module HM Table
Partition HM Table
System HM Table
Creates or shows these ARINC items
Application Part (also creates Application and Application Project)
Blackboard
Buffer
Channel
Dependency (UML item)
Error ID Action
Error ID Level
Event
File Access
Memory Requirement
Module
Module HM Table
Partition HM Table
Partition Part (also creates Partition)
Port Usage (UML Association)
Process Part (also creates Process
)
Queuing Port
Sampling Port
Semaphore
System HM Table
System State Entry
ARINC properties
None.