IDriverRequestFactoryReusable.CreateReusableRequest (METH)¶
METHOD CreateReusableRequest : IDriverRequestReusable
Creates a request representing a read or write operation for the given list of items. The request may stay alive until it is released. From the driver’s point of view the request can live as long as the connection to the connected device is alive. For the user of this request, this means that it might be issued in several calls to IDriverStateMachine.SendRequest When the request is no longer necessary, it will be released by a call to IDriverRequestFactory.ReleaseRequest
- InOut:
Scope
Name
Type
Comment
Return
CreateReusableRequest
A new request object representing the read or write operation for the given list of items.
Input
pItems
POINTER TO IDataItem
A pointer to an array of IDataItem instances that should be written.
itemsCount
DINT
The number of items within the array.