F_CM_CalculateWindow
This function calculates window functions to given input parameters. See section: Window functions.
FUNCTION F_CM_CalculateWindow : HRESULT
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. *)
pWindow : POINTER TO POINTER TO LREAL; (* Pointer to array data. *)
END_VAR
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4022.25 | PC or CX (x86, x64) | Tc3_CM_Base |