TraceVariableAddress (STRUCT) ¶ TYPE TraceVariableAddress : STRUCT Address description of a single trace variable InOut: Name Type Comment ulAddressFlags UDINT Address flags. See TRACE_VAR_ADDRESS_FLAGS taAddress TraceAddress Trace address definition
TriggerState (STRUCT) ¶ TYPE TriggerState : STRUCT The state of the trigger InOut: Name Type Comment ulState UDINT The state. See TRACE_TRIGGER_STATE dtTriggerDate UDINT The date of the trigger event (in UTC) tTriggerReached SYSTIME The time of the trigger event
TriggerValue (UNION) ¶ TYPE TriggerValue : UNION An union for all possible types of trigger values InOut: Name Type b SINT uc BYTE si INT usi WORD l DINT ul UDINT f REAL ll LINT ull LWORD d LREAL
TypeClass3 (ALIAS) ¶ TYPE TypeClass3 : UDINT See enum IBase.TypeClass for the possible values
TRACE_PACKET_FLAGS (GVL) ¶ Trace packet flags InOut: Scope Name Type Initial Comment Constant TRACE_PACKET_FLAGS_NOT_INITIALIZED UDINT 16#0 The trace packet is not initialized TRACE_PACKET_FLAGS_COMPLETED UDINT 16#1 The trace packet is complete (all records have been added) TRACE_PACKET_FLAGS_AUTOSTART UDINT 16#2 Persistent storage of the trace and automatic start of the trace after reboot or to restore only on request TRACE_PACKET_FLAGS_CONDITION UDINT 16#4 Optional boolean condition for the trace packet is specified TRACE_PACKET_FLAGS_TIMESTAMP_MS UDINT 16#10 Time stamps for the trace samples have milliseond resolution TRACE_PACKET_FLAGS_TIMESTAMP_US UDINT 16#20 Time stamps for the trace samples have microseond resolution TRACE_PACKET_FLAGS_SYSTEM_TRACE UDINT 16#10000 Is used to mark a trace as system trace
TRACE_PACKET_STATE (GVL) ¶ Trace state InOut: Scope Name Type Initial Comment Constant TRACE_PACKET_STATE_NO_CONFIG UDINT 16#0 Trace packet not configured TRACE_PACKET_STATE_DISABLED UDINT 16#1 Trace packet disabled TRACE_PACKET_STATE_ENABLED UDINT 16#2 Trace packet enabled TRACE_PACKET_STATE_STARTED UDINT 16#3 Trace packet started TRACE_PACKET_STATE_STOPPED UDINT 16#4 Trace packet stopped
TRACE_RECORD_GRAPH_TYPES (GVL) ¶ Graph types. See TraceRecordConfiguration InOut: Scope Name Type Initial Constant TRACE_RECORD_GRAPHTYPE_NONE UDINT 0 TRACE_RECORD_GRAPHTYPE_LINE UDINT 1 TRACE_RECORD_GRAPHTYPE_CROSS UDINT 2 TRACE_RECORD_GRAPHTYPE_STEP UDINT 4 TRACE_RECORD_GRAPHTYPE_POINT UDINT 5 TRACE_RECORD_GRAPHTYPE_LINES_NO_POINTS UDINT 8 TRACE_RECORD_GRAPHTYPE_STEPS_NO_POINTS UDINT 9 TRACE_RECORD_GRAPHTYPE_LINES_POINTS UDINT 10 TRACE_RECORD_GRAPHTYPE_STEPS_POINTS UDINT 11
TRACE_TRIGGER_EDGE (GVL) ¶ Trigger edge InOut: Scope Name Type Initial Comment Constant TRIGGER_EDGE_NONE BYTE 0 No trigger edge specified TRIGGER_EDGE_RISING BYTE 1 Rising trigger edge TRIGGER_EDGE_TRAILING BYTE 2 Falling trigger edge TRIGGER_EDGE_BOTH BYTE 3 Both rising and falling trigger edge
TRACE_TRIGGER_FLAGS (GVL) ¶ Trigger flags InOut: Scope Name Type Initial Comment Constant TRACE_TRIGGER_FLAGS_UNDEFINED UDINT 16#0 Trigger undefined TRACE_TRIGGER_FLAGS_DEFINED UDINT 16#1 Trigger defined TRACE_TRIGGER_FLAGS_UPDATESAFTERTRIGGER UDINT 16#4 UpdatesAfterTrigger is used instead of TriggerPosition
WriteEnd (FUN) ¶ FUNCTION WriteEnd : DINT Finishes the writing of process data. Usually this is the point when the pi is committed to the device. @param deviceId The id of the device. @param taskId The id of the task. @return Returns 0 on success, -1 otherwise InOut: Scope Name Type Return WriteEnd DINT Input deviceId DINT taskId UDINT