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|
IDatasourcesMgr.ActionRecordingGetResult (METH) ¶ METHOD ActionRecordingGetResult : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ActionRecordingGetResult SysTypes.RTS_IEC_RESULT Output result IDatasourcesActionRecord
IDatasourcesMgr.ActionRecordingStart (METH) ¶ METHOD ActionRecordingStart : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ActionRecordingStart SysTypes.RTS_IEC_RESULT
IDatasourcesMgr.AllItemsOk (METH) ¶ METHOD AllItemsOk : SysTypes.RTS_IEC_RESULT This method will return ERR_OK when all active items of all datasources have the quality good else it will return ERR_DS_BADITEMS. It might return ERR_DS_MULTITASKING_LOCKED when it is currently not possible to have access to all datasources. In this case the client should call this method again later. InOut: Scope Name Type Return AllItemsOk SysTypes.RTS_IEC_RESULT
IDatasourcesMgr.BeginDataConfiguration (METH) ¶ METHOD BeginDataConfiguration : SysTypes.RTS_IEC_RESULT This method locks the concurrent task for monitoring items and allows subsequent accesses to the configuration of the active. To unlock again afterwards, call IDatasourcesMgr.EndDataConfiguration Important Before calling methods like IDatasourcesMgr.UseData or IDatasourcesMgr.ReleaseData it is necessary to do this syncronisation to prevent undefined behaviour. InOut: Scope Name Type Comment Return BeginDataConfiguration 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