Open topic with navigation CAPL Functions » General » Function Overview » setPreTriggerDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
setPreTrigger
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Sets the pretrigger of the logging. The pretrigger set with this function is valid until the end of the measurement or until the next call of this function. Note: The function startLogging() does not consider the setting with functionsetPreTrigger, use the CAPL function trigger() instead.
Parameters
- New pretrigger value in milliseconds.
Return Values
- 1: if the pretrigger is set to the given value
- 0: else