TimeDiff
Syntax
long timeDiff(message m1, NOW);
long timeDiff(message m1, message m2);
Function
Time difference between messages or between a message and the current time in ms (msg2 - msg1 or now - msg1). Starting withCANalyzer2.xx this difference can be calculated directly (Units of 10 microseconds).
Parameters
Variable of typemessage
Variable of typenow
Return Values
Time difference in ms.
diff = timeDiff(m100, now); // CANalyzer 1.x & 2.xdiff = this.time - m100.time; // CANalyzer 2.xx
timeNow | timeNowFloat