TraceMgrRecordAdd
(FUN)
FUNCTION TraceMgrRecordAdd : RTS_IEC_HANDLE
Adds a new record to a trace packet
- InOut:
Scope
Name
Type
Comment
Return
TraceMgrRecordAdd
RTS_IEC_HANDLE
- Returns the runtime system error code (see CmpErrors.library):
ERR_PARAMETER if hPacket is not a valid packet handle, if the variable name is not set, or if the variable type is not supported
ERR_NOMEMORY if there is not enough free memory to create the record
Input
hPacket
RTS_IEC_HANDLE
The trace packet handle
Inout
pConfiguration
The record configuration (in)
pResult
RTS_IEC_RESULT
The result code (out)