AUTOSAR Tab (Scalar Elements)

The AUTOSAR tab is only available for elements in AUTOSAR components. It contains the following elements.

Policy combo box

The combo box is used to set the AUTOSAR <SW-IMPL-POLICY> element of the <DATA-DEF-PROPS>.

The following Closedsettings are available.

Note

See the ASCET AUTOSAR user guide or the publications on the AUTOSAR web site for more information on <SW-IMPL-POLICY> and <DATA-DEF-PROPS>.

Several Closedrestrictions apply.

Invalidation Policy combo box

With AUTOSAR, you can specify if a value may become invalid (e.g., due to a broken sensor).

The following selections are available:

If you select a value other than don't invalidate, an invalidation policy entry is written to the interface description <SWC_name>_interfaces.arxml. The following code extract shows examples.

EXAMPLE

<INVALIDATION-POLICYS>

<INVALIDATION-POLICY>

<DATA-ELEMENT-REF DEST="VARIABLE-DATA-PROTOTYPE">/ASCET_Interfaces/Impl/SR_interface_name/element1</DATA-ELEMENT-REF>

<HANDLE-INVALID>EXTERNAL-REPLACEMENT</HANDLE-INVALID>

</INVALIDATION-POLICY>

<INVALIDATION-POLICY>

<DATA-ELEMENT-REF DEST="VARIABLE-DATA-PROTOTYPE">/ASCET_Interfaces/Impl/SR_interface/element2</DATA-ELEMENT-REF>

<HANDLE-INVALID>REPLACE</HANDLE-INVALID>

</INVALIDATION-POLICY>

<INVALIDATION-POLICY>

<DATA-ELEMENT-REF DEST="VARIABLE-DATA-PROTOTYPE">/ASCET_Interfaces/Impl/SR_interface/element3</DATA-ELEMENT-REF>

<HANDLE-INVALID>KEEP</HANDLE-INVALID>

</INVALIDATION-POLICY>

</INVALIDATION-POLICYS>

See also

Kind of Elements

Properties Editor for Basic Elements