linGetFrameRate
Valid for: CANoe DE NoteLIN bus statistics is deactivated by default and must be activated before calling this function. You can do this by calling function linEnableStatistics in an on start handler, see example below.
Function Syntax
Description
Gets the frame rate of a LIN channel in frames per second [fr/s]. The kind of value to be returned (average, current, maximum or minimum) can be selected.Parameters
- channel: LIN channel (1…64).
- selector: Value selector:
- eCurrValue = current
- eMinValue = minimum
- eMaxValue = maximum
- eAvgValue = average