Main Content

Dem Status Inject

Inject an event failure to test recovery

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

  • Dem Status Inject block

Description

The Dem Status Inject block can be configured to instantaneously set the diagnostic status for an AUTOSAR event simulated in the Diagnostic Service Component block. This status value can be configured according to the Unified Diagnostic Services (UDS) standard. Specifically, you can use this block to inject a transient failure into a system to test its ability to recover. This block simulates and responds to other blocks affecting its status to show system recovery.

Parameters

expand all

Specify the AUTOSAR event that you want to override by using this block.

Specify the type of diagnostic event that you want to inject into the system.

Specify when to inject the diagnostic event into the system.

Test failed the last time it was checked.

This read-only property is set by the Fault type.

Test failed during the current operation cycle.

This read-only property is set by the Fault type.

Test failed during the current or previous operation cycle.

This read-only property is set by the Fault type.

Test failure confirmed at the time of the request.

This read-only property is set by the Fault type.

Test not performed since the last code clear.

This read-only property is set by the Fault type.

Test failed at least once since last code clear.

This read-only property is set by the Fault type.

Test not completed during this operation cycle.

This read-only property is set by the Fault type.

Test failure so severe that it alerts the server.

This read-only property is set by the Fault type.

Extended Capabilities

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

Version History

Introduced in R2022a