IDatasourcesMgr2.GetPersistantItemList (METH) ¶ METHOD GetPersistantItemList : IDataItemListPersistant Returns the nth IDataItemListPersistant managed by the current instance. Can be used for iterating over all lists. 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 Return GetPersistantItemList IDataItemListPersistant Input listNr INT The number of the list to return
IDatasourcesMgr2.Lock (METH) ¶ METHOD Lock : SysTypes.RTS_IEC_RESULT This method locks the concurrent task for monitoring items and allows subsequent accesses to methods of the current instance. To unlock again afterwards, call IDatasourcesMgr2.Unlock InOut: Scope Name Type Comment Return Lock 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
INotificationClient.SingleValueRead (METH) ¶ METHOD SingleValueRead This method will be called when a variable was read from the connected device InOut: Scope Name Type Comment Input remoteName ItemName The name of the variable as known by the connected device that was read. For details of the format of this parameter have a look at ItemName or ItemNameType pReadValue POINTER TO BYTE The address of the value containing the recently read value valueType IBaseLibrary.TypeClass The type information of the currently read value valueSize __UXINT The size in bytes of the currently read value
INotificationClient.SingleValueWrite (METH) ¶ METHOD SingleValueWrite This method will be called when a variable will be written to the connected device Note Please remark that this method will be called before the write operation is sent to the connected device. For being sure about a successful execution the followup call of INotificationClient.WriteRequestDone should be checked. InOut: Scope Name Type Comment Input remoteName ItemName The name of the variable as known by the connected device that was read. For details of the format of this parameter have a look at ItemName or ItemNameType pOldValue POINTER TO BYTE The address of the former value as far as known on side of the current device. Note Please remark that the value might have changed on the connected device in the meantime pNewValue POINTER TO BYTE The address of the value containing the value that will be written valueType IBaseLibrary.TypeClass The type information of the currently read value valueSize __UXINT The size in bytes of the currently read value
INotificationClient.WriteRequestDone (METH) ¶ METHOD WriteRequestDone This method will be called when a write operation on one or more variables was executed. InOut: Scope Name Type Comment Input datasourceName ItemName The name of the datasource where the operation was executed. For details of the format of this parameter have a look at ItemName or ItemNameType result SysTypes.RTS_IEC_RESULT The result of the operation. In case of successful execution, this value will contain |CmpErrors.Errors.ERR_OK|
INotificationClient.WriteRequestStart (METH) ¶ METHOD WriteRequestStart This method will be called when a write operation on one or more variables will be executed. InOut: Scope Name Type Comment Input datasourceName ItemName The name of the datasource where the operation will be executed. For details of the format of this parameter have a look at ItemName or ItemNameType
ITraceAddressInfoWriter (ITF) ¶ INTERFACE ITraceAddressInfoWriter EXTENDS __SYSTEM.IQueryInterface Implementors of this interface are able to write the address info of a variable to the service calls of CmpTraceMgr. Methods: GetAddressFlags GetSize GetType Release WriteAddressInfo Structure: GetAddressFlags (Method) GetSize (Method) GetType (Method) Release (Method) WriteAddressInfo (Method)
ITraceAddressInfoWriter.GetAddressFlags (METH) ¶ METHOD GetAddressFlags : ETraceAddressFlags Returns an <c>ETraceAddressFlags</c> value, that indicates, which type of address info will be written in method <c>WriteAddressInfo</c>. InOut: Scope Name Type Comment Return GetAddressFlags ETraceAddressFlags See summary
ITraceAddressInfoWriter.GetSize (METH) ¶ METHOD GetSize : __UXINT InOut: Scope Name Type Comment Return GetSize __UXINT The size of the variable, whose address info will be written
IDatasourcesMgr2.PersistantItemListCount (PROP) ¶ PROPERTY PersistantItemListCount : INT Returns the number of persistant item lists