TraceMgrRecordAdd (FUN)
FUNCTION TraceMgrRecordAdd : RTS_IEC_HANDLE
Adds a new record to a trace packet
- InOut:
Scope
Name
Type
Comment
Return
TraceMgrRecordAddRTS_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
hPacketRTS_IEC_HANDLEThe trace packet handle
Inout
pConfigurationThe record configuration (in)
pResultRTS_IEC_RESULTThe result code (out)