GetChannelOutputValue

Fetching a channel-specific output value. The output value corresponds to the distance between the reference channel and the input channel. The smaller the distance, the more equal the compared signals are. The value is updated only if the Call() method has been called before.

Syntax

Definition:

METHOD GetChannelOutputValue : BOOL
VAR_INPUT
    nChannel : UDINT;
    output : ANY;
END_VAR

GetChannelOutputValue 1: Inputs

Name

Type

Description

nChannel

UDINT

Channel index (1 to nNumChannels)

output

ANY

Output value of any data type.

GetChannelOutputValue 2: Return value

Name

Type

Description

GetChannelOutputValue

BOOL

Returns TRUE if successful.