Example: Communication Status Operator

A block diagram module has been created as example for the Communication status operator. The module contains the following elements:

Name

Type

Scope

Kind

msg_Record_inner_imp 

Record_inner  

imported  

receive message  

var_array_cont

array[cont]

local

variable

var_log

log

local

variable

var_Record_inner_exp

Record_inner

exported

variable

ClosedAUTOSAR environment

The module was inserted in a software component, and the message was mapped to a suitable element of a SenderReceiver interface.

The generated C code looks as follows:

ClosedNon-AUTOSAR environment

If the same module is added to a non-AUTOSAR project with target ANSI-C and code generator Object Based Controller Implementation, the generated C code looks as follows:

See also

Status of Explicit and Implicit Access

Adjusting the Project Settings