Help to bootstrap a Module development for a beginner


I am a complete Ignition user. I have been tasked with developing an Ignition module which can listen to a TCP socket and call a registered script.

I would like to ask if any body could give me some guidance on how to boot strap a project like that and how to solve the TCP socket implementation challenges.

Best Regards,

Well, there’s no sample that’s a good fit. The closest would be the layout of the driver example but with a normal gateway hook and a normal persistent record to hold your configured script call. You haven’t shared enough detail to advise more – in particular, where you want to draw the boundary between what java does and what the jython script does.

I reckon you could do all of this in a Gateway script in Python and not have to create a module at all. Have a look at this post to help you get started.