You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 21 Next »

Download the Solution Example here: TagEstimatedValues.dbsln

  • Solution Name: Tag Estimated Values
  • Software Version: v10
  • Keywords:  

Summary

Example showing the difference between DisplayValue and EstimatedValue in a solution.


Technical Information

The DisplayValue property will show one of three options: the Value tag property (the tag's current value), the EstimatedValue tag property (which is a user-defined calculation), or a Historian Value of the tag.
Using this infrastructure, you can calculate the EstimatedValue as the unit conversion for the Value property and choose whether your display or another system will show the units dynamically.
The method to switch between multiple display values is through the "Client.Context.DisplayValueMode" property, where each given number changes its DisplayValue (i.e., if set to 0, it will show the original value; if set to 1, it will show the estimated value).
In the given example, the current estimation is done by obtaining the first three significant digits of your original number.


Reference Information

→ See Tags for more information.


In this section:

The root page @parent could not be found in space v10.

  • No labels