Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » isSimulated

isSimulated

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

long isSimulated();

Description

This function is used to get the information if CANoe DE product is in simulated mode.

Parameters

Return Values

  • 1: True, CANoe DE product is in simulated mode.
  • 0: False, CANoe DE product is in real mode.

Example

This example checks if CANoe DE product is in simulated mode. Then the test is not executed.
// do not activate test when running in simulated mode
if (isSimulated())
{
    Write("Test cannot run in simulated mode!");
}