startLogging
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
void startLogging(); // from 1void startLogging(char strLoggingBlockName[]); // from 2void startLogging(char strLoggingBlockName[], long preTriggerTime); // from 3
Description
- Starts all Logging Blocks immediately bypassing all logging trigger settings.
- Starts a Logging Block with name strLoggingBlockName immediately bypassing all logging trigger settings.
- Function also sets a pre-trigger time to a value of the preTriggerTime.
Parameters
- strLoggingBlockName: Name of the Logging Block. Note: If you use the function in standalone mode and if you activated logging and Trigger Block in the standalone mode configuration settings you can address the (single) Logging Block available in this case by passing an empty string as parameter.
- preTriggerTime: Pre-trigger time interval in ms. Note: While using the preTriggerTime please pay attention to the fact, that the buffer size in the trigger configuration dialog of the Logging Block is set accordingly, so that all events of the given time interval can be logged.