GetChannelOutputArray

Retrieves a channel-specific output array. The output values were updated in the previously called Call() method.

Syntax

Definition:

METHOD GetChannelOutputArray : BOOL
VAR_INPUT
    nChannel : UDINT;
    pArrayOut : PVOID;
    nArrayOutSize : UDINT;
END_VAR

GetChannelOutputArray 1: Inputs

Name

Type

Description

nChannel

UDINT

Channel index (1 to 4)

1: Temporal distribution of humidity within the encoder. (Section Timer)

2: Temporal distribution of the temperature within the encoder. (Section Timer)

3: Distribution of acceleration in the X direction. (Histogram)

4: Distribution of acceleration in the Y direction. (Histogram)

pArrayOut

PVOID

Pointer to an array into which the output values are to be written.

Data types:

1: LINT

2: LINT

3: ULINT

4: ULINT

nArrayOutSize

UDINT

Array size

Dimension:

1: nNumSectionsHumidity

2: nNumSectionsTemperature

3: nNumBinsRmsAcceleration

4: nNumBinsRmsAcceleration

GetChannelOutputArray 2: Return value

Name

Type

Description

GetChannelOutputArray

BOOL

Returns TRUE if successful.