GetFilterActiveTimestamps
The method calculates when the filter was last active, based on the last Call().
Syntax
METHOD GetFilterActiveTimestamps: BOOL
VAR_INPUT
pFilterActiveTimestamps : POINTER TO BOOL;
nSizeFilterActiveTimestamps : UDINT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
pFilterActiveTimestamps | POINTER TO ULINT | Address of the input array |
nSizeFilterActiveTimestamps | UDINT | Size of the input array |
Return value
Name | Type | Description |
---|---|---|
GetFilterActiveTimestamps | BOOL | Returns TRUE if the timestamps have been calculated. |
Sample
aFilterActiveTimeStamps : ARRAY [1..cChannels] OF ARRAY [1..cOversamples] OF ULINT;
bSucceed := fbFilter. GetFilterActiveTimestamps (ADR(aFilterActiveTimeStamps),SIZEOF(aFilterActiveTimeStamps));