.UpdateTrend Dotfield
- Last UpdatedNov 07, 2016
- 1 minute read
The .UpdateTrend dotfield triggers an update to a historical trend. Using the .UpdateTrend dotfield in a button action script, the operator can manually update the trend during run time.
Category
Historical.
Usage
HistTrendTag.UpdateTrend
Parameter
HistTrendTag
HistTrend tag assigned the name of the trend.
Remarks
Historical trends do not automatically update. A change must be made to either the .ChartStart or the .ChartLength dotfields to update the chart and show the current values for the specified tags. By using this dotfield in a button action script, the operator can update the chart during run time. You can also use this dotfield in a QuickScript if other dotfields associated with the historical trend are going to be changed.
You should only set the .UpdateTrend dotfield to a value of 1.
Data Type
Discrete (write only).
Valid Values
1
Example
This example triggers the historical trend associated with the MyHistTrendTag tag to update with the current values of all parameters.
MyHistTrendTag.UpdateTrend=1;