ReadData

ReadData 1:

The method is called after a data block has been read and saves the position up to which the data has been read so far.

Syntax

VAR_INPUT
  nIndex        : UDINT;
  pBuff         : PVOID;
  nBuff         : UDINT;
  bEndOfFile    : BOOL;
END_VAR

ReadData 2: Inputs

Name

Type

Description

nIndex

UDINT

Index of the read record.

pBuff

PVOID

A pointer to the read buffer that contains the data that has been read.

nBuff

UDINT

Size of the read buffer that contains the data that has been read.

bEndOfFile

BOOL

Indicates the end of persistent data.