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

GetFilterActiveTimestamps 1: Inputs

Name

Type

Description

pFilterActiveTimestamps

POINTER TO ULINT

Address of the input array

nSizeFilterActiveTimestamps

UDINT

Size of the input array

GetFilterActiveTimestamps 2: 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));