Does anyone have an idea of how I can use DCE Web Services to display ONLY the Device/s being monitored in DCE that currently has an Alarm/s without displaying all the other Devices that do not have Alarms.
I used the Alarms Service but it only gives details of the Alarm and it does not give details of the Device with the Alarm.
The Devices Services shows tp display all the devices in DCE whether it has an Alarm or not.
I want to Integrate DCE with a 3rd Party Application to be able to View which Devices currently have Alarms.
Please refer to the below description:
I believe this would need some logic between the request and display.
For example, to display all devices which are in fault, requests in the device service that return an ArrayOfISXCDevice, each ISXCDevice member should have an ISXCDeviceState member which enums between a list of states (OK, CRITICAL, etc) - so the application can filter against these.
Alternatively, to provide richer detail to a list of alarms, each ISXCAlarm has a deviceID member which can be cross-referenced against the device service.
If you go the later route, I would keep in mind that device service responses are very cacheable, you realistically only need getDeviceByID when an alarm changes state, not every time you poll or display alarms. If it's possible for your application to persist state between requests you'll see very notable performance gains.
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!