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.ListOperationDone (METH) ¶ METHOD ListOperationDone This method will be called when an operation on a list of variables was executed (eg. IDatasourcesMgr.ReadItemsSync or IDatasourcesMgr.WriteItemsSync ) InOut: Scope Name Type Comment Input xWriting BOOL This value signals whether the current operation was a write operation. 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.ListOperationStart (METH) ¶ METHOD ListOperationStart This method will be called when an operation on a list of variables will be executed (eg. IDatasourcesMgr.ReadItemsSync or IDatasourcesMgr.WriteItemsSync ) InOut: Scope Name Type Comment Input xWriting BOOL This value signals whether the current operation will be a write operation. 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
INotificationClient.ListValueRead (METH) ¶ METHOD ListValueRead This method will be called when a variable was read as part of a list operation (see INotificationClient.ListOperationStart or INotificationClient.ListOperationDone ) 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.ListValueWrite (METH) ¶ METHOD ListValueWrite This method will be called when a variable will be written as part of a list operation (see INotificationClient.ListOperationStart or INotificationClient.ListOperationDone ) 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.ListOperationDone 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 pWriteValue 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.ReadRequestDone (METH) ¶ METHOD ReadRequestDone This method will be called when a read 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.ReadRequestStart (METH) ¶ METHOD ReadRequestStart This method will be called when a read 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
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|