# Module Development

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

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

**Page:** 60

---

## [Debugging Modules](https://forum.inductiveautomation.com/t/debugging-modules/4083)

<div class="topic-metadata">

**Author:** [@bloeper](https://forum.inductiveautomation.com/u/bloeper)\
**Replies:** 1\
**Last updated:** [February 29, 2012, 4:46pm UTC](https://forum.inductiveautomation.com/t/debugging-modules/4083 "2012-02-29T16:46:39Z")

</div>

Is it possible to launch modules in debug mode within an IDE such as Eclipse? It'd be nice to step through code instead of relying on log4j to figure out what's going on.

---

## [java.lang.TypeNotPresentException from common library](https://forum.inductiveautomation.com/t/java-lang-typenotpresentexception-from-common-library/4054)

<div class="topic-metadata">

**Author:** [@bloeper](https://forum.inductiveautomation.com/u/bloeper)\
**Replies:** 7\
**Last updated:** [February 28, 2012, 1:27pm UTC](https://forum.inductiveautomation.com/t/java-lang-typenotpresentexception-from-common-library/4054 "2012-02-28T13:27:16Z")

</div>

We're working on building a module that will expose some web services to allow some external control over Ignition. When the Endpoint gets published, it's throwing a TypeNotPresentException on the interface defined in th…

---

## [New SQLTags not appearing in All Providers until refreshed](https://forum.inductiveautomation.com/t/new-sqltags-not-appearing-in-all-providers-until-refreshed/3998)

<div class="topic-metadata">

**Author:** [@denji26](https://forum.inductiveautomation.com/u/denji26)\
**Replies:** 1\
**Last updated:** [February 14, 2012, 7:45pm UTC](https://forum.inductiveautomation.com/t/new-sqltags-not-appearing-in-all-providers-until-refreshed/3998 "2012-02-14T19:45:30Z")

</div>

If I add new SQL Tags using the SimpleTagProvider, the tags do not appear in the All Providers folder until I manually refresh the folder. After that, my tag values update automatically without having to be refreshed. Is…

---

## [Help getting started](https://forum.inductiveautomation.com/t/help-getting-started/3952)

<div class="topic-metadata">

**Author:** [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Replies:** 2\
**Last updated:** [February 14, 2012, 4:29pm UTC](https://forum.inductiveautomation.com/t/help-getting-started/3952 "2012-02-14T16:29:45Z")

</div>

Having pushed scripting to its limit, I have finally reached the point where I have to start programming in Java. (ugh - to close to C) So to start I want to add behaviors to the container and path components. I'm sure…

---

## [Alerting Usage](https://forum.inductiveautomation.com/t/alerting-usage/3996)

<div class="topic-metadata">

**Author:** [@bryan\_cook](https://forum.inductiveautomation.com/u/bryan_cook)\
**Replies:** 1\
**Last updated:** [February 14, 2012, 3:56pm UTC](https://forum.inductiveautomation.com/t/alerting-usage/3996 "2012-02-14T15:56:57Z")

</div>

I'm looking over the Working with Platform Services section of the Programmer's Guide, specifically the section on Alerting. All content relates to the usage of alerting with tag alarms. I was wondering, could I use th…

---

## [Problem when import other \*.jar into SDK](https://forum.inductiveautomation.com/t/problem-when-import-other-jar-into-sdk/3825)

<div class="topic-metadata">

**Author:** [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Replies:** 1\
**Last updated:** [February 14, 2012, 4:05am UTC](https://forum.inductiveautomation.com/t/problem-when-import-other-jar-into-sdk/3825 "2012-02-14T04:05:43Z")

</div>

When I import other java class (\*.jar) into ignition SDK in eclipse,it succesed when building the module,but it can't run (java.lang.NoClassDefFoundError showed in log of gateway ),how to import other \*.jar into our pr…

---

## [Custom module.xml Values?](https://forum.inductiveautomation.com/t/custom-module-xml-values/3988)

<div class="topic-metadata">

**Author:** [@bryan\_cook](https://forum.inductiveautomation.com/u/bryan_cook)\
**Replies:** 2\
**Last updated:** [February 13, 2012, 8:15pm UTC](https://forum.inductiveautomation.com/t/custom-module-xml-values/3988 "2012-02-13T20:15:08Z")

</div>

Can I define custom values within the module.xml file without any negative impact? I've got a module with two or more JAR's within it. Each JAR has values defined within its manifest, was wondering if I could treat modu…

---

## [Icons on buttons](https://forum.inductiveautomation.com/t/icons-on-buttons/3853)

<div class="topic-metadata">

**Author:** [@denji26](https://forum.inductiveautomation.com/u/denji26)\
**Replies:** 1\
**Last updated:** [January 12, 2012, 11:57pm UTC](https://forum.inductiveautomation.com/t/icons-on-buttons/3853 "2012-01-12T23:57:58Z")

</div>

I have buttons for add/edit/delete in my module with corresponding icons on each instead of text. My png image files were in an image folder in my client src folder. I was using: Icon add = new ImageIcon("add.png"); …

---

## [Write variable when user change value in HMI](https://forum.inductiveautomation.com/t/write-variable-when-user-change-value-in-hmi/3854)

<div class="topic-metadata">

**Author:** [@smorini](https://forum.inductiveautomation.com/u/smorini)\
**Replies:** 1\
**Last updated:** [January 12, 2012, 10:38pm UTC](https://forum.inductiveautomation.com/t/write-variable-when-user-change-value-in-hmi/3854 "2012-01-12T22:38:37Z")

</div>

hi I have to transform my "read only driver" to "read write driver". That is, I wrote a driver, that reads variable from a custom tcp protocol, and puts the values inside the node map "((DataNode) node).setValue(inVar…

---

## [Get datasource from Gateway configuration page](https://forum.inductiveautomation.com/t/get-datasource-from-gateway-configuration-page/3847)

<div class="topic-metadata">

**Author:** [@denji26](https://forum.inductiveautomation.com/u/denji26)\
**Replies:** 4\
**Last updated:** [January 12, 2012, 6:09pm UTC](https://forum.inductiveautomation.com/t/get-datasource-from-gateway-configuration-page/3847 "2012-01-12T18:09:08Z")

</div>

I am working on a module where another developer has created a configuration page on the Gateway. One of the settings is datasource. I am wondering how I can access the chosen datasource from my client scoped module. I…

---

## [2 question about UA driver](https://forum.inductiveautomation.com/t/2-question-about-ua-driver/3809)

<div class="topic-metadata">

**Author:** [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Replies:** 0\
**Last updated:** [December 26, 2011, 9:50am UTC](https://forum.inductiveautomation.com/t/2-question-about-ua-driver/3809 "2011-12-26T09:50:32Z")

</div>

1.Is com.inductiveautomation.opcua.nodes.NodeManager and com.inductiveautomation.opcua.nodes.builders.NodeBuilderFactory included in your javadoc,if not ,please give me some explaination about these class. 2.when are …

---

## [A question about funtion "buildnode " in opcua driver](https://forum.inductiveautomation.com/t/a-question-about-funtion-buildnode-in-opcua-driver/3805)

<div class="topic-metadata">

**Author:** [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Replies:** 1\
**Last updated:** [December 23, 2011, 4:37pm UTC](https://forum.inductiveautomation.com/t/a-question-about-funtion-buildnode-in-opcua-driver/3805 "2011-12-23T16:37:19Z")

</div>

when the ua dirver call the function buildNode(String address, NodeId nodeId)?please give me more detailed information about this function.

---

## [MYSQL Cluster Monitoring Module](https://forum.inductiveautomation.com/t/mysql-cluster-monitoring-module/3467)

<div class="topic-metadata">

**Author:** [@focus-eng](https://forum.inductiveautomation.com/u/focus-eng)\
**Replies:** 13\
**Last updated:** [December 21, 2011, 11:13pm UTC](https://forum.inductiveautomation.com/t/mysql-cluster-monitoring-module/3467 "2011-12-21T23:13:17Z")

</div>

Hi fellow developers. As part of integration solutions we often use MySQL with replication and offset indexing. 99% of the time this works fine. Just do not shut down the 2 Servers at the same time without giving them …

---

## [A question about a function in opcua programming](https://forum.inductiveautomation.com/t/a-question-about-a-function-in-opcua-programming/3777)

<div class="topic-metadata">

**Author:** [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Replies:** 1\
**Last updated:** [December 19, 2011, 5:04pm UTC](https://forum.inductiveautomation.com/t/a-question-about-a-function-in-opcua-programming/3777 "2011-12-19T17:04:01Z")

</div>

the code " public void setAddressMap(String addressMap)" in the example of Ignition-ModuleSDK-7.2.8\\example\\ModbusDriver-v2. there is no explanation of this function in javadoc and no other fuctions to call it ,can you…

---

## [A question about fuction "getRequestKey" in opcua program](https://forum.inductiveautomation.com/t/a-question-about-fuction-getrequestkey-in-opcua-program/3754)

<div class="topic-metadata">

**Author:** [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Replies:** 4\
**Last updated:** [December 16, 2011, 4:37pm UTC](https://forum.inductiveautomation.com/t/a-question-about-fuction-getrequestkey-in-opcua-program/3754 "2011-12-16T16:37:52Z")

</div>

Can you give me more detailed information about fuction "getRequestKey(byte\[\] message)" ,It seems only get the key of received message ,not sended message. please tell me more about the "key",thanks.

---

## [Question about program of opcua dirver (AbstractNioDriver)](https://forum.inductiveautomation.com/t/question-about-program-of-opcua-dirver-abstractniodriver/3739)

<div class="topic-metadata">

**Author:** [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Replies:** 3\
**Last updated:** [December 15, 2011, 4:31pm UTC](https://forum.inductiveautomation.com/t/question-about-program-of-opcua-dirver-abstractniodriver/3739 "2011-12-15T16:31:45Z")

</div>

I write a java tcp server which listen on port XXX to test my opcua driver ,when tcp server receive a message,it will responde some message( It has been tested by java client TCP program); I implement the functi…

---

## [A question about a function](https://forum.inductiveautomation.com/t/a-question-about-a-function/3719)

<div class="topic-metadata">

**Author:** [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Replies:** 3\
**Last updated:** [December 9, 2011, 3:55pm UTC](https://forum.inductiveautomation.com/t/a-question-about-a-function/3719 "2011-12-09T15:55:45Z")

</div>

the code " protected Request createReadRequest(List\<? extends ReadItem\> items)" in the example of Ignition-ModuleSDK-7.2.8\\example\\ModbusDriver-v2. there is no explanation of function createReadRequest in javadoc, can…

---

## [Framework Upgrade](https://forum.inductiveautomation.com/t/framework-upgrade/3689)

<div class="topic-metadata">

**Author:** [@smorini](https://forum.inductiveautomation.com/u/smorini)\
**Replies:** 5\
**Last updated:** [December 9, 2011, 3:48pm UTC](https://forum.inductiveautomation.com/t/framework-upgrade/3689 "2011-12-09T15:48:16Z")

</div>

Hi All, I developed a driver using sdk 7.2.5, so I suppose it use the FrameworkVersion 2. Now with Ignition 7.3 I can't install the driver because, during the installation, it tell me that the FrameworkVersion = 2 i…

---

## [Question about Interface Request in OPCUA driver program](https://forum.inductiveautomation.com/t/question-about-interface-request-in-opcua-driver-program/3682)

<div class="topic-metadata">

**Author:** [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Replies:** 0\
**Last updated:** [December 1, 2011, 8:20am UTC](https://forum.inductiveautomation.com/t/question-about-interface-request-in-opcua-driver-program/3682 "2011-12-01T08:20:34Z")

</div>

if I want to realize the fuction :"sendMessage" and "receiveMessage" of Interface "Request" in OPCUA driver programing ,I must use the AbstractNioDriver which send and receive data by TCPIP,is it true?

---

## [OPCUA driver with Modbus Driver connected not by TCPIP](https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-not-by-tcpip/3668)

<div class="topic-metadata">

**Author:** [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Replies:** 2\
**Last updated:** [December 1, 2011, 8:16am UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-not-by-tcpip/3668 "2011-12-01T08:16:45Z")

</div>

I want to know how the example code of OPCUA driver with Modbus TCP Driver to be adapted for one which is not based on TCP IP. AbstractNioDriver provides the networking bits and pieces. so | must extend directly from Ab…

---

## [OPCUA driver with Modbus Driver connected by serial port](https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-by-serial-port/3660)

<div class="topic-metadata">

**Author:** [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Replies:** 2\
**Last updated:** [November 29, 2011, 2:34am UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-modbus-driver-connected-by-serial-port/3660 "2011-11-29T02:34:06Z")

</div>

I have read the example of Ignition-ModuleSDK-7.2.8\\example\\ModbusDriver-v2. it is a bout modbus TCP.if I want write a OPCUA driver with ModbusDriver connected by serial port,what can I do,thank you very much.

---

## [A question about logging and the SDK](https://forum.inductiveautomation.com/t/a-question-about-logging-and-the-sdk/3656)

<div class="topic-metadata">

**Author:** [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Replies:** 1\
**Last updated:** [November 27, 2011, 5:47pm UTC](https://forum.inductiveautomation.com/t/a-question-about-logging-and-the-sdk/3656 "2011-11-27T17:47:42Z")

</div>

where the logger information to be displayed? for example: Logger log; log.trace("someinforamtion") where "someinforamtion" is to be displayed

---

## [Question about OPCUA dirver progaming](https://forum.inductiveautomation.com/t/question-about-opcua-dirver-progaming/3657)

<div class="topic-metadata">

**Author:** [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Replies:** 2\
**Last updated:** [November 26, 2011, 2:32pm UTC](https://forum.inductiveautomation.com/t/question-about-opcua-dirver-progaming/3657 "2011-11-26T14:32:06Z")

</div>

AbstractNioDriver provides the networking bits and pieces. but If I make my own network connections and extend directly from AbstractDriver,how can handle things such like sending and receiving data from network

---

## [Apache Commons IO Library: Multiple Versions](https://forum.inductiveautomation.com/t/apache-commons-io-library-multiple-versions/3644)

<div class="topic-metadata">

**Author:** [@nathanp10](https://forum.inductiveautomation.com/u/nathanp10)\
**Replies:** 10\
**Last updated:** [November 24, 2011, 10:42pm UTC](https://forum.inductiveautomation.com/t/apache-commons-io-library-multiple-versions/3644 "2011-11-24T22:42:25Z")

</div>

Hello everybody, I am developing an Ignition module that uses the Apache Commons IO library, specifically v2.0+ of the library. Most of the functionality I need works fine, but I am getting the following error regula…

---

## [Source for Dairy Simulator](https://forum.inductiveautomation.com/t/source-for-dairy-simulator/3462)

<div class="topic-metadata">

**Author:** [@Greg.Buehler](https://forum.inductiveautomation.com/u/Greg.Buehler)\
**Replies:** 3\
**Last updated:** [October 19, 2011, 10:07pm UTC](https://forum.inductiveautomation.com/t/source-for-dairy-simulator/3462 "2011-10-19T22:07:57Z")

</div>

Any chance we can get the source for the dairy simulator? It would be a great starting point for getting started on custom drivers.

---

## [Add property with dropdown](https://forum.inductiveautomation.com/t/add-property-with-dropdown/3449)

<div class="topic-metadata">

**Author:** [@denji26](https://forum.inductiveautomation.com/u/denji26)\
**Replies:** 2\
**Last updated:** [October 18, 2011, 4:36pm UTC](https://forum.inductiveautomation.com/t/add-property-with-dropdown/3449 "2011-10-18T16:36:33Z")

</div>

I want to add a property to my component that is a drop down of existing Ignition datasources. I have the list of datasources but I can't figure out how to create a property that displays a drop down list, akin to the ad…

---

## [Get list of database connections](https://forum.inductiveautomation.com/t/get-list-of-database-connections/3447)

<div class="topic-metadata">

**Author:** [@denji26](https://forum.inductiveautomation.com/u/denji26)\
**Replies:** 5\
**Last updated:** [October 17, 2011, 7:03pm UTC](https://forum.inductiveautomation.com/t/get-list-of-database-connections/3447 "2011-10-17T19:03:31Z")

</div>

How can I get a list of Ignition database connections for my module, akin to calling system.db.getConnections() from Igniton?

---

## [7.3 : Error loading hook classes for module "simpleprovider"](https://forum.inductiveautomation.com/t/7-3-error-loading-hook-classes-for-module-simpleprovider/3421)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 2\
**Last updated:** [October 14, 2011, 9:34pm UTC](https://forum.inductiveautomation.com/t/7-3-error-loading-hook-classes-for-module-simpleprovider/3421 "2011-10-14T21:34:50Z")

</div>

try to hook the simpleprovider from the sdk with ignition 7.3 : I have the follwing error: "Error loading hook classes for module "simpleprovider"

---

## [Tag driver not found response of read](https://forum.inductiveautomation.com/t/tag-driver-not-found-response-of-read/3324)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 10\
**Last updated:** [October 13, 2011, 4:09pm UTC](https://forum.inductiveautomation.com/t/tag-driver-not-found-response-of-read/3324 "2011-10-13T16:09:37Z")

</div>

I try to read a db tag and i have the resul : tag driver not found what’s wrong ? see picture attached

---

## [Ignition Module / Dataset](https://forum.inductiveautomation.com/t/ignition-module-dataset/3264)

<div class="topic-metadata">

**Author:** [@pdalwalla](https://forum.inductiveautomation.com/u/pdalwalla)\
**Replies:** 10\
**Last updated:** [September 30, 2011, 5:00pm UTC](https://forum.inductiveautomation.com/t/ignition-module-dataset/3264 "2011-09-30T17:00:39Z")

</div>

We are trying to develop ignition module that will include only datasets. These datasets can then be assigned to any component such as a table and should be able to refresh automatically as the data changes. Do you hav…

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

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