TraceMgrPacketStart (FUN)

FUNCTION TraceMgrPacketStart : RTS_IEC_RESULT

Starts a trace packet and resets the trigger.

Note

if the packet is started for the first time, the start time of the packet is set to the current time. See: TraceMgrPacketGetStartTime.

InOut:

Scope

Name

Type

Comment

Return

TraceMgrPacketStart

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 (in)