Main Content

DiagnosticMonitorCaller

Call AUTOSAR Diagnostic Event Manager (Dem) service interface DiagnosticMonitor

  • DiagnosticMonitorCaller block

Libraries:
AUTOSAR Blockset / Classic Platform / Basic Software / Diagnostic Event Manager (Dem)

Description

The AUTOSAR standard defines a Diagnostic Event Manager (Dem) service as a part of Basic Software (BSW) that runs in the AUTOSAR Runtime Environment (RTE). AUTOSAR software components access Dem services through client-server calls. The DiagnosticMonitorCaller block calls the Dem service interface DiagnosticMonitor to initiate a specified operation.

Parameters

expand all

Enter the name of the client port the AUTOSAR software component uses to call the Dem service interface DiagnosticMonitor.

Programmatic Use

Block Parameter: PortName
Type: character vector
Values:'DiagnosticMonitor' | unique name
Default: 'DiagnosticMonitor'

Select the operation that the AUTOSAR software component calls from the Dem service interface DiagnosticMonitor. The operations are defined by the AUTOSAR standard. After the operation is selected, the inports and outports for the block are generated to support the operation.

The Operation parameter must be set to an operation supported by the schema currently specified by the model. The list of operations on the block parameters dialog reflects the operations supported by the current schema.

Programmatic Use

Block Parameter: Operation
Type: character vector
Values: 'SetEventStatus' | 'ResetMonitorStatus' | 'ResetEventStatus' | 'PrestoreFreezeFrame' | 'ClearPrestoredFreezeFrame' | 'SetEventDisabled'
Default: 'SetEventStatus'

Specify an enumerated data type to represent a Dem event type required for some operations. For more information, see the AUTOSAR standard Specification of Diagnostic Event Manager.

Dependencies

Specify this parameter when Operation is set to SetEventStatus.

Programmatic Use

Block Parameter: Datatype
Type: character vector
Values: 'Enum: Dem_EventStatusType' | enumerated data type
Default: 'SetEventStatus'

Block sample time. The default sets the block to inherit its sample time from the model.

Programmatic Use

Block Parameter: st
Type: character vector
Values: real scalar
Default: '-1'

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2016b

expand all