Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

How to find Alarm category for AlarmItemType Object read from SBO System tree ?

SmartConnector Forum

Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • SmartConnector
  • SmartConnector Forum
  • How to find Alarm category for AlarmItemType Object read from SBO System tree ?
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
JeffBowman
Sisko JeffBowman Sisko
164
ardak
ardak Schneider Alumni (Retired)
34
sesa180908_brid
Commander sesa180908_brid Commander
34
mike_meirovitz
Commander mike_meirovitz
21
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to SmartConnector Forum
Solved
sesa237670_brid
sesa237670_brid Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2017-02-20 07:28 PM

0 Likes
3
767
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2017-02-20 07:28 PM

How to find Alarm category for AlarmItemType Object read from SBO System tree ?

I am using EWSClient to read all the SBO alarm Objects from
the SBO System tree. I need to find out the Category for the Alarm for my
configuration processor. The AlarmItemType object doesn’t have category
information and I did not found any API in EWSClient to get category
information for an alarm Item.

I wonder if there is any API in EWS Client to get the
category for an alarm item? Or smartconnector methods to retrieve complete
alarm item information or AlarmEventsType object using AlarmItem Id.

I did try ewsClient.getItems(alarmId), however that returns same
AlarmItemType object.

Any thoughts?

Thanks!

Neeraj Tomar

Reply
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2017-02-21 08:16 AM

0 Likes
0
718
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2017-02-21 08:16 AM

Hi Neeraj,

I don't believe what you are trying to do is possible via EWS. While it's possible to get the list of AlarmEventTypes that are currently in the server, there is no way to get the AlarmEventType per AlarmItem, this is because in EWS an AlarmItem is not confined to a single AlarmEventType (although this is how SBO implements it Internally.)

To go further on the above, the EWS AlarmItem does not contain a property for the AlarmEventType as this is specific to the AlarmEvent itself. In fact, in the EWS world, multiple AlarmEventTypes could in theory be used from an AlarmItem is triggered into alarm to when it is finally returned back to normal, and there would be nothing wrong in doing it this way. However, the way SBO implements AlarmEventType (Category) is to have it a single category bound to the Alarm Object. So even though you know this value is static through the AlarmEvent cycle, there is no way to get this from the AlarmItem itself via EWS.

Regards,

-Jeff

See Answer In Context

Reply
Replies 3
sesa180908_brid
Commander sesa180908_brid Commander
Commander

Posted: ‎2017-02-21 06:28 AM

0 Likes
2
718
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2017-02-21 06:28 AM

Neeraj,

What SBO shows as "Category" in the Alarm Viewer window, is the AlarmEventType in EWS parlance. 

If you review section 4.6.2 (specifically table 14) from the EWS Specification (https://www.smartconnectorserver.com/DownloadCenter/Contents/ews) you will see that an AlarmEvent has a "Type" property (aka an SBO category). 

The EwsClient supports retrieval of all AlarmEventType defined by a server by using the "GetAlarmEventTypes" method (see section 5.6.4).

M

Reply
sesa237670_brid
sesa237670_brid Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2017-02-21 07:16 AM

0 Likes
1
718
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2017-02-21 07:16 AM

That I know. I am actually talking about reading alarm definition from the SBo tree and not the triggered alarm in Alarm viewer. I need to know alarm item category or type  even before alarm is triggered for my project.

For Example – If an Alarm is defined in SBo as ‘matching text
string alarm’:

Name – ‘ChillerFlowRateAlarm’,

Description - High Temperature Failure for Chillar Plant #1

Category - ~/System/Alarm Control Panel/AlarmHandling/Categories/Chiller Plant #1

Alarm Message - Chiller Flow Rate Failure for Chillar Plant#1

Monitored Variable - ../../CMMSPoints/ChillerFlowRate/Value

This alarm has never been triggered. No Alarm history or instance in alarm viewer. So, When I read this item, I get AlarmItemType object that doesn’t have category information. I know that if there is alarm history I can get type from there. However, there is no history or actual alarm happened yet. It's at the configuration part of the project.

Do you know about how to retrieve category at this point?

Reply
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2017-02-21 08:16 AM

0 Likes
0
719
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2017-02-21 08:16 AM

Hi Neeraj,

I don't believe what you are trying to do is possible via EWS. While it's possible to get the list of AlarmEventTypes that are currently in the server, there is no way to get the AlarmEventType per AlarmItem, this is because in EWS an AlarmItem is not confined to a single AlarmEventType (although this is how SBO implements it Internally.)

To go further on the above, the EWS AlarmItem does not contain a property for the AlarmEventType as this is specific to the AlarmEvent itself. In fact, in the EWS world, multiple AlarmEventTypes could in theory be used from an AlarmItem is triggered into alarm to when it is finally returned back to normal, and there would be nothing wrong in doing it this way. However, the way SBO implements AlarmEventType (Category) is to have it a single category bound to the Alarm Object. So even though you know this value is static through the AlarmEvent cycle, there is no way to get this from the AlarmItem itself via EWS.

Regards,

-Jeff

Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of