# Module Development

**URL:** https://forum.inductiveautomation.com/c/module-development/7.md?page=58

[Latest](https://forum.inductiveautomation.com/latest.md) · [Categories](https://forum.inductiveautomation.com/categories.md) · [Tags](https://forum.inductiveautomation.com/tags.md)

**Page:** 59

---

## [Feature request - Event driven processing](https://forum.inductiveautomation.com/t/feature-request-event-driven-processing/4888)

<div class="topic-metadata">

**Author:** [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Replies:** 2\
**Last updated:** [July 26, 2012, 10:59pm UTC](https://forum.inductiveautomation.com/t/feature-request-event-driven-processing/4888 "2012-07-26T22:59:50Z")

</div>

So as not to hijack Germain's thread anymore. This is a request to create a 'event driven' or 'on change' scan class for history and tag processing. The requirement would be to completely process any change for a tag t…

---

## [Source timestamping in opcua driver](https://forum.inductiveautomation.com/t/source-timestamping-in-opcua-driver/4860)

<div class="topic-metadata">

**Author:** [@GermainN](https://forum.inductiveautomation.com/u/GermainN)\
**Replies:** 16\
**Last updated:** [July 26, 2012, 1:59pm UTC](https://forum.inductiveautomation.com/t/source-timestamping-in-opcua-driver/4860 "2012-07-26T13:59:47Z")

</div>

I'm using source timestamping for a driver I wrote and it works fine. If I change the value of the Node, I get it in the Tag in the Ignition Designer with the good timestamp on the LastChange Property, and then if I us…

---

## [Custom Tag Attributes/Properties](https://forum.inductiveautomation.com/t/custom-tag-attributes-properties/4847)

<div class="topic-metadata">

**Author:** [@demyansda](https://forum.inductiveautomation.com/u/demyansda)\
**Replies:** 5\
**Last updated:** [July 20, 2012, 6:35pm UTC](https://forum.inductiveautomation.com/t/custom-tag-attributes-properties/4847 "2012-07-20T18:35:05Z")

</div>

Hello Is it possible to add custom properties to the tags? There are plenty of classes in API that seem to help with the subject, but they lack description. Can somebody briefly describe the process? Thank you

---

## [How to set the build version of the module?](https://forum.inductiveautomation.com/t/how-to-set-the-build-version-of-the-module/4722)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 2\
**Last updated:** [July 9, 2012, 9:04pm UTC](https://forum.inductiveautomation.com/t/how-to-set-the-build-version-of-the-module/4722 "2012-07-09T21:04:52Z")

</div>

How to set the build version of the module ? with the following file, my module obtain the version 1.03 (b0) \<?xml version="1.0" encoding="UTF-8"?\> driverpae DriverPAE Interface communication Frontal avec PA…

---

## [What is the return value of MessageReceiver#receiveCall](https://forum.inductiveautomation.com/t/what-is-the-return-value-of-messagereceiver-receivecall/4654)

<div class="topic-metadata">

**Author:** [@chi](https://forum.inductiveautomation.com/u/chi)\
**Replies:** 0\
**Last updated:** [June 18, 2012, 5:55pm UTC](https://forum.inductiveautomation.com/t/what-is-the-return-value-of-messagereceiver-receivecall/4654 "2012-06-18T17:55:18Z")

</div>

Just a simple (i hope) question this time: MessageReceiver#receiveCall must return a Serializable, but i can't find anything in the Javadocs about what to return here. Sorry, just found the answer in the docs for Exec…

---

## [java.lang.NullPointerException with getNavUtil()](https://forum.inductiveautomation.com/t/java-lang-nullpointerexception-with-getnavutil/4647)

<div class="topic-metadata">

**Author:** [@Josh](https://forum.inductiveautomation.com/u/Josh)\
**Replies:** 2\
**Last updated:** [June 15, 2012, 6:23pm UTC](https://forum.inductiveautomation.com/t/java-lang-nullpointerexception-with-getnavutil/4647 "2012-06-15T18:23:01Z")

</div>

I need to close a window from within a module, so as described in the api I run this inside of my module’s client hook to get to the navUtilites VisionClientInterface vision = (VisionClientInterface) context.getModule(V…

---

## [Help Building Weather Example](https://forum.inductiveautomation.com/t/help-building-weather-example/4315)

<div class="topic-metadata">

**Author:** [@phassler](https://forum.inductiveautomation.com/u/phassler)\
**Replies:** 10\
**Last updated:** [June 14, 2012, 11:13pm UTC](https://forum.inductiveautomation.com/t/help-building-weather-example/4315 "2012-06-14T23:13:59Z")

</div>

I am trying to follow the weather module example and the build fails on the last line. My gateway is running, I am using a trial license, and time has not expired. How do I check if it is in developer mode? Any other s…

---

## [Trigger Client Shutdown](https://forum.inductiveautomation.com/t/trigger-client-shutdown/4603)

<div class="topic-metadata">

**Author:** [@Josh](https://forum.inductiveautomation.com/u/Josh)\
**Replies:** 0\
**Last updated:** [June 8, 2012, 8:24pm UTC](https://forum.inductiveautomation.com/t/trigger-client-shutdown/4603 "2012-06-08T20:24:53Z")

</div>

How would one go about triggering a client shutdown from within a client module? Also is it possible to intercept a logout request from within a module?

---

## [Instanciate UDT tags with the SDK](https://forum.inductiveautomation.com/t/instanciate-udt-tags-with-the-sdk/4556)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 2\
**Last updated:** [June 2, 2012, 7:18am UTC](https://forum.inductiveautomation.com/t/instanciate-udt-tags-with-the-sdk/4556 "2012-06-02T07:18:16Z")

</div>

Hi, Is there a way with the SDK to instanciate UDT tags : I need to be able to create some new equipement from an existing type (defined by an UDT), on the fly from a sql table witch contains the new equipement to ad…

---

## [Foreign Keys](https://forum.inductiveautomation.com/t/foreign-keys/4496)

<div class="topic-metadata">

**Author:** [@shannon](https://forum.inductiveautomation.com/u/shannon)\
**Replies:** 2\
**Last updated:** [May 23, 2012, 4:01pm UTC](https://forum.inductiveautomation.com/t/foreign-keys/4496 "2012-05-23T16:01:28Z")

</div>

Is there a way to define foreign keys in a database created by Ignition? Example: MakeTable: StringField makeid = new StringField(AssetManagerDataSettings.META,"makeid").setDefault("makeid"); DBTableSchema mySchema …

---

## [@AsyncFunction](https://forum.inductiveautomation.com/t/asyncfunction/4423)

<div class="topic-metadata">

**Author:** [@bloeper](https://forum.inductiveautomation.com/u/bloeper)\
**Replies:** 9\
**Last updated:** [May 8, 2012, 9:38pm UTC](https://forum.inductiveautomation.com/t/asyncfunction/4423 "2012-05-08T21:38:12Z")

</div>

We've got a function that takes a good minute or so to complete (very memory intensive and no other way around it), so we were looking at the @AsyncFunction annotation for the RPC call, but it doesn't seem to make a diff…

---

## [java.sql.SQLSyntaxErrorException with PersistentRecord](https://forum.inductiveautomation.com/t/java-sql-sqlsyntaxerrorexception-with-persistentrecord/4038)

<div class="topic-metadata">

**Author:** [@bloeper](https://forum.inductiveautomation.com/u/bloeper)\
**Replies:** 8\
**Last updated:** [May 7, 2012, 3:04pm UTC](https://forum.inductiveautomation.com/t/java-sql-sqlsyntaxerrorexception-with-persistentrecord/4038 "2012-05-07T15:04:53Z")

</div>

I'm trying to use a PersistentRecord to store settings for a web service. Here's the record: public class TierInterfaceSettingsRecord extends PersistentRecord { private static final long serialVersionUID = 5609…

---

## [Caching of browse nodes in OPC-UA server](https://forum.inductiveautomation.com/t/caching-of-browse-nodes-in-opc-ua-server/4402)

<div class="topic-metadata">

**Author:** [@chi](https://forum.inductiveautomation.com/u/chi)\
**Replies:** 8\
**Last updated:** [May 3, 2012, 6:54pm UTC](https://forum.inductiveautomation.com/t/caching-of-browse-nodes-in-opc-ua-server/4402 "2012-05-03T18:54:56Z")

</div>

Hi again, i'm still working on my OPC-UA driver. It's basically a tcp driver with a customizable binary message format. Now, for convenience i use a describing browse name in addition to the opc-ua address. When i chan…

---

## [OutOfMemoryError .. Wicket?](https://forum.inductiveautomation.com/t/outofmemoryerror-wicket/4388)

<div class="topic-metadata">

**Author:** [@bryan\_cook](https://forum.inductiveautomation.com/u/bryan_cook)\
**Replies:** 1\
**Last updated:** [May 1, 2012, 3:36pm UTC](https://forum.inductiveautomation.com/t/outofmemoryerror-wicket/4388 "2012-05-01T15:36:40Z")

</div>

I'm getting the following error occasionally ... INFO | jvm 1 | 2012/05/01 10:23:31 | SEVERE: Servlet.service() for servlet default threw exception INFO | jvm 1 | 2012/05/01 10:23:31 | java.lang.OutOfMemoryE…

---

## [Deploying a servlet from a module](https://forum.inductiveautomation.com/t/deploying-a-servlet-from-a-module/4368)

<div class="topic-metadata">

**Author:** [@idelamer](https://forum.inductiveautomation.com/u/idelamer)\
**Replies:** 4\
**Last updated:** [April 30, 2012, 8:46pm UTC](https://forum.inductiveautomation.com/t/deploying-a-servlet-from-a-module/4368 "2012-04-30T20:46:19Z")

</div>

Hello again, was reading another post and an idea came up. The driver I'm developing listens for HTTP connections. At the moment I'm embedding the Jetty server. However it would also make sense to just add a servlet…

---

## [Wicket Configuration Panel?](https://forum.inductiveautomation.com/t/wicket-configuration-panel/4343)

<div class="topic-metadata">

**Author:** [@idelamer](https://forum.inductiveautomation.com/u/idelamer)\
**Replies:** 11\
**Last updated:** [April 30, 2012, 5:56pm UTC](https://forum.inductiveautomation.com/t/wicket-configuration-panel/4343 "2012-04-30T17:56:39Z")

</div>

Hi, What would be the route to add a module configuration page on the gateway? My module listens on a TCP port, e.g. 8080, and I'd like to make that configurable. I could make that port a tag provided by the module…

---

## [Deploying projects similar to SDK module deployment](https://forum.inductiveautomation.com/t/deploying-projects-similar-to-sdk-module-deployment/4116)

<div class="topic-metadata">

**Author:** [@bloeper](https://forum.inductiveautomation.com/u/bloeper)\
**Replies:** 2\
**Last updated:** [April 26, 2012, 2:22pm UTC](https://forum.inductiveautomation.com/t/deploying-projects-similar-to-sdk-module-deployment/4116 "2012-04-26T14:22:27Z")

</div>

Just got off a call going over some of the new 7.4 features and was told by Colby that writing a module to allow projects to be deployed the way modules are (using the DeveloperModuleLoadingServlet) should be "simple", s…

---

## [SimpleTagProvider source code?](https://forum.inductiveautomation.com/t/simpletagprovider-source-code/4336)

<div class="topic-metadata">

**Author:** [@idelamer](https://forum.inductiveautomation.com/u/idelamer)\
**Replies:** 3\
**Last updated:** [April 24, 2012, 4:03pm UTC](https://forum.inductiveautomation.com/t/simpletagprovider-source-code/4336 "2012-04-24T16:03:44Z")

</div>

I was wondering if it would be possible to open-source the SimpleTagProvider code, or the com.inductiveautomation.ignition.gateway.sqltags.simple package. The reason is, that this is a very useful class but for more ad…

---

## [How to save Tags with SimpleTagProvider?](https://forum.inductiveautomation.com/t/how-to-save-tags-with-simpletagprovider/4322)

<div class="topic-metadata">

**Author:** [@idelamer](https://forum.inductiveautomation.com/u/idelamer)\
**Replies:** 4\
**Last updated:** [April 23, 2012, 7:42pm UTC](https://forum.inductiveautomation.com/t/how-to-save-tags-with-simpletagprovider/4322 "2012-04-23T19:42:01Z")

</div>

Hi, I'm developing a module using SimpleTagProvider. I'm adding tags using SimpleTagProvider.configureTag(). I was just wondering if there is a straightforward way to: - Save these tags to the internal database, so t…

---

## [Reload resources for updated modules during development](https://forum.inductiveautomation.com/t/reload-resources-for-updated-modules-during-development/4163)

<div class="topic-metadata">

**Author:** [@chi](https://forum.inductiveautomation.com/u/chi)\
**Replies:** 1\
**Last updated:** [April 21, 2012, 5:48pm UTC](https://forum.inductiveautomation.com/t/reload-resources-for-updated-modules-during-development/4163 "2012-04-21T17:48:15Z")

</div>

Is there any other way to reload a module's resources (like property files or html pages) than restarting the gateway service? I am playing with the SDK, trying to create a new driver. It actually took me some hours to…

---

## [No UUID/GUID in DataType Enum](https://forum.inductiveautomation.com/t/no-uuid-guid-in-datatype-enum/4300)

<div class="topic-metadata">

**Author:** [@bryan\_cook](https://forum.inductiveautomation.com/u/bryan_cook)\
**Replies:** 5\
**Last updated:** [April 19, 2012, 3:53pm UTC](https://forum.inductiveautomation.com/t/no-uuid-guid-in-datatype-enum/4300 "2012-04-19T15:53:07Z")

</div>

We're creating tables programatically and I found a need to have a GUID. I noticed that the DataType enumeration doesn't have an entry for GUID, the closest thing seems to be String. Is there a reason for leaving it ou…

---

## [Driver classes still not unloading in dev mode](https://forum.inductiveautomation.com/t/driver-classes-still-not-unloading-in-dev-mode/4296)

<div class="topic-metadata">

**Author:** [@chi](https://forum.inductiveautomation.com/u/chi)\
**Replies:** 3\
**Last updated:** [April 18, 2012, 9:04pm UTC](https://forum.inductiveautomation.com/t/driver-classes-still-not-unloading-in-dev-mode/4296 "2012-04-18T21:04:45Z")

</div>

Hi, i still struggle with my opc-ua driver using the ignition api. Even after changing the ResourceBundle unloading as described in an erlier post, it is not possible to change property files without restarting the comp…

---

## [DBTableSchema ignoring ColumnProperty.NotNull](https://forum.inductiveautomation.com/t/dbtableschema-ignoring-columnproperty-notnull/4085)

<div class="topic-metadata">

**Author:** [@bloeper](https://forum.inductiveautomation.com/u/bloeper)\
**Replies:** 6\
**Last updated:** [April 12, 2012, 6:42pm UTC](https://forum.inductiveautomation.com/t/dbtableschema-ignoring-columnproperty-notnull/4085 "2012-04-12T18:42:32Z")

</div>

I'm having a problem with the DBTableSchema.addRequiredColumn() method. The block below is the output of logger.info("Column " + colName + properties.toString()); However, none of the columns are created as null, instead…

---

## [Custom Script Editor in Designer](https://forum.inductiveautomation.com/t/custom-script-editor-in-designer/4277)

<div class="topic-metadata">

**Author:** [@denji26](https://forum.inductiveautomation.com/u/denji26)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 5:38pm UTC](https://forum.inductiveautomation.com/t/custom-script-editor-in-designer/4277 "2012-04-11T17:38:04Z")

</div>

What I would like to do is add a custom script editor to appear under Configuration in the designer project browser tree. When the custom node is opened, I would like it to appear just like the client and gateway script …

---

## [Deploying Modules w/ 7.4.1 (b906)](https://forum.inductiveautomation.com/t/deploying-modules-w-7-4-1-b906/4264)

<div class="topic-metadata">

**Author:** [@bryan\_cook](https://forum.inductiveautomation.com/u/bryan_cook)\
**Replies:** 9\
**Last updated:** [April 9, 2012, 6:30pm UTC](https://forum.inductiveautomation.com/t/deploying-modules-w-7-4-1-b906/4264 "2012-04-09T18:30:23Z")

</div>

We upgraded to 7.4.1 last night, (both the installs and the SDK). We're noticing that when we deploy our Designer/Client module, the State gets set to New instead of Loaded. We've got to restart the module to get it to…

---

## [Deploying Module & NumberFormatException Error](https://forum.inductiveautomation.com/t/deploying-module-numberformatexception-error/3971)

<div class="topic-metadata">

**Author:** [@bryan\_cook](https://forum.inductiveautomation.com/u/bryan_cook)\
**Replies:** 10\
**Last updated:** [April 5, 2012, 6:51pm UTC](https://forum.inductiveautomation.com/t/deploying-module-numberformatexception-error/3971 "2012-04-05T18:51:48Z")

</div>

I'm working with the SDK for the first time, encountering the following problem ... I've got a simple module, just using Gateway. When I run my Ant file to deploy, I get the following ... I confirmed the server's acc…

---

## [Get SRConnection for Project's Default Database](https://forum.inductiveautomation.com/t/get-srconnection-for-projects-default-database/4254)

<div class="topic-metadata">

**Author:** [@bryan\_cook](https://forum.inductiveautomation.com/u/bryan_cook)\
**Replies:** 2\
**Last updated:** [April 5, 2012, 6:43pm UTC](https://forum.inductiveautomation.com/t/get-srconnection-for-projects-default-database/4254 "2012-04-05T18:43:48Z")

</div>

How can I go about getting an SRConnection object for the project's default database? We've got a Gateway module and we're able to get them through GatewayContext.getDatasourceManager().getConnection(); however, ClientC…

---

## [Javadoc for Vision module API](https://forum.inductiveautomation.com/t/javadoc-for-vision-module-api/4238)

<div class="topic-metadata">

**Author:** [@bloeper](https://forum.inductiveautomation.com/u/bloeper)\
**Replies:** 0\
**Last updated:** [April 3, 2012, 1:16pm UTC](https://forum.inductiveautomation.com/t/javadoc-for-vision-module-api/4238 "2012-04-03T13:16:13Z")

</div>

Now that we've got a good handle on programming with the gateway, it's time to start branching out to designers and clients. I've noticed, however, that the javadocs provided with the Ignition-ModuleSDK-7.3.3.zip don't h…

---

## [DBTableSchema.verifyAndUpdate()](https://forum.inductiveautomation.com/t/dbtableschema-verifyandupdate/4124)

<div class="topic-metadata">

**Author:** [@bryan\_cook](https://forum.inductiveautomation.com/u/bryan_cook)\
**Replies:** 0\
**Last updated:** [March 8, 2012, 6:37pm UTC](https://forum.inductiveautomation.com/t/dbtableschema-verifyandupdate/4124 "2012-03-08T18:37:08Z")

</div>

I was messing with this today, building some tables to help with my module's deployment. While tinkering, I had a scenario or two where I had a column with datatype A, then later decided to change it to datatype B. E…

---

## [Configuring a DateTime SQLTag in TagProvider](https://forum.inductiveautomation.com/t/configuring-a-datetime-sqltag-in-tagprovider/3994)

<div class="topic-metadata">

**Author:** [@denji26](https://forum.inductiveautomation.com/u/denji26)\
**Replies:** 3\
**Last updated:** [March 1, 2012, 11:10pm UTC](https://forum.inductiveautomation.com/t/configuring-a-datetime-sqltag-in-tagprovider/3994 "2012-03-01T23:10:55Z")

</div>

In my SQLTagProvider I am configuring a tag of type DateTime. When I view my tag in the designer, instead of seeing the date value, I see #,##0.## which is the Format String that has been set for that tag. When I edit th…

[Previous page](https://forum.inductiveautomation.com/c/module-development/7.md?page=57)

[Next page](https://forum.inductiveautomation.com/c/module-development/7.md?page=59)
