ST_CM_InstantaneousFrequency_InitPars

Function block-specific structure with initialization parameters, which are analyzed when the function block is initialized.

TYPE ST_CM_InstantaneousFrequency_InitPars EXTENDS ST_CM_Object_InitPars :
STRUCT
    nFFT_Length          : UDINT := 512;              (* Length of FFT. *)
    nWindowLength        : UDINT := 400;              (* Length of analysis window. *)
    fMagnitudeThreshold  : LREAL := cCM_MinArgDiv;    (* Minimum value for the numerical calculability. *)
    fSampleRate          : LREAL := 50000;            (* Sample rate in Hertz. *)
    nChannels            : UDINT := 1;                (* Number of channels. *)
END_STRUCT
END_TYPE

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4022.25

PC or CX (x86, x64)

Tc3_CM_Base