CAPL Script

SetJitter

Syntax

setJitter(int min, int max)

Function

The Jitter interval for the timers of a network node can be set with this function. The two values may lie between –10000 and 10000 (corresponds to –100.00% to 100.00%). If one of the two values does not lie within this range, a message is output in the Write Window.

Parameters

min Integer for the lower interval limit.

max

Integer for the upper interval limit.

Return Values

...// Set a Jitter with +–4 percentsetJitter(-400, 400);... ...// Set a Jitter with +–4 percent// and a Drift of 17 percentsetJitter(1300, 2100);...

getJitterMax | getJitterMin | setDrift | getDrift