IDatasource.EnqueueCustomRequest (METH)ΒΆ

METHOD EnqueueCustomRequest : SysTypes.RTS_IEC_RESULT

Enqueues the given request for sending to the connected device the next time this is possible.

Note

It is possible to call this method without holding locks on the datasources (like IDatasourcesMgr.BeginDataConfiguration)

InOut:

Scope

Name

Type

Comment

Return

EnqueueCustomRequest

SysTypes.RTS_IEC_RESULT

Returns a runtime system error code (see CmpErrors.library) or one of Errors representing the result of the operation.

Input

request

ICustomRequest

The request that should be sent

finishedCallback

ICustomRequestCallback

The callback that should be called once a response is received for the sent request.