GetChannelOutputValue

Fetching a channel-specific output value. The output value is only updated if the Call() method was called previously.

Syntax

Definition:

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

GetChannelOutputValue 1: Inputs

Name

Type

Description

nChannel

UDINT

Channel index (0 (bias) to nNumChannels)

output

ANY

Output value of any data type.

GetChannelOutputValue 2: Return value

Name

Type

Description

GetChannelOutputValue

BOOL

Returns TRUE if successful.