Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
TestAddTriggerTesterAction
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
long TestAddTriggerTesterAction(long handle, Signal callbackTrigger);long TestAddTriggerTesterAction(long handle, sysVar callbackTrigger);long TestAddTriggerTesterAction(long handle, EnvVarName callbackTrigger);long TestAddTriggerTesterAction(long handle, long callbackCycle);
Description
Adds a trigger to a tester action previously created with TestCreateTesterAction. Every trigger triggers the call of the CAPL callback of its tester action cyclically or when the value of the signal, system variable, environment variable updates.Parameters
- handle: The handle of the tester action to add the trigger.
- callbackTrigger: The trigger when the condition has to be checked. It will always be checked when the value of the signal, system variable or environment variable updates.
- callbackCycle: Cycle time to check the condition.
Return Values
- > 0: Handle of the trigger.
- -1: General error.