C2xSetStationStartOffset
CAPL Functions » Car2x » C2xSetStationStartOffset Valid for: CANoe DEFunction Syntax
Description
If the current scenario is running, it must be stopped via C2xStopScenario() function call or by stopping scenario in Scenario Manager window before calling C2xLoadScenario function. This function sets the StartOffset of the station defined by stationName to the given value.Parameters
- stationName: Name of the scenario station
- startOffset: StartOffset to be set for the station
Return Values
- 0: Success
- ≠0: Cannot set the offset because scenario is running or station not available.