TraceMgrGetConfigFromFileRelease (FUN)

FUNCTION TraceMgrGetConfigFromFileRelease : RTS_IEC_RESULT

This function has to be called after TraceMgrGetConfigFromFile. It frees the dynamically allocated memory for the strings of the packet resp. record configuration.

InOut:

Scope

Name

Type

Comment

Return

TraceMgrGetConfigFromFileRelease

RTS_IEC_RESULT

Returns the runtime system error code (see CmpErrors.library)

Input

pPacketConfiguration

POINTER TO TracePacketConfiguration

Points to a TracePacketConfiguration variable, where the packet configuration was stored (in)

pRecordConfiguration

POINTER TO TraceRecordConfiguration

Points to a TraceRecordConfiguration variable (or an array of TraceRecordConfiguration variables), where the trace record configuration was stored. (in)

iRecordCount

DINT

Contains real number of records, that are stored in the array pRecordConfiguration (in)