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 > Configuration diagram (ARINC for VxWorks code)
  
Configuration diagram (ARINC for VxWorks 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, see the related links below.
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
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.
Through the Application that types the Application Part, specify the Inline, MemorySizeBss, MemorySizeData, MemorySizePersistentBss, MemorySizePersistentData, MemorySizeRoData, MemorySizeText, xi:include, xmlns, xmlns:xi, xmlns:xsi and xsi:schemaLocation properties.
Blackboard
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
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
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
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
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 ErrorLevel property of the Error ID Level through the ErrorIDLevel tab of the Error ID Level's Property Pages.
Event
Create an Event through the diagram's toolbar: click the Event toolbar button, and then click within the owning Partition Part.
Module
A Module cannot be created on a Configuration Diagrams, but you can drag a Module to a Configuration Diagram.
Specify the Id property of the Module through the Module tab of the Module's Property Pages.
Module HM Table
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.
Specify the properties of the Module HM Table through the ModuleHMTable tab of the Module HM Table's Property Pages.
Partition Part
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 property of the Partition Part through the Partition Part tab of the Partition Part's Property Pages.
Specify other properties of the Partition Part through its 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
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.
Specify the properties of the Partition HM Table through the PartitionHMTable tab of the Partition HM Table's Property Pages.
Port Usage (UML Association)
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
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
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 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
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 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
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.
Shared Library
A Shared Library named vxSysLib is created through the New > Integration Project command. The vxSysLib shared library is shown on the Configuration Diagram that is created for the Module.
Specify the properties of the vxSysLib shared library through the SharedLibrary tab of the vxSysLib's Property Pages.
System HM Table
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
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
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
Shared Library
System HM Table
System State Entry
ARINC properties
None.