RequestFactory.CreateLargeWriteRequest (METH)ΒΆ

METHOD CreateLargeWriteRequest : IDatasources.IDriverLargeRequest

Creates a request representing a write operation for the given list of items. When the request is no longer necessary, it will be released by a call to |IDriverRequestFactory.ReleaseRequest| In contrast to |IDriverRequestFactory.CreateWriteRequest|, the resulting request might require being sent using several calls to |IDriverStateMachine.SendRequest| for completion.

Important

The passed list of items must not be stored as part of the request.

InOut:

Scope

Name

Type

Comment

Return

CreateLargeWriteRequest

IDatasources.IDriverLargeRequest

A new request object representing a write operation for the given list of items.

Input

pItems

POINTER TO IDatasources.IDataItem

A pointer to an array of |IDataItem| instances that should be written.

itemsCount

DINT

The number of items within the array.