Configure a basic SA_StackedColumnChart_Alarms symbol using ArchestrA attributes
- Last UpdatedJul 30, 2024
- 2 minute read
The basic configuration of the SA_StackedColumnChart_Alarms symbol shows ten chart bars with a legend, a chart heading, and chart bar labels. Each chart bar shows up to four colored segments that represent the count of alarms by severity from an area.

To configure a basic symbol, you need to assign attribute values to the BarXXA, BarXXB, BarXXC, and BarXXD custom properties for each chart bar. For the sake of simplicity, this example shows the basic configuration steps using only two chart bars. The ArchestrA Substitute References utility will used to assign reference values to custom properties.
Optional strings can be assigned to the symbol's chart heading, axis descriptions, and legend descriptions using the Substitute Strings feature.
Prerequisites
To demonstrate how to create a basic symbol using ArchestrA attributes, create a set of UserDefined objects with the following properties:
-
Create an analog PV field attribute as Float data type.
-
Enable limit alarms and set limit values for HiHi, Hi, Lo, and LoLo alarms.
-
Enable I/O scaling and clamp to the EU range.
-
Create two ArchestrA areas and deploy two or more User Defined objects within each area.
To configure a basic SA_StackedColumnChart_Alarms symbol
-
Embed the symbol in another symbol in the Industrial Graphic Editor.
-
Select the symbol.
-
Show the symbol's list of Wizard options by at the right of the Industrial Graphic Editor window.
-
Set NumberOfBars to Two.
-
Select the symbol and press Ctrl + E to show the Substitute Reference dialog box.
-
Click Find & Replace to show the Find What? and Replace with fields.
-
Enter Bar01Area. in the Find What? field.
-
Enter the name of the area you created in the Replace with field.
-
Click Replace All.
User defined objects with a PV field attribute automatically create an AlarmCntsBySeverity[] attribute. The Substitute Reference utility assigns an attribute to each chart bar's custom properties and places a severity number 1-4 within the attribute's braces.
-
Repeat steps 6 through 9 to substitute references for Bar02.
-
Click OK.
-
If you want, assign optional string values to the symbol's labels.
-
Right-click on the symbol, select Substitute, and then select Substitute Strings.
-
Enter string values into the fields of the Substitute Strings dialog box that match the default strings shown for the symbol and click OK.
-
-
Save the symbol and check it in.
-
Deploy the Galaxy containing the object with attributes that are used as reference values of the custom properties.
-
Double-click an instance of InTouch ViewApp to start WindowMaker.
-
Embed the symbol containing the symbol in an InTouch window.
-
Run the application in WindowViewer to verify that your basic symbol configuration works correctly.