About settings attributes
- Last UpdatedNov 05, 2024
- 3 minute read
Settings attributes typically enable or disable visibility options of Situational Awareness Library graphics and some Viewapp global settings. The Settings attributes are assigned default values and load when a ViewApp starts.
Settings attributes can be set from faceplate graphics. You can also embed the WW_App_Function widget in a graphic and use it to control settings attributes. The WW_App_Function widget is included in Galaxies created from the Default.cab, as part of the ViewApp UI Library in the Visualization folder.
The sample $InTouchOMI_ViewApp, which is associated with the WWD_L_Desktop layout, uses the WW_App_Function widget. A User Input animation has been configured to set the value of the MyViewApp.Settings.TrendDuration attribute. You can configure other attributes similarly. Refer to the sample ViewApp for more information.
Important: Settings attributes are predefined and available only for AVEVA OMI ViewApps. Settings attributes cannot be included in an InTouch application.
All Settings attributes operate in the MyViewApp.Settings namespace. The names of Settings attributes are specified with the MyViewApp.Settings prefix in the form MyViewApp.Settings.attribute_name.
|
Attribute Name |
Data Type |
Attribute Type |
Initial Value |
Description |
|
TrendDuration |
Integer |
Read/Write |
15 |
The length of a trend duration in minutes. |
|
GridLines |
Boolean |
Read/Write |
True |
Shows or hides grid lines on a pen trend |
|
PenTrendVisible |
Boolean |
Read/Write |
True |
Shows or hides all pen trend lines of a trend graphic |
|
PVVisible |
Boolean |
Read/Write |
True |
Shows or hides the process value of a Situational Awareness Library graphic. |
|
PVOptimal RangeVisible |
Boolean |
Read/Write |
True |
Shows or hides the optimal range indicator on a Situational Awareness Library graphic. |
|
PVOperating AutoScale |
Boolean |
Read/Write |
False |
Enables or disables meter auto scaling on a Situational Awareness Library graphic. |
|
SPVisible |
Boolean |
Read/Write |
True |
Shows or hides a Setpoint on a Situational Awareness Library graphic. |
|
TrackerVisible |
Boolean |
Read/Write |
True |
Shows or hides a tracker line on the meter of a Situational Awareness Library graphic. |
|
LabelVisible |
Boolean |
Read/Write |
True |
Shows or hides the label on a Situational Awareness Library graphic. |
|
EngUnits Visible |
Boolean |
Read/Write |
True |
Shows or hides the engineering units of a Situational Awareness Library graphic. |
|
ControllerOP Visible |
Boolean |
Read/Write |
True |
Shows or hides the Controller Output for a Situational Awareness Library graphic. |
|
Controller OPCmd Visible |
Boolean |
Read/Write |
True |
Shows or hides the Output Command for a Situational Awareness Library graphics. |
|
AlarmIndicator Visible |
Boolean |
Read/Write |
True |
Shows or hides an alarm indicator on a Situational Awareness Library graphic. |
|
ChartRange Increment |
Integer |
Read/Write |
5 |
Sets the precision of the incremental range of chart values shown as measurement lines of Situational Awareness Library Dashboard graphics. |
|
SafetyVisible |
Boolean |
Read/Write |
False |
Shows or hides a safety indicator on a Situational Awareness Library graphic. |
|
EnableDisable Sound |
Boolean |
Read/Write |
True |
Enables or disables alarm sounds via a Situational Awareness Library graphic to alert the operator of an alarm condition. To function properly, this attribute must be connected to a PLC with an integrated audio system. |
|
ShowControl Links |
Boolean |
Read/Write |
True |
Shows or hides the control links of a Situational Awareness Library graphic. |
|
ShowToolTips |
Boolean |
Read/Write |
True |
Shows or hides the tooltips of a graphic. |
|
ToggleSPTag |
Boolean |
Read/Write |
False |
Toggle between a Setpoint or tagname value on a Situational Awareness Library graphic. |
|
DisableHorn |
Boolean |
Read/Write |
False |
Enable or disable an external alarm horn via a Situational Awareness Library graphic. To function properly, this attribute must be connected to a PLC with an integrated audio system. This feature is typically used in a control room to allow the operator to troubleshoot the alarm condition without the distraction of the horn blaring. |
|
AckAll |
Boolean |
Read/Write |
False |
Enable or disable the acknowledgement of all alarms. |
|
OptimizeFor Touch |
Boolean |
Read/Write |
False |
Enable or disable optimization of touch gestures at runtime. |
|
ReadOnly |
Boolean |
Read Only |
False |
Enable or disable read-only ViewApps at runtime. If false, users have the ability to change attribute values in the ViewApp at runtime. If true, the ViewApp and its attributes are read-only. The ReadOnly property value is assigned by editing a ViewEngine object with the Object Editor. To change the value, you must first undeploy the ViewEngine. |