Ask our Experts
Didn't find what you are looking for? Ask our experts!
Share Your Feedback – Help Us Improve Search on Community! Please take a few minutes to participate in our Search Feedback Survey. Your insights will help us deliver the results you need faster and more accurately. Click here to take the survey
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Search in
Link copied. Please paste this link to share this article on your social media post.
Hi,
I tried to get the point description from BACNet and Infinet alarms with the following code:
public bool ProcessAlarms(EwsClient clientObj)
{
responseObjByCat = clientObj.GetAlarmEvents();
alarmEvents = responseObjByCat.GetAlarmEventsAlarmEvents;
foreach (AlarmEventsType alarmEvent in alarmEvents.AlarmEvent)
{
if (!string.IsNullOrEmpty(alarmEvent.Type))
{
string idX = alarmEvent.SourceID;
string[] idsa = new string[] { idX };
var items1 = clientObj.GetItems(idsa);
if (items1.GetItemsItems.AlarmItems.Count() != 0)
{
alarmArchiverInfo.PointPath = items1.GetItemsItems.AlarmItems[0].ValueItemId;
idsa = new string[] { alarmArchiverInfo.PointPath };
var pointValue = clientObj.GetItems(idsa);
alarmArchiverInfo.PointValue = "";
if (pointValue.GetItemsItems.ValueItems.LongLength != 0)
{
alarmArchiverInfo.PointValue = pointValue.GetItemsItems.ValueItems[0].Value;
alarmArchiverInfo.PointDescription = pointValue.GetItemsItems.ValueItems[0].Description;
}
}
}
}
.
.
}
For regular ES alarms, it works fine. But it returns empty value on BACNet and Infinet alarms. (see attached)
How can I fix the problem?
I am using SmartConnector V2.4.23 and EBO V3.1.2.29.
Thanks!
Juh
Link copied. Please paste this link to share this article on your social media post.
Hi Juh,
I was able to reproduce this as well using SOAPUI. So this is not a Smart Connector specific issue and is likely a bug in EBO.
I would recommend working on opening a bug vs EBO about this.
Best Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hi Juh,
I was able to reproduce this as well using SOAPUI. So this is not a Smart Connector specific issue and is likely a bug in EBO.
I would recommend working on opening a bug vs EBO about this.
Best Regards,
-Jeff
You’ve reached the end of your document
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.