Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Alarmserver data to Datalogger
PostPosted: Tue Apr 05, 2016 9:34 am 

Joined: Sun Feb 07, 2016 1:39 pm
Posts: 6

Offline
Hello,
I would be able to read the csv files of my alarm server than i saved before into the project file.
I would have a list boxe with when i click on a file I could have a table with the data.
In fact, I want to historicize the alarmes happenned and can read it after.
I also got the idear to export the data of alarmserver to a data logger but i don t know how to do.
I use iX developer 2.20, all controllers drivers are updated.
Thank for your interest for my message.
Best regards.

Franswa


 Profile  
 
 Post subject: Re: Alarmserver data to Datalogger
PostPosted: Mon Apr 18, 2016 2:19 am 

Joined: Thu Nov 17, 2011 2:10 am
Posts: 49
Location: Norway

Offline
Hi,

what exactly are you looking for? A routine that saves/ writes alarms to a file?

If you open up the "Script" for "Alarm Server" and hook up an event for "AlarmServer_AlarmActive" you get the information about the incomming alarm.
Code:
void AlarmServer_AlarmActive(System.Object sender, System.EventArgs e)
{
// Create alarm event object from Active alarm      
   Neo.ApplicationFramework.Interfaces.IAlarmEvent alarmEvent = (Neo.ApplicationFramework.Interfaces.IAlarmEvent)sender;
   // Get information from alarmevent
   string groupName = alarmEvent.AlarmGroupName;
   string alarmText = alarmEvent.Text;
   string alarmItemID = alarmEvent.AlarmItemDisplayName;
}


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron