Hi,
Is it possible to change a tag alarm name with system.tag.configure() ?
Hi,
Is it possible to change a tag alarm name with system.tag.configure() ?
Example with one tag:
tagPath ='[Test]TagName'
config = system.tag.getConfiguration(tagPath)[0]
for alarm in config['alarms']:
if alarm['name'] == 'oldAlarmName':
alarm['name'] = 'newAlarmName'
system.tag.configure('[Test]', config)
Thanks