ChkStart_SignalCycleTimeViolation
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Check Name
Signal Cycle Time AbsoluteDescription
Checks the occurrences of a signal. An event will be generated if the time between two consecutive signal occurrences is out of the specified range. Note: Limit set to 0 is considered as “cycle time is undefined”; at least one limit has to be more than 0.Parameters
- ObservedSignal: Signal to observe. It must exist in DB
- MinCyc:
0: Minimum cycle time shall not be checked\> 0: Minimum allowed cycle time- Unit: Is set with ChkConfig_SetPrecision()
- MaxCycleTime:
0: Maximum cycle time shall not be checked\> 0: Maximum allowed cycle time- Unit: Is set with ChkConfig_SetPrecision()
- CaplCallback: Name of CAPL callback function to be called on generated event. In simulation nodes this parameter has to be set. In test modules this parameter is optional.
Return Values
- 0: Check could not be created and must not be referenced
- > 0: Check was created successfully and may be referenced using the returned (handle-) value.
Possible Errors
- Signal does not exist in DB
- Range specified for cycle time is invalid
- Signal is not mapped to a message
- CAPL callback does not exist