TraceMgrPacketGetFirst (FUN)

FUNCTION TraceMgrPacketGetFirst : RTS_IEC_HANDLE

Returns the first trace packet. This function can be used together with TraceMgrPacketGetNext to iterate through all trace packets.

InOut:

Scope

Name

Type

Comment

Return

TraceMgrPacketGetFirst

RTS_IEC_HANDLE

Returns the runtime system error code (see CmpErrors.library):
  • ERR_NO_OBJECT if there is no trace packet

Inout

pResult

RTS_IEC_RESULT

The result code (out)