Skip to main content

OnStationAttributeTrigger (Callback)

Valid for: CANoe DE

Function Syntax

Description

This callback is called when the following three conditions are met:
  • Scenario attribute with the name specified in attributeName reaches the next attribute keypoint (value assignment) in the scenario timeline;
  • Scenario attribute property Trigger was set to true in the corresponding scenario file;
  • Scenario attribute with the name specified in attributeName belongs to the scenario station of a calling CAPL node.
This callback is intended to define a reaction on triggerable attributes of a scenario station assigned to the calling CAPL node only. If you want only react on a attribute triggering of all stations in the scenario, please use OnStationAttributeTriggerAll callback function instead.

Parameters

  • attributeName: Name of the scenario station attribute

Return Values

Example