TraceTrigger
(STRUCT)
TYPE TraceTrigger : STRUCT
Configuration of the trace trigger
- InOut:
Name
Type
Comment
tvVariable
Specification of the trigger variable
ttvLevel
Holds the trigger level for analog (i.e. non-boolean) triggers
ulFlags
UDINT
Trigger flags. See TRACE_TRIGGER_FLAGS.
byEdge
BYTE
Trigger edge. See TRACE_TRIGGER_EDGE.
byPosition
BYTE
Number of samples to record after the trigger has fired in percent (0..100) of the buffer size. Deprecated, use ulUpdatesAfterTrigger instead.
wAlignmentDummy
WORD
Alignment bytes
ulUpdatesAfterTrigger
UDINT
Number of samples to record after the trigger has fired. Note: TRACE_TRIGGER_FLAGS_UPDATESAFTERTRIGGER must be set in ulFlags, if this entry is used instead of byPosition.