Lonnie Bowling

Getting a list of notifications

Discussion created by Lonnie Bowling Champion on Jan 13, 2010
Latest reply on Aug 25, 2010 by fbatista-oldaccount


I just found the vCampus and am very happy!  I have been struggling with trying to meet a customer's requirements for alarming on an existing PI system and notifications out of the box can't get the job done (I have spent 3 weeks on this with tons of call to tech support).  Anyway, now that I have my hands on the SDK (AF and AN) I am going through the examples and documentations.  My first goal is match the functionally of the notification search for datalink in excel.  I need to query active notifications and historical notifications.  I have the ListNotificationsInstanceCount example running in VB.Net 2010 OK but am having a hard time figuring out how to put this all together.  Are there more examples or other documentation on how to query for notification events?

In the example the intellsense is telling me 'OSIsoft.AF.Notification.AFNotifications' is obsolete: 'Replace with AFNotification.FindNotifications.' so I think the example I'm working is outdated.  Anyway, I'm just getting starting on this, but really am under the gun to get something to the customer in the next few days.  Any help to get me jump started would be great.