Hello,
does anyone have experience with the AlarmList widget action SelectAlarmById? My understanding is that it should select (highlight) the alarm corresponding to the provided argument, i.e., the InstanceID.
In my code:
the session variable contains the InstanceID from the MpAlarmXListUIAlarmListType structure. When that variable changes, the action is executed:
However, the widget always highlights the first alarm regardless of the argument value passed to the action. Is there a gap in my understanding?
Thank you
Regards
Michal Malek
Hi,
I just tried it and it worked as expected. Are you sure that the instanceID is correct? What happens when you simply make a button and then use that to set a fixed instandID?
Stephan
Hi Stephan,
I’m pretty sure it’s correct. In the second step (not visible in the screenshot), I read the operand instanceID and it is correct.
However, I also tried the action using a direct argument, and it behaves the same.
These are the InstanceIDs:
and when the value 18 is written:
the third line should be highlighted, but the first one is highlighted instead.
So it behaves the same way as with the operand.
Let me know your thoughts.
I’m using AS 6.3.4 and mapp View 6.4.1.
Thank you
Michal Malek
Hi Michal,
I have tried AS6 and I can confirm that I see the same behavior that you see. Let me dig a little bit deeper if something has changed or if this is a bug.
Stephan
Hi Michal,
I am sorry, but this seems to be a bug in AS6 line. Unfortunately, the issue does still exist in the next release, which is 6.5. The R&D team is aware of this issue, but it will take some time until a fix is published.
Stephan
Thank you Stephan. We will wait for the fix.
Michal Malek