sFung

Error starting notification programmatically

Discussion created by sFung on Aug 30, 2010
Latest reply on Jul 7, 2011 by andreas

I'm getting an exception when starting a notification programmatically: 

Dim n2 as New AN.Notification.ANNotification(newNotification)
n2.Start() 

where newNotification (AF.Notification.AFNotification) is a notification I just created programmatically.  I think the notification was created properly since I can start it from PI System Explorer...

 

The exception I get: ANException: EN_AnalysisNotConfigured

Outcomes