GetDrift
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
int getDrift()
Function
Determines the constant deviation when Drift is set.
Parameters
—
Return Values
Drift in parts per thousand.
Reference example from the CANoe 12 help. This is an incomplete context fragment: omitted surrounding code is shown as comments. Do not paste it as a complete program.
int val;
// ... surrounding context omitted
// Assign to val the Drift value
val = getDrift();
// ... surrounding context omitted
Related APIs
getJitterMax | getJitterMin | setDrift | setJitter