TraceRecordConfiguration (STRUCT)ΒΆ
TYPE TraceRecordConfiguration : STRUCT
Trace record configuration
The colors (ulGraphColor, ulMinWarningColor, ulMaxWarningColor) and are encoded in UDINTs in the ARGB format: the most significand byte is the alpha value, the next byte the red value, followed by green and blue. Each color component takes a value between 0 and FF. So 0xFF000000 is white, 0xFFFFFFFF is black, 0xFFFF0000 is red, 0xFF00FF00 is green, and 0xFF0000FF is blue.
- InOut:
Name
Type
Initial
Comment
pszVariablePOINTER TO STRING
Name of the variable
tvaAddressAddress definition of the variable
tcClassType class of the variable. See enum IBase.TypeClass for the possible values.
ulSizeUDINTSize in bytes of a single sample
ulGraphColorUDINT16#FF0000FF
Color in which the trace curve for the variable should be displayed
ulGraphTypeUDINT1
Graph type:1: line (with points)2: cross4: step (with points)5: point8: line (without points)9: step (without points)10: line (with crosses)11: steps (with crosses))ulMinWarningColorUDINTColor to use if a sample is <= fCriticalLowerLimit
ulMaxWarningColorUDINTColor to use if a sample is >= fCriticalUpperLimit
fCriticalLowerLimitREALThe lower limit
fCriticalUpperLimitREALThe upper limit
bActivateMinWarningBOOLIf set, the trace will be displayed in the color ulMinWarningColor as soon as a sample is <= fCriticalLowerLimit
bActivateMaxWarningBOOLIf set, the trace will be displayed in the color ulMaxWarningColor as soon as a sample is >= fCriticalUpperLimit
byYAxisBYTENot used