GetFilterActive

The method calculates which elements of the input signal were changed, starting from the last Call().

Syntax

METHOD GetFilterActive: BOOL
VAR_INPUT
     pFilterActive        : POINTER TO BOOL;
     nSizeGetFilterActive : UDINT;
END_VAR

GetFilterActive 1: Inputs

Name

Type

Description

pFilterActive

POINTER TO BOOL

Address of the input array

nSizeGetFilterActive 

UDINT

Size of the input array

GetFilterActive 2: Return value

Name

Type

Description

GetFilterActive

BOOL

Returns TRUE if active state was calculated.

Sample

aFilterActive : ARRAY [1..cChannels] OF ARRAY [1..cOversamples] OF BOOL;
bSucceed := fbFilter.GetFilterActive(ADR(aFilterActive),SIZEOF(aFilterActive));