Hello there,
I could need some help.
I am working with Trace Compass and I am facing a problem in my XML analysis at the moment.
There might have been a similar problem in this mailing list some weeks ago (submitted by Konrad Kokosa?) but I am not 100% sure if you could find a solution!
I am raising alarms with different ID’s:
1 <eventHandler eventName="alarm_raised">
2 <stateChange>
3 <stateAttribute type="constant" value="s16" />
4 <stateAttribute type="constant" value="alarm" />
5 <stateAttribute type="eventField" value="ID" />
6 <stateValue type="int" value="1" />
7 </stateChange>
8 </eventHandler>
On system start I want to reset all alarms (set them to null). Basically what I want to do is the following:
1 <eventHandler eventName="system_start">
2 <stateChange>
3 <stateAttribute type="constant" value="s16" />
4 <stateAttribute type="constant" value="alarm" />
5 <stateAttribute value="*" />
6 <stateValue type="null" />
7 </stateChange>
8 </eventHandler>
Obviously this won’t work without a stateAttribute type in line 5. But neither type=”constant” nor type=”eventField” will work.
Is there any proper solution to affect all alarms without knowing their specific ID’s?
I am really hoping for a solution!
J
Thanks in advance.
Best regards,
Norman