IDatasourcesMgr.CreateItemList (METH) ¶ METHOD CreateItemList : 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 IDataItemList Input udiInitialCapacity UDINT The initial capacity of this list (will be extended if it becomes larger)
IDatasourcesMgr.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 IDataItemList
IDatasourcesMgr.EndDataConfiguration (METH) ¶ METHOD EndDataConfiguration : SysTypes.RTS_IEC_RESULT Releases a previously taken lock by IDatasourcesMgr.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
IDatasourcesMgr.GetDatasource (METH) ¶ METHOD GetDatasource : IDatasource Returns the datasource representing the given object’s name. InOut: Scope Name Type Comment Return GetDatasource 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
IDatasourcesMgr.GetItemInfo (METH) ¶ METHOD GetItemInfo : IDataItemBase InOut: Scope Name Type Return GetItemInfo IDataItemBase Input pstSymbol POINTER TO STRING
IDatasourcesMgr.ReadItemsSync (METH) ¶ METHOD ReadItemsSync : SysTypes.RTS_IEC_RESULT Reads the given list of items synchronously. Important Please remark that the operation might take quite some time in case many items are contained within the list. For this time, the call is blocking! InOut: Scope Name Type Comment Return ReadItemsSync SysTypes.RTS_IEC_RESULT Input items IDataItemList The list of items that have to be read
IDatasourcesMgr.ReleaseData (METH) ¶ METHOD ReleaseData : SysTypes.RTS_IEC_RESULT Deactivates the item of the given instance path from monitoring. Note The items are reference counted so each call to IDatasourcesMgr.UseData or IDatasourcesMgr3.UseDataExpanding requires a matching call to ReleaseData InOut: Scope Name Type Comment Return ReleaseData SysTypes.RTS_IEC_RESULT Returns a runtime system error code (see CmpErrors.library) or one of Errors Input pstSymbol POINTER TO STRING The symbolic name of the variable to activate. Here the name of the variable on the local PLC/HMI is expected.
IDataItemListPersistant (ITF) ¶ INTERFACE IDataItemListPersistant EXTENDS IDataItemList As an extension to IDataItemList implementations of this interface are intended for living until a connection ends and are intended for being read or written several times. Properties: Usage UsageDetails Count , inherited from IDataItemList Methods: FinishedAdding Clear , inherited from IDataItemList CreateAndAdd , inherited from IDataItemList GetItem , inherited from IDataItemList Structure: FinishedAdding (Method) Usage (Property) UsageDetails (Property)
IDataItemListPersistant.FinishedAdding (METH) ¶ METHOD FinishedAdding : SysTypes.RTS_IEC_RESULT This method must be called by users of such a list once the insertion of items (using IDAtaItemList.CreateAndAdd ) is finished. Afterwards the list can be registered within the affected datasource(s). After calling this method it is no longer possible to add additional items. InOut: Scope Name Type Comment Return FinishedAdding SysTypes.RTS_IEC_RESULT An error code representing the result of this operation.
IDataItemListPersistant.Usage (PROP) ¶ PROPERTY Usage : PersistantItemListUsage Returns the usage information of this list.