Can anyone point me in the direction of an automation script example of pulling historical alarms from Dataminer.
Hi Curtis,
You can see below an example that can be used to retrieve historical alarms:
Side note: This is an internal call and we do not recommend using this, as it is not officially supported and we cannot guarantee that it will still work in the future. As a rule, you should avoid using SLNet calls, as these are subject to change without notice.
No problem 😉
apologies Jose, I did not read the side note. If this is not officially supported is the there another way. I will be implementing the code in a production system that's why I ask. Better to be safe than sorry
To the best of my knowledge, I don’t see any other way. I only mentioned it because if the SLNet call changes in the future, it might require some adjustments.
As far as I know, there isn’t a method that encapsulates the SLNet call in such a way that you could use something like GetHistoricalAlarms() where the implementation details are hidden from the user. This would ensure that even if the underlying implementation changes, the user still gets the same result
thanks José.
May I ask how I can filter alarms on alarm properties matching wildcard expressions. I would look in the documentation but Im having trouble finding the relevant information.
thank you