TraceMgrPacketRestart (FUN)

FUNCTION TraceMgrPacketRestart : RTS_IEC_RESULT

Restarts a trace packet and resets the start time and the trigger.

In contrast to TraceMgrPacketStart, the trace is stopped and the start time is reset to the current time before it is started again.

InOut:

Scope

Name

Type

Comment

Return

TraceMgrPacketRestart

RTS_IEC_RESULT

Returns the runtime system error code (see CmpErrors.library):
  • ERR_PARAMETER if hPacket is not a valid packet handle

Input

hPacket

RTS_IEC_HANDLE

The trace packet handle