Tuning Policy (Json Schema Tuning Policy)

These properties configure how a schema evaluates write requests and the acceptable freshness of read requests.
Figure 32.   Tuning Policy properties
Image

To access these properties, expand Config > JsonSchema > Config and double–click Tuning Policy.

 
NOTE: Clicking Actions > Force Generate Json overrides all tuning policy settings. Export markers applied to numeric points also have a CoV Tolerance property, which you can use to throttle output.
 
Property Value Description
Min Write Time hours minutes seconds Specifies the minimum amount of time allowed between schema generation, so that, for example, hundreds of concurrent CoV changes over a short time do not result in a deluge of JSON messages.

The default value of zero (0) disables this rule causing all value changes to attempt to generate.

Max Write Time hours minutes seconds If nothing else triggers a generate, this property specifies the maximum amount of time to wait before regenerating. Any generation action resets this timer.

The default value of zero (0) disables this rule resulting in no timed generation.

Write On Start true (default) or false Determines schema behaviour when a station starts.

If true, a schema generation occurs when the station starts.

If false, no generation occurs on station start.

Write On Enabled true or false (default) Determines schema behaviour when a status transitions from disabled to normal (enabled).

If true, a generate occurs when the schema transitions from disabled to enabled.

If false, no generation occurs.

Update Strategy drop-down list Manages the control strategy in the station.

COV updates JSON at change of value.

On Demand Only updates JSON only when you right-click on the schema component and click Actions > Generate.