I am using a script (in Ignition 7.9) to allow users to update the alarm priority of a tag using
system.tag.editAlarmConfig(tagpath,almConfig)
Here is a sample print of the parameters:
[u’Waste/MCP/BIOLAC/BIOLAC_GATE_FAIL’] {u’alarm’: [[‘priority’, ‘Value’, 3]]}
Executing this script causes my Active Pipeline entry (and some other alarm parameters) to be lost. Subsequent attempts to restore the pipeline from within the tag editor are not accepted. Modifications to the alarm properties do not take after executing the script. The only way I can recover control of the alarm parameters for a script modified tag is to reload my tag export (made prior to updating the alarm by script). Other tags not modified by script continue to function normally.
Following is a sample comparison of a tag from the XML Tag dump before and after executing the script.
AFTER_SCRIPT_EXECUTION
false
6
ignition
</Alarm>
</Alarms>
BEFORE_SCRIPT_EXECUTION
false
6
ignition
Test Alarm Note
First Step/WWTP
Test Alarm Display Path
3