F_CM_CalculateRecommendedOverlap

This function calculates a recommended overlap based on the amplitude flatness and overlap correlation of the window function. See section: Calculation of the recommended overlap.

FUNCTION F_CM_CalculateRecommendedOverlap : UDINT
VAR_INPUT
    eWindowType        : E_CM_WindowType;          (* Window type. *)
    aWindowParameters  : T_CM_WindowParameters;    (* Window parameters for specific windows, e.g. FlatTop. *)
    nWindowLength      : UDINT;                    (* Length of analysis window. *)
END_VAR

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4022.25

PC or CX (x86, x64)

Tc3_CM_Base