I need a little help with understanding edittag function…specifically the alarmList and alarmConfig parameters.
My workflow overall is this:
-Get Alarm properties (done)
I am able to use the getAlarmProperties() to recieve the property names and property values.
-Modify those properties (done)
I am able to modify the properties in a table on screen
-Save new alarm properties to tag. (not done)
I need to save the contents of the table to the tag alarms.
It looks like the editTag function is expecting a string for the alarm list, but a dictionary for the alarm configuration. I am not sure how to make the syntax to get the function to work.
How do I get this alarm property table into the editTag() function?