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
Inputs
Name | Type | Description |
---|---|---|
pFilterActive | POINTER TO BOOL | Address of the input array |
nSizeGetFilterActive | UDINT | Size of the input array |
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));