IDataItemListExpanding.CreateAndAddExpanding (METH) ¶ METHOD CreateAndAddExpanding : SysTypes.RTS_IEC_RESULT Creates a new item for monitoring and immediately adds it to the list similar to IDataItemList.CreateAndAdd . The difference of this method to IDataItemList.CreateAndAdd is that variables of non scalar datatypes (eg. structures or arrays) maybe expanded automatically so that all sub elements are monitored instead of the complete value if that is necessary for a specific type of connected datasource. InOut: Scope Name Type Comment Return CreateAndAddExpanding SysTypes.RTS_IEC_RESULT An error code representing the result of the operation. In case of success, ERR_OK will be returned 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.
IDataItemListPersistant.UsageDetails (PROP) ¶ PROPERTY UsageDetails : WSTRING Returns the usage detail information of this list
IDatasource (ITF) ¶ INTERFACE IDatasource EXTENDS __SYSTEM.IQueryInterface Properties: CustomRequestHandling Methods: EnqueueCustomRequest SetCredentialsProvider Structure: CustomRequestHandling (Property) EnqueueCustomRequest (Method) SetCredentialsProvider (Method)
IDatasource.CustomRequestHandling (PROP) ¶ PROPERTY CustomRequestHandling : ICustomRequestHandling
IDatasource.EnqueueCustomRequest (METH) ¶ METHOD EnqueueCustomRequest : SysTypes.RTS_IEC_RESULT Enqueues the given request for sending to the connected device the next time this is possible. Note It is possible to call this method without holding locks on the datasources (like IDatasourcesMgr.BeginDataConfiguration ) InOut: Scope Name Type Comment Return EnqueueCustomRequest SysTypes.RTS_IEC_RESULT Returns a runtime system error code (see CmpErrors.library) or one of Errors representing the result of the operation. Input request ICustomRequest The request that should be sent finishedCallback ICustomRequestCallback The callback that should be called once a response is received for the sent request.
IDatasource.SetCredentialsProvider (METH) ¶ METHOD SetCredentialsProvider : SysTypes.RTS_IEC_RESULT Assigns the given credentials provider object to a specific datasource. InOut: Scope Name Type Comment Return SetCredentialsProvider SysTypes.RTS_IEC_RESULT An error code representing the result of the operation Input provider ICredentialsProvider The object to assign
IDatasource2 (ITF) ¶ INTERFACE IDatasource2 EXTENDS IDatasource Extension of IDatasource supporting some new properties Properties: Error State CustomRequestHandling , inherited from IDatasource Methods: EnqueueCustomRequest , inherited from IDatasource SetCredentialsProvider , inherited from IDatasource Structure: Error (Property) State (Property)