We created an app called Alarm Config that would allow the user to mass configure alarms on points.
Prerequisites:
To use the Alarm Config, first the user would have to make sure to enable the AlarmConfig extension.
1. To enable the Alarm Config ext, the user would open the App Launcher top left and select the Settings App.
2. Once the Settings app is selected, they would select Ext option to then find the AlarmConfig ext to enable.
3. Once enabled, the user would refresh the browser to see the Alarm Config app available in the App Launcher.
4. Now that it is enabled, its time to create a Tag Bundle to use.
To use the Alarm Config app, the user will:
1. Open up the App Launcher top left the corner and select Alarm Config app
2. Once selected, the user will see the below screen
|
In our example, we'll first have to select the "Boolean" type for the Point Filter since we currently only have a boolean type alarm configuration.
As we do, we only see boolean type points. We are on VAV-01 so we only see one boolean point
Then we are able to see the available boolean alarm configurations we created in the Alarm Configuration dropdown
Once we have selected the Boolean Alarms configuration, we select the points in the grid that we want to apply this too.
We then select the Add/Edit button (B) to open up the below popup.
In this Add/Edit popup, we see the tags that we specified in the tag bundle to add to the points.
From there the user can select "OK" to apply the tags or they can change the property tags in this popup before applying if they wanted to.
Once we select OK, the alarm configuration will be added to the point to become alarmable.
Once added, depending on the alarm configuration, it will add a new column to the point grid with that alarm configuration name
To remove a point(s) from a certain alarm configuration, the user would first select the point and then select the Remove button or just uncheck the box under that alarm configuration column.
That's it, once an alarm configuration has been applied to a point. The user can then go and check the point to see the tags that were added to the point.
You can see the "alarmConfig" tag was added as well, which is what the "Track Bundle" property does so that the user knows which current alarm configuration is applied to the point.
Also, since the curVal of our boolean point is true, an alarm is generated.
As you can see in the top title of the alarm says "OCC MODE IS TRUE", which is what we specified in the alarmText. Its letting us know the name of the point that is currently true. We could have added other strings to know which equip and site etc its under if we wanted too.
If the user were to have toggled the "alarmEnable" property tag, it would prevent the program from running on it since in the default programOn filter we said it had to be true.
Now, if the user were to go back to the Alarm Config app and remove the point from that alarm configuration, all the tags would be removed from that point to make it not alarmable.