Datasource.CreateTraceAddressInfoWriter (METH) ¶ METHOD CreateTraceAddressInfoWriter : IDatasources.ITraceAddressInfoWriter Creates an instance of ITraceAddressInfoWriter, that is able to write the address info for a given variable. .. note:: The returned ITraceAddressInfoWriter must be released by calling ReleaseTraceAddressInfoWriter InOut: Scope Name Type Comment Return CreateTraceAddressInfoWriter IDatasources.ITraceAddressInfoWriter An ITraceAddressInfoWriter instance containing the address of the passed symbol. If the underlying IDriver does not support this feature 0 is returned. Input psSymbol POINTER TO STRING The symbol for which the address has to be determined. Output udiResult UDINT Returns an error code ERR_OK: In case of success ERR_NOTINITIALIZED: Method was called, before the datasource was initialized ERR_PARAMETER: psSymbol is invalid ERR_NOTIMPLEMENTED: Required interface is not implemented by the driver ERR_NO_OBJECT: If the data item was not found
Datasource.GetPointerSizeInBytes (METH) ¶ METHOD GetPointerSizeInBytes : BYTE InOut: Scope Name Type Comment Return GetPointerSizeInBytes BYTE The number of bytes a pointer on the remote plc consists of Output udiResult UDINT Returns an error code ERR_OK: In case of success ERR_NOTIMPLEMENTED: Required interface is not implemented by the driver
Datasource.ReleaseTraceAddressInfoWriter (METH) ¶ METHOD ReleaseTraceAddressInfoWriter : SysTypes.RTS_IEC_RESULT Releases an ITraceAddressInfoWriter instance, that was previously returned by a call to method CreateTraceAddressInfoWriter InOut: Scope Name Type Comment Return ReleaseTraceAddressInfoWriter SysTypes.RTS_IEC_RESULT The error code Input itfTraceAddressInfoWriter IDatasources.ITraceAddressInfoWriter
Datasource.SetDatasourceIndex (METH) ¶ METHOD SetDatasourceIndex InOut: Scope Name Type Comment Input iDatasourceIndex INT itfDatasourcesMgrInternal IDatasourcesMgrInternal The datasources manager we belong to
Datasource.UpdateWriteCopies (METH) ¶ METHOD UpdateWriteCopies InOut: Scope Name Type Input pItems POINTER TO IDatasources.IDataItem count DINT
DatasourcesMgr.EventCallback (METH) ¶ METHOD EventCallback : CMPEVENTMGR.RTS_IEC_RESULT The interface ICmpEventCallback must be registered for an event. If this event is posted, this callback method is called. InOut: Scope Name Type Comment Return EventCallback CMPEVENTMGR.RTS_IEC_RESULT Input pEventParam POINTER TO CMPEVENTMGR.EventParam Pointer to the event parameters, see Struct EventParam
Action Records ¶ ActionRecordDelete (Method) ActionRecordReplay (Method) ActionRecordingGetResult (Method) ActionRecordingStart (Method)
DatasourcesMgr.ActionRecordDelete (METH) ¶ METHOD ActionRecordDelete : IDatasources.SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ActionRecordDelete IDatasources.SysTypes.RTS_IEC_RESULT Input record IDatasources.IDatasourcesActionRecord
DatasourcesMgr.ActionRecordReplay (METH) ¶ METHOD ActionRecordReplay : IDatasources.SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ActionRecordReplay IDatasources.SysTypes.RTS_IEC_RESULT Input record IDatasources.IDatasourcesActionRecord
DatasourcesMgr.ActionRecordingGetResult (METH) ¶ METHOD ActionRecordingGetResult : IDatasources.SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ActionRecordingGetResult IDatasources.SysTypes.RTS_IEC_RESULT Output result IDatasources.IDatasourcesActionRecord