TracePacketConfiguration (STRUCT)
TYPE TracePacketConfiguration : STRUCT
Configuration of a trace packet
- InOut:
Name
Type
Comment
pszNamePOINTER TO STRING
The name of the trace packet
pszApplicationNamePOINTER TO STRING
The name of the application (optional)
pszIecTaskNamePOINTER TO STRING
IEC-task name in which the samples are recorded (optional)
pszCommentPOINTER TO STRING
A comment for the packet (optional)
pttTriggerPOINTER TO TraceTrigger
Pointer to a trigger description (optional)
ptvConditionPOINTER 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)
ulEveryNCyclesUDINTRecord samples every ulEveryNCycles cycles. Must be > 0. (Default: 1)
ulBufferEntriesUDINTThe number of samples that the trace buffer can hold.
ulFlagsUDINTTrace packet flags. See TRACE_PACKET_FLAGS.