Module development noob

I saw some documentation that talked about a skeleton project to get me started, but it doesn’t seem to be around anymore. Where do I start, it’s a pretty simple module I’m trying to write. Thx.

This should take you through a lot of it.
After the build system switched to Maven, you can now use Maven archetypes to create a new project without the skeleton project creator utility that existed previously. The docs here have info on it as well as a github repository with example projects using the maven build.

so all I need to do is be able to read get a list of tags, parse tag names, get values tags in these udts and then send an email to myself, does this sound reasonable?

Define value for property ‘groupId’: :
Define value for property ‘artifactId’: :
[INFO] Using property: version = 1.0-SNAPSHOT
Define value for property ‘package’: : :

What are these values, just what I want to name my project etc?
This link describes the naming convention for groupId. The ignition sdk jars use com.inductiveautomation.ignitionsdk. The artifactId is kinda whatever you want it to be. I would name them based on what scope you’re in like ‘myModule-designer’.

Also, unless you need to do things not listed in your previous post, all of what you mentioned can be accomplished without building your own module. Have you tried to do it in python?

So I can write a python script to comm with the opc-ua to get tags, that would rock, is there documentation on doing this?

Are you talking about reading SQL Tags or tags direct from OPC? If the latter, I don’t know how you can do that. It might still be possible if you get outside the box with your python, but it’s not going to be a thing that’s documented anywhere.

I got what you were getting at. I downloaded the freeopcua library and compiled it. So I’ll end up just connecting to the opc-ua server itself for the data. Thanks for the help.

Not to put too fine a point on this but have you taken a look at the system.opc functions?

Or, if you’re looking at Ignition tags, the system.tag functions…

I completely forgot this existed in my previous post. I’d never had the opportunity to use these functions before. :thumb_left:

I found freeopcua online and used that to write a c++ app. It also has python modules if your interested. Thx

I’ll repeat it again, in case you missed it: :wink: