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
DatasourcesMgr.GetItemInfo (METH) ¶ METHOD GetItemInfo : IDatasources.IDataItemBase InOut: Scope Name Type Return GetItemInfo IDatasources.IDataItemBase Input pstSymbol POINTER TO STRING
ItemList ¶ CreateItemList (Method) DeleteItemList (Method)
DatasourcesMgr.CreateItemList (METH) ¶ METHOD CreateItemList : IDatasources.IDataItemList Creates a new item list that can be used for reading/writing synchronously for example. Important Please remark that you have to release the returned object when it is no longer in use by calling |IDatasourcesMgr.DeleteItemList| InOut: Scope Name Type Comment Return CreateItemList IDatasources.IDataItemList Input udiInitialCapacity UDINT The initial capacity of this list (will be extended if it becomes larger)
DatasourcesMgr.DeleteItemList (METH) ¶ METHOD DeleteItemList : SysTypes.RTS_IEC_RESULT Deletes an item list and the items managed therin that was previously created using |IDatasourcesMgr.CreateItemList| InOut: Scope Name Type Comment Return DeleteItemList SysTypes.RTS_IEC_RESULT An error code representing the result of the operation. In case of success, ERR_OK will be returned Input itemsList IDatasources.IDataItemList
FrameManager.GetReplacementInfo (METH) ¶ METHOD GetReplacementInfo : POINTER TO IDatasources.ReplacementInfo InOut: Scope Name Type Return GetReplacementInfo POINTER TO IDatasources.ReplacementInfo Input pstFramePath POINTER TO STRING(255)
FrameManager.Initialize (METH) ¶ METHOD Initialize : BOOL InOut: Scope Name Type Return Initialize BOOL Input pData POINTER TO ARRAY [0..0] OF FrameRegistrationData nCount INT
MappingDesc_ArrayArbitrary.FindChild (METH) ¶ METHOD FindChild : SymbolicVarsBase.ITreeWalker InOut: Scope Name Type Return FindChild SymbolicVarsBase.ITreeWalker Input pstPath POINTER TO STRING varInfo REFERENCE TO SymbolicVarsBase.VariableInformation pResult POINTER TO UDINT Inout iOffsetInPath __XWORD