tagdictionary-DataPolicy
Tag dictionaries may include data policies. A data policy provides additional metadata associated with a tag or tag group. The tagdictionary palette contains the following DataPolicy components:
-
DataPolicy
-
BooleanDataPolicy
-
EnumDataPolicy
-
NumericDataPolicy
-
StringDataPolicy
An Add Data Policy action has been added to TagInfo and TagGroupInfo components. Invoking this action prompts you to select a DataPolicy type to add to the selected TagInfo or TagGroupInfo component in a tag dictionary.
You can also add a data policy to TagInfo or TagGroupInfo components by dragging a DataPolicy component from the tagdictionary palette onto the desired TagInfo or TagGroupInfo component.
Properties for Data Policy
| Name | Value | Description |
|---|---|---|
| Min Interval | drop-down with time intervals (defaults to None) |
Defines the minimum allowed interval
when requesting a value or trend request.
When a value or trend request is processed, if the value of the Interval in the request is less than the value of this Min Interval, the Algorithm modifies the value of the Interval in the request to be the value of this Min Interval prior to processing the request. For example, if a trend request specifies the Interval as Five Minutes and the algorithm’s Min Interval is Fifteen Minutes the algorithm changes the request Interval from Five Minutes to Fifteen Minutes before processing the request. The default of None allows any interval to be specified in the request. |
| Max Interval | drop-down with time intervals (defaults to None) |
Defines the maximum allowed Interval when requesting a trend.
When an algorithm processes a value or trend request, if the value of the request’s Interval is greater than the value of this Max Interval, the algorithm modifies the value of the request’s Interval to the value of this Max Interval prior to processing the request. For example, if the trend request specifies an Interval of Week and the algorithm’s Max Interval is Day the algorithm changes the value of the request’s Interval from Week to Day before processing the request. The default of None allows any Interval to be specified in the request. |
| Preferred Time Range | from and to times (both default to 12 AM EDT) |
Configures when the time period
starts and ends.
|
| Preferred Rollup | drop-down list of arithmetic functions |
Defines the how to roll
up the data when a request does not specify the rollup function.
|
| Preferred Aggregation | drop-down list of arithmetic functions |
Defines the aggregation
to use when a request does not specify the aggregation function.
|
| Units | drop-down list of units of measure |
Identifies which
unit of measurement system to use, English or metric.
EnglishMetricNone |
| Precision | 32 bit (default), 64 bit |
Selects 32 bit or 64 bit options for the history data logging.
The 64 bit option allows for higher level of precision but consumes
more memory.
|
| Totalized | ||
| Trend Required | true (default) or false |
When true, all
points must have a trend.
|