Alarmserver data to Datalogger

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
Franswa
Posts: 6
Joined: Sun Feb 07, 2016 1:39 pm

Alarmserver data to Datalogger

Post by Franswa »

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

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

Re: Alarmserver data to Datalogger

Post by bjornidar »

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: Select all

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;
}

Post Reply