Port usage (ARINC for PikeOS code)
A Port Usage is not an ARINC item, but on the Configuration Diagram's there is a Port Usage button that creates a UML Association between an Application Part and a Port on a Configuration Diagram. When generated, a Port Usage results in an APEX queuing port or APEX sampling port being generated.
A Port Usage link between an Application Part and a Port results in that port being created in the application startup code that is generated for the Application Part.
/* Header File */
#include <apex_queuingports.h>
...
extern QUEUING_PORT_ID_TYPE QueuingPort1_id;
/* Implementation File */
QUEUING_PORT_ID_TYPE QueuingPort1_id;
...
CREATE_QUEUING_PORT("QueuingPort1", 256, 32, SOURCE, FIFO, &QueuingPort1_id, &rc);
ASSERT(rc == NO_ERROR); ASSERT(rc == NO_ERROR);
To define port usage on a
Configuration Diagram: click the
Port Usage button, and the click the following items:
When shown on a Configuration Diagram a Port Usage's (Association's) notation is as follows:
A Port Usage is a UML Association.
The following sections provide information about how a Port Usage is used in the model.
Shown on these diagrams
ARINC properties
None.