DatasourcesMgr.EventCallback (METH) ¶ METHOD EventCallback : CMPEVENTMGR.RTS_IEC_RESULT The interface ICmpEventCallback must be registered for an event. If this event is posted, this callback method is called. InOut: Scope Name Type Comment Return EventCallback CMPEVENTMGR.RTS_IEC_RESULT Input pEventParam POINTER TO CMPEVENTMGR.EventParam Pointer to the event parameters, see Struct EventParam
Action Records ¶ ActionRecordDelete (Method) ActionRecordReplay (Method) ActionRecordingGetResult (Method) ActionRecordingStart (Method)
DatasourcesMgr.ActionRecordDelete (METH) ¶ METHOD ActionRecordDelete : IDatasources.SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ActionRecordDelete IDatasources.SysTypes.RTS_IEC_RESULT Input record IDatasources.IDatasourcesActionRecord
DatasourcesMgr.ActionRecordReplay (METH) ¶ METHOD ActionRecordReplay : IDatasources.SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ActionRecordReplay IDatasources.SysTypes.RTS_IEC_RESULT Input record IDatasources.IDatasourcesActionRecord
DatasourcesMgr.ActionRecordingGetResult (METH) ¶ METHOD ActionRecordingGetResult : IDatasources.SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ActionRecordingGetResult IDatasources.SysTypes.RTS_IEC_RESULT Output result IDatasources.IDatasourcesActionRecord
DatasourcesMgr.ActionRecordingStart (METH) ¶ METHOD ActionRecordingStart : IDatasources.SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ActionRecordingStart IDatasources.SysTypes.RTS_IEC_RESULT
DatasourcesMgr.AllItemsOk (METH) ¶ METHOD AllItemsOk : SysTypes.RTS_IEC_RESULT This method will return ERR_OK when all active items of all datasources have the quality good else it will return ERR_DS_BADITEMS. It might return ERR_DS_MULTITASKING_LOCKED when it is currently not possible to have access to all datasources. In this case the client should call this method again later. InOut: Scope Name Type Return AllItemsOk SysTypes.RTS_IEC_RESULT
DatasourcesMgr.BeginDataConfiguration (METH) ¶ METHOD BeginDataConfiguration : SysTypes.RTS_IEC_RESULT This method locks the concurrent task for monitoring items and allows subsequent accesses to the configuration of the active. To unlock again afterwards, call EndDataConfiguration .. important:: Before calling methods like UseData or ReleaseData it is necessary to do this syncronisation to prevent undefined behaviour. InOut: Scope Name Type Comment Return BeginDataConfiguration SysTypes.RTS_IEC_RESULT Returns a runtime system error code (see CmpErrors.library) or one of |Errors| Input xBlocking BOOL This variable signals the way to do the synchronization. TRUE: the call will be blocking FALSE: the call will be nonblocking and might faile with the error code [Errors.ERR_DS_MULTITASKING_LOCKED|
DatasourcesMgr.EndDataConfiguration (METH) ¶ METHOD EndDataConfiguration : SysTypes.RTS_IEC_RESULT Releases a previously taken lock by BeginDataConfiguration InOut: Scope Name Type Comment Return EndDataConfiguration SysTypes.RTS_IEC_RESULT Returns a runtime system error code (see CmpErrors.library) or one of |Errors|
DatasourcesMgr.GetDatasource (METH) ¶ METHOD GetDatasource : IDatasources.IDatasource Returns the datasource representing the given object’s name. InOut: Scope Name Type Comment Return GetDatasource IDatasources.IDatasource The datasource object or 0 in case there is none with the given name. Input name STRING The name of the datasource as configured in the according object’s name in the project