IDataItemBase.TimeStamp (PROP) ¶ PROPERTY TimeStamp : TIME Returns the time when this item was monitored for the last time.
IDatasourcesMgr (ITF) ¶ INTERFACE IDatasourcesMgr EXTENDS __SYSTEM.IQueryInterface This interface allows access to functionality provided by the Datasources Mgr like activating or deactivating variables or retrieve status information. Methods: ActionRecordDelete ActionRecordReplay ActionRecordingGetResult ActionRecordingStart AllItemsOk BeginDataConfiguration CreateItemList DeleteItemList EndDataConfiguration GetDatasource GetItemInfo ReadItemsSync ReleaseData SetCredentialsProvider UseData WriteItemsSync Structure: ActionRecordDelete (Method) ActionRecordReplay (Method) ActionRecordingGetResult (Method) ActionRecordingStart (Method) AllItemsOk (Method) BeginDataConfiguration (Method) CreateItemList (Method) DeleteItemList (Method) EndDataConfiguration (Method) GetDatasource (Method) GetItemInfo (Method) ReadItemsSync (Method) ReleaseData (Method) SetCredentialsProvider (Method) UseData (Method) WriteItemsSync (Method)
IDatasourcesMgr.ActionRecordDelete (METH) ¶ METHOD ActionRecordDelete : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ActionRecordDelete SysTypes.RTS_IEC_RESULT Input record IDatasourcesActionRecord
IDatasourcesMgr.ActionRecordReplay (METH) ¶ METHOD ActionRecordReplay : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ActionRecordReplay SysTypes.RTS_IEC_RESULT Input record IDatasourcesActionRecord
IDataItemBase.TypeClass (PROP) ¶ PROPERTY TypeClass : IBaseLibrary.TypeClass Returns the typeclass of this item
IDatasourcesMgr.WriteItemsSync (METH) ¶ METHOD WriteItemsSync : SysTypes.RTS_IEC_RESULT Writes 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 WriteItemsSync SysTypes.RTS_IEC_RESULT Input items IDataItemList The list of items that have to be written
IDatasourcesMgr2 (ITF) ¶ INTERFACE IDatasourcesMgr2 EXTENDS IDatasourcesMgr Extension of IDatasourcesMgr supporting persistant item lists for preregistering lists of variables within connected devices. Properties: PersistantItemListCount Methods: AddNotificationClient CreatePersistantItemList DeletePersistantItemList GetPersistantItemList Lock RemoveNotificationClient Unlock ActionRecordDelete , inherited from IDatasourcesMgr ActionRecordReplay , inherited from IDatasourcesMgr ActionRecordingGetResult , inherited from IDatasourcesMgr ActionRecordingStart , inherited from IDatasourcesMgr AllItemsOk , inherited from IDatasourcesMgr BeginDataConfiguration , inherited from IDatasourcesMgr CreateItemList , inherited from IDatasourcesMgr DeleteItemList , inherited from IDatasourcesMgr EndDataConfiguration , inherited from IDatasourcesMgr GetDatasource , inherited from IDatasourcesMgr GetItemInfo , inherited from IDatasourcesMgr ReadItemsSync , inherited from IDatasourcesMgr ReleaseData , inherited from IDatasourcesMgr SetCredentialsProvider , inherited from IDatasourcesMgr UseData , inherited from IDatasourcesMgr WriteItemsSync , inherited from IDatasourcesMgr Structure: AddNotificationClient (Method) CreatePersistantItemList (Method) DeletePersistantItemList (Method) GetPersistantItemList (Method) Lock (Method) PersistantItemListCount (Property) RemoveNotificationClient (Method) Unlock (Method)
IDatasourcesMgr2.AddNotificationClient (METH) ¶ METHOD AddNotificationClient : SysTypes.RTS_IEC_RESULT This method can be used to register an implementation of INotificationClient that will be notified about operations of the datasources. Note Please remark that the number of notification clients might be limited so at least if registering several clients the return value should be evaluated. Note The registered object can be removed using IDatasourcesMgr2.RemoveNotificationClient InOut: Scope Name Type Comment Return AddNotificationClient SysTypes.RTS_IEC_RESULT An error code that signals whether the registration was successful. Input client INotificationClient The object that will be notified about operations of the datasources.
IDatasourcesMgr2.CreatePersistantItemList (METH) ¶ METHOD CreatePersistantItemList : IDataItemListPersistant Creates an item list that will be registered automatically within the affected datasources after (re)connections of these datasources. An according list can be used in followup calls to IDatasourcesMgr.ReadItemsSync or IDatasourcesMgr.WriteItemsSync Important Having such lists might slow down the connection setup because the list has to be registered within the connected device! Important Using this method and the related ones working on the list requires according locking around using IDatasourcesMgr2.Lock and IDatasourcesMgr2.Unlock Note It is not supported to register several lists for the same usecase. Note Once the list is no longer necessary, it can be deleted using IDatasourcesMgr2.DeletePersistantItemList InOut: Scope Name Type Comment Return CreatePersistantItemList IDataItemListPersistant Input usage PersistantItemListUsage The usecase this list is intended for usageDetails WSTRING Some details of the usage. In case of PersistantItemListUsage.Recipes this will be the name of the recipe definition. udiInitialCapacity UDINT The initial capacity of this list (will be extended if it becomes larger) Output result SysTypes.RTS_IEC_RESULT An error code providing additional information in case of creation problems
IDatasourcesMgr2.DeletePersistantItemList (METH) ¶ METHOD DeletePersistantItemList Deletes a formerly created IDataItemListPersistant Important Using this method and the related ones working on the list requires according locking around using IDatasourcesMgr2.Lock and IDatasourcesMgr2.Unlock InOut: Scope Name Type Comment Input itemsList IDataItemListPersistant The list to delete