ST_FTR_Gaussian

Configuration structure for the function block FB_FTR_Gaussian.

Syntax

Definition:

TYPE ST_FTR_Gaussian :
STRUCT
    fCutoff            : LREAL;
    fSamplingRate      : LREAL;
    nSamplesToFilter   : UDINT;
    nOversamples       : UDINT;
    nChannels          : UDINT;
    pInitialValues     : POINTER TO LREAL;
    nInitialValuesSize : UDINT;
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

fCutoff

LREAL

Cut-off frequency in Hz (greater than 0 and less than fSamplingRate/2)

fSamplingRate

LREAL

Sampling rate fs in Hz (greater than zero)

nSamplesToFilter

UDINT

Number of samples for calculating the sliding average value (often referred to as window size). At null, the number is calculated automatically (optional)

nOversamples

UDINT

Number of oversamples (greater than zero)

nChannels

UDINT

Number of channels (greater than zero and less than 101)

pInitialValues

Pointer to LREAL

Pointer to array with initial values (optional)

nInitialValuesSize

UDINT

Size of the array with initial values in BYTE (optional)