linEnableStatistics
Valid for: CANoe DEFunction Syntax
void linEnableStatistics(long channel, long flag); // Form 1void linEnableStatistics(long flag); // Form 2
Description
Enables or disables LIN statistics on a specific (Form 1) or all (Form 2) LIN channels. Note: LIN bus statistics for CAPL is disabled by default to avoid performance issues while measurement is running. However, you can enable it by calling these functions, e.g. in an on start handler (see example below).Parameters
- channel: LIN channel (1…64)
- flag: 0 = disable; 1 = enable