IDatasourcesMgr.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 IDatasourcesMgr.EndDataConfiguration
Important
Before calling methods like IDatasourcesMgr.UseData or IDatasourcesMgr.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