GetOutputArray

Get result array without adding new values.

Syntax

Definition:

METHOD GetOutputArray : BOOL
VAR_INPUT
    nSelection : UDINT;
    pArrayOut: PVOID;
    nArrayOutSize: UDINT;
END_VAR

GetOutputArray 1: Inputs

Name

Type

Description

nSelection 

UDINT

Selection of the array to be output.

1: Sorted absolute values. The data type depends on the Pareto mode
(Count: ULINT | Timespan: LTIME)

2: Accumulated relative output values
(LREAL)

3: Sorted alias names of the input channels
(STRING(255))

4: Input index of the sorted absolute values. Start index: 1

pArrayOut

PVOID

Pointer to output array. Dim.: nNumChannels

nArrayOutSize

UDINT

Size of the output array. Dim.: nNumChannels

GetOutputArray 2: Return value

Name

Type

Description

GetResults

BOOL

Returns TRUE if successful