.UpdateCount Dotfield
- Last UpdatedNov 07, 2016
- 1 minute read
The .UpdateCount dotfield increments a count each time a historical trend is updated. The .UpdateCount dotfield can be used as a trigger for further functions.
Category
Historical.
Usage
HistTrendTag.UpdateCount
Parameter
HistTrendTag
HistTrend tag assigned the name of the trend.
Data Type
Integer (read-only).
Valid Values
Any positive integer.
Example
This example uses the HTGetValueAtScooter() function to retrieve the value of Pen1 at the right scooter's current position. A change to any function argument causes the function to be re-evaluated. When the update completes and the value of .UpdateCount is incremented, this statement is re-evaluated.
MyRealTag=HTGetValueAtScooter( MyHistTrendTag,MyHistTrendTag.UpdateCount, 2, MyHistTrendTag.ScooterPosRight, 1, "PenValue");
See Also
.UpdateInProgress, .UpdateTrend