TracePacketConfiguration
(STRUCT)
TYPE TracePacketConfiguration : STRUCT
Configuration of a trace packet
- InOut:
Name
Type
Comment
pszName
POINTER TO STRING
The name of the trace packet
pszApplicationName
POINTER TO STRING
The name of the application (optional)
pszIecTaskName
POINTER TO STRING
IEC-task name in which the samples are recorded (optional)
pszComment
POINTER TO STRING
A comment for the packet (optional)
pttTrigger
POINTER TO TraceTrigger
Pointer to a trigger description (optional)
ptvCondition
POINTER TO TraceVariable
A pointer to the description of a boolean variable. If given, samples are recorded only if the variable has value true. (optional, must be present if TRACE_PACKET_FLAGS_CONDITION is set in ulFlags)
ulEveryNCycles
UDINT
Record samples every ulEveryNCycles cycles. Must be > 0. (Default: 1)
ulBufferEntries
UDINT
The number of samples that the trace buffer can hold.
ulFlags
UDINT
Trace packet flags. See TRACE_PACKET_FLAGS.