LINEAR

TPT.LINEAR

Constant used as an argument of signal.setInterpolation(). This interpolation mode means that between two subsequent samples the signal is linearly interpolated. Note that linear interpolation is allowed even for integer variables. However, the interpolated values are subject to quantization error using the integer resolution. Changing the interpolation mode for boolean signals is allowed but has no effect.

See Also:

signal.setInterpolation(), signal.getInterpolation(), TPT.LASTVALUE