Alarm data integration

Is it possible to read out and acknowledge alarms outside from Ignition gateway? With the OPC UA or with some other interface?

You could expose a web API to do this using the Web Dev module.

1 Like

That is a good idea, thank you. With a quick walkthrough it seems quite easy to do python scripting for returning alarm data within web API calls. And acknowledge alarms also.

Web Dev module is not included in trial version of Ignition, is it possible to install afterwards as a free trial?

Yes, all of the modules IA provides honor the 2-hour trial system. And I'm not aware of any 3rd party modules that don't.

1 Like

I think, this example can help you to find a better solution.

1 Like

Thank you for tips and links.
Simple and efficient way could be also using pure Tcp connection, and some binary protocol.

import SocketServer
import time

class MyTCPHandler(SocketServer.BaseRequestHandler):

def handle(self): = self.request.recv(1024).strip()
	#read data from connection, parameters f.ex.
	#and here alarm data could be read and sent to active connection
	#connection is closed after sending data back, in this example

print “starting”
server = SocketServer.TCPServer((“”, 2345), MyTCPHandler)

1 Like