Call

The method calculates a manipulated output signal from an input signal that is transferred in the form of a pointer.

Syntax

METHOD Call : BOOL
VAR_INPUT
     pIn        : POINTER TO LREAL;
     nSizeIn    : UDINT;
     pOut       : POINTER TO LREAL;    
     nSizeOut   : UDINT;
END_VAR

Call 1: Inputs

Name

Type

Description

pIn

POINTER TO LREAL

Address of the input array

nSizeIn

UDINT

Size of the input array

pOut

POINTER TO LREAL

Address of the output array

nSizeOut

UDINT

Size of the output array

Call 2: Return value

Name

Type

Description

Call

BOOL

Returns TRUE if a manipulated output signal has been calculated.

Sample

aInput : ARRAY [1..cChannels] OF ARRAY [1..cOversamples] OF LREAL;
aOutput : ARRAY [1..cChannels] OF ARRAY [1..cOversamples] OF LREAL;
bSucceed := fbFilter.Call(ADR(aInput), SIZEOF(aInput), ADR(aOutput), SIZEOF(aOutput));