Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tracecompass-dev] Problem: XML analysis - state provider

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

---
This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.

Diese Nachricht enthaelt vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfaenger dieser E-mail sein, senden Sie bitte diese an den Absender zurueck und loeschen Sie die E-mail aus Ihrem System.

Back to the top