IDatasource.CustomRequestHandling (PROP) ¶ PROPERTY CustomRequestHandling : ICustomRequestHandling
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.
IDatasource.SetCredentialsProvider (METH) ¶ METHOD SetCredentialsProvider : SysTypes.RTS_IEC_RESULT Assigns the given credentials provider object to a specific datasource. InOut: Scope Name Type Comment Return SetCredentialsProvider SysTypes.RTS_IEC_RESULT An error code representing the result of the operation Input provider ICredentialsProvider The object to assign
IDatasource2 (ITF) ¶ INTERFACE IDatasource2 EXTENDS IDatasource Extension of IDatasource supporting some new properties Properties: Error State CustomRequestHandling , inherited from IDatasource Methods: EnqueueCustomRequest , inherited from IDatasource SetCredentialsProvider , inherited from IDatasource Structure: Error (Property) State (Property)
IDatasource2.Error (PROP) ¶ PROPERTY Error : UDINT Gets the last error of communication
IDatasource2.State (PROP) ¶ PROPERTY State : MonitoringState Gets the state of communication
IDatasource3 (ITF) ¶ INTERFACE IDatasource3 EXTENDS IDatasource2 Extension of IDatasource2 supporting some new properties Properties: UpdateRate CustomRequestHandling , inherited from IDatasource Error , inherited from IDatasource2 State , inherited from IDatasource2 Methods: SetUpdateRateReduction EnqueueCustomRequest , inherited from IDatasource SetCredentialsProvider , inherited from IDatasource Structure: SetUpdateRateReduction (Method) UpdateRate (Property)
IDatasource3.SetUpdateRateReduction (METH) ¶ METHOD SetUpdateRateReduction Sets the parameters for update rate reduction InOut: Scope Name Type Comment Input uiFactor UINT Reduction factor tMaxValue TIME The maximum level allowed
ICustomRequestCallback.RequestFinished (METH) ¶ METHOD RequestFinished This method will be called when the execution of the given request is finished. Note The method will be called no matter whether the request was executed successfully or not. Callees can find out about this fact by evaluating the according result. InOut: Scope Name Type Comment Input request ICustomRequest The request that was finished response ICustomResponse The response to the request. Valid only in case the result is ERR_OK. Note Please remark that this object is no longer valid when this method returns. result SysTypes.RTS_IEC_RESULT The result of the execution as one of the runtime system error codes (see CmpErrors.library) or one of Errors . In case the service was sent successfully, ERR_OK will be set as the result
ICustomRequestHandling (ITF) ¶ INTERFACE ICustomRequestHandling EXTENDS __SYSTEM.IQueryInterface Methods: ReleaseRequest Structure: ReleaseRequest (Method)