Skip to main content

C2xIsScenarioStarted

Open topic with navigation CAPL Functions » Car2x » C2xIsScenarioStarted Valid for: CANoe DE

Function Syntax

long C2xIsScenarioStarted();

Description

This function checks if the scenario assigned to the current CANoe DE product configuration is in the running state. The scenario can be started:
  • Manually in Scenario Manager Window
  • As a result of calling C2xStartScenario() CAPL function.

Parameters

Return Values

  • 1: Scenario was started (is running now).
  • 0: Scenario is not running now.
  • -1: Error

Example