ReadData

ReadData 1:

Reads all stored data points into the given array. Returns the number of data points read.

Syntax

Definition:

METHOD ReadData : UDINT
VAR_INPUT
    DestinationAddress : Pointer To ValveCharacteristicPoint;
    NumberOfPoints     : UDINT;
END_VAR

ReadData 2: Inputs

Name

Type

Description

DestinationAddress

Pointer To ValveCharacteristicPoint

Pointer to ARRAY[1..NumberOfPoints] of ValveCharacteristicPoint

NumberOfPoints

UDINT

Capacity of the destination array (maximum number of data points to read).

ReadData 3: Return value

UDINT