Driver.CreateTraceAddressInfoWriter (METH)¶
METHOD CreateTraceAddressInfoWriter : IDatasources.ITraceAddressInfoWriter
Determines an IDataItem’s address, that can be used for tracing with CmpTraceMgr and creates and returns a corresponding ITraceAddressInfoWriter instance.
- InOut:
- Scope - Name - Type - Comment - Return - CreateTraceAddressInfoWriter- IDatasources.ITraceAddressInfoWriter- An ITraceAddressInfoWriter instance containing the address of the passed data item. - Input - itfDataItem- IDatasources.IDataItem- The IDataItem - Output - udiResult- UDINT- Returns an error code
- ERR_OK: In case of success 
- ERR_NOTINITIALIZED: Method was called, before the driver was initialized 
- ERR_PARAMETER: itfDataItem is invalid 
- ERR_NOTIMPLEMENTED: When trying to resolve a WSTRING variable name 
- ERR_NO_OBJECT: If the data item was not found 
- ERR_NOMEMORY: If there is no memory to alloc the returned instance