# Module Development

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

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

**Page:** 58

---

## [Is there a way to extend a JFrame with the client SDK?](https://forum.inductiveautomation.com/t/is-there-a-way-to-extend-a-jframe-with-the-client-sdk/5612)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 2\
**Last updated:** [December 28, 2012, 5:26pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-extend-a-jframe-with-the-client-sdk/5612 "2012-12-28T17:26:05Z")

</div>

Is there a way to extend a JFrame with the client SDK ? I try to include a component with the frame.setContentPane method.

---

## [Returning Generated Database Keys in a Cross Database Way](https://forum.inductiveautomation.com/t/returning-generated-database-keys-in-a-cross-database-way/5615)

<div class="topic-metadata">

**Author:** [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Replies:** 1\
**Last updated:** [December 26, 2012, 4:25pm UTC](https://forum.inductiveautomation.com/t/returning-generated-database-keys-in-a-cross-database-way/5615 "2012-12-26T16:25:59Z")

</div>

The Javadoc documentation for SRConnection says that the prepareStatmentForGeneratedKeys and fetchGeneratedKey methods are used for "returning generated keys in a way that's safe for all database drivers." I was wonder…

---

## [Vision component](https://forum.inductiveautomation.com/t/vision-component/5243)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 1\
**Last updated:** [December 19, 2012, 7:48pm UTC](https://forum.inductiveautomation.com/t/vision-component/5243 "2012-12-19T19:48:44Z")

</div>

I'm a newbies in java UI. what king of UI API is used for ignition component ? Awt, Swing, Swt ? I try to use the abstract component to create a custom one. Is there a way to include swt component ? the following lin…

---

## [Is SRConnection Thread Safe?](https://forum.inductiveautomation.com/t/is-srconnection-thread-safe/5580)

<div class="topic-metadata">

**Author:** [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Replies:** 3\
**Last updated:** [December 17, 2012, 6:13pm UTC](https://forum.inductiveautomation.com/t/is-srconnection-thread-safe/5580 "2012-12-17T18:13:42Z")

</div>

Can I use a single database connection among multiple threads without any problem? In other words is SRConnection thread safe? Another question: I have this database query: Integer systemBytes = (Integer)con.runScalarQ…

---

## [Types of AbstractDrivers](https://forum.inductiveautomation.com/t/types-of-abstractdrivers/5546)

<div class="topic-metadata">

**Author:** [@lisawas](https://forum.inductiveautomation.com/u/lisawas)\
**Replies:** 1\
**Last updated:** [December 10, 2012, 4:26pm UTC](https://forum.inductiveautomation.com/t/types-of-abstractdrivers/5546 "2012-12-10T16:26:45Z")

</div>

I would like to create a driver for a device that passes data via OPCXML. I've make a tag provider and that works alright, but I'd like to have support for multiple devices, user configuration, and some method of distin…

---

## [Difference between ATDExample and Weather](https://forum.inductiveautomation.com/t/difference-between-atdexample-and-weather/5545)

<div class="topic-metadata">

**Author:** [@lisawas](https://forum.inductiveautomation.com/u/lisawas)\
**Replies:** 2\
**Last updated:** [December 10, 2012, 4:26pm UTC](https://forum.inductiveautomation.com/t/difference-between-atdexample-and-weather/5545 "2012-12-10T16:26:06Z")

</div>

For my next trick with Ignition, I'd like to write a proper OPC UA driver for a device that communicates via OPC XML. Since I've never done this before, I looked over and build the Abstract Tag Driver Example and Weathe…

---

## [Problem refreshing](https://forum.inductiveautomation.com/t/problem-refreshing/5377)

<div class="topic-metadata">

**Author:** [@shannon](https://forum.inductiveautomation.com/u/shannon)\
**Replies:** 6\
**Last updated:** [November 6, 2012, 8:54pm UTC](https://forum.inductiveautomation.com/t/problem-refreshing/5377 "2012-11-06T20:54:49Z")

</div>

I have some code in a script module, called from the internalFrameOpened event, that is supposed to refresh some data in the components, and then use the fresh data to do some decision-making tasks. The problem is that …

---

## [AbstractDriverModuleHook - device re-create](https://forum.inductiveautomation.com/t/abstractdrivermodulehook-device-re-create/5335)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 2\
**Last updated:** [October 26, 2012, 2:48pm UTC](https://forum.inductiveautomation.com/t/abstractdrivermodulehook-device-re-create/5335 "2012-10-26T14:48:28Z")

</div>

I’ve a simple driver based on the AbstractTagDriverExample. All is fine excepted when I delete the device in the GW and recreate the same device with the same name. I have the following message : I would like to del…

---

## [OPCUA Driver with fixed Delay](https://forum.inductiveautomation.com/t/opcua-driver-with-fixed-delay/5319)

<div class="topic-metadata">

**Author:** [@GermainN](https://forum.inductiveautomation.com/u/GermainN)\
**Replies:** 2\
**Last updated:** [October 24, 2012, 3:15pm UTC](https://forum.inductiveautomation.com/t/opcua-driver-with-fixed-delay/5319 "2012-10-24T15:15:34Z")

</div>

Hi, I saw that in the new SDK Programmer's guide : Fixed Delay vs. Fixed Rate In my code, i have this : getDriverContext().getSharedExecutionManager().register(eICTDriver.class.getSimpleName(), "eICTDriverUp…

---

## [Module Installation Failure logs](https://forum.inductiveautomation.com/t/module-installation-failure-logs/5264)

<div class="topic-metadata">

**Author:** [@lisawas](https://forum.inductiveautomation.com/u/lisawas)\
**Replies:** 3\
**Last updated:** [October 24, 2012, 3:23am UTC](https://forum.inductiveautomation.com/t/module-installation-failure-logs/5264 "2012-10-24T03:23:24Z")

</div>

I'm attempting to write a module based on the SimpleTagProvider example in the SDK, and when I tried to install it I got the following message: Error loading module "flexsorttagprovider.modl" See log for details. I d…

---

## [Detect if client is in staging or published mode](https://forum.inductiveautomation.com/t/detect-if-client-is-in-staging-or-published-mode/5112)

<div class="topic-metadata">

**Author:** [@systemparadox](https://forum.inductiveautomation.com/u/systemparadox)\
**Replies:** 6\
**Last updated:** [October 19, 2012, 7:42am UTC](https://forum.inductiveautomation.com/t/detect-if-client-is-in-staging-or-published-mode/5112 "2012-10-19T07:42:30Z")

</div>

How can I detect if a client is running in published or staging mode? Thanks.

---

## [StringField Height](https://forum.inductiveautomation.com/t/stringfield-height/5139)

<div class="topic-metadata">

**Author:** [@chuckcoughlin](https://forum.inductiveautomation.com/u/chuckcoughlin)\
**Replies:** 4\
**Last updated:** [October 14, 2012, 5:04am UTC](https://forum.inductiveautomation.com/t/stringfield-height/5139 "2012-10-14T05:04:38Z")

</div>

In the settings page for a gateway configuration, I'd like to display a license file. I believe a StringField is the correct component for this. There is a method to set its width, but I can't figure out how to set a hei…

---

## [ClassCastException for opcua.datatype.ubyte](https://forum.inductiveautomation.com/t/classcastexception-for-opcua-datatype-ubyte/5259)

<div class="topic-metadata">

**Author:** [@chi](https://forum.inductiveautomation.com/u/chi)\
**Replies:** 4\
**Last updated:** [October 10, 2012, 8:43pm UTC](https://forum.inductiveautomation.com/t/classcastexception-for-opcua-datatype-ubyte/5259 "2012-10-10T20:43:15Z")

</div>

Hi, in my opcua driver i use the datatype ubyte (i think this this was new introduced in 7.5). Now i updated my testsystem to 7.5.4beta1 and get the following error when i try to add a opc tag with this datatype: jav…

---

## [Develop driver for access shared memory](https://forum.inductiveautomation.com/t/develop-driver-for-access-shared-memory/5257)

<div class="topic-metadata">

**Author:** [@davide.paris87](https://forum.inductiveautomation.com/u/davide.paris87)\
**Replies:** 3\
**Last updated:** [October 10, 2012, 5:20pm UTC](https://forum.inductiveautomation.com/t/develop-driver-for-access-shared-memory/5257 "2012-10-10T17:20:52Z")

</div>

Hi, I need a driver to connect OPC-UA server with the linux's shared memory. I have no idea where to start. Could someone help me? thanks, David

---

## [Custom resource shows as "unknown" in export dialog](https://forum.inductiveautomation.com/t/custom-resource-shows-as-unknown-in-export-dialog/5247)

<div class="topic-metadata">

**Author:** [@systemparadox](https://forum.inductiveautomation.com/u/systemparadox)\
**Replies:** 0\
**Last updated:** [October 8, 2012, 10:43am UTC](https://forum.inductiveautomation.com/t/custom-resource-shows-as-unknown-in-export-dialog/5247 "2012-10-08T10:43:29Z")

</div>

I’ve created a module with a custom resource type. Both the moduleId and resourceType are set for the module and everything is working well. However, the export dialog shows the resource under a folder of “Unknown”. How …

---

## [Client does not recieve notification of deleted resources](https://forum.inductiveautomation.com/t/client-does-not-recieve-notification-of-deleted-resources/5246)

<div class="topic-metadata">

**Author:** [@systemparadox](https://forum.inductiveautomation.com/u/systemparadox)\
**Replies:** 1\
**Last updated:** [October 8, 2012, 9:55am UTC](https://forum.inductiveautomation.com/t/client-does-not-recieve-notification-of-deleted-resources/5246 "2012-10-08T09:55:24Z")

</div>

A ProjectChangeListener added to a client does not appear to receive any notification of deleted resources. The Project object passed to projectUpdated appears to be a complete project rather than a diff like it is for…

---

## [SVG to Module](https://forum.inductiveautomation.com/t/svg-to-module/5194)

<div class="topic-metadata">

**Author:** [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Replies:** 2\
**Last updated:** [September 26, 2012, 6:26pm UTC](https://forum.inductiveautomation.com/t/svg-to-module/5194 "2012-09-26T18:26:20Z")

</div>

I finally installed the example module to my designer. I have played around with some of the javascript and think I have a decent handle on it. Now, I'd like to actually incorporate an SVG button that I made in Inkscape …

---

## [Loading resources into ResourceWorkspace](https://forum.inductiveautomation.com/t/loading-resources-into-resourceworkspace/5197)

<div class="topic-metadata">

**Author:** [@systemparadox](https://forum.inductiveautomation.com/u/systemparadox)\
**Replies:** 0\
**Last updated:** [September 26, 2012, 4:16pm UTC](https://forum.inductiveautomation.com/t/loading-resources-into-resourceworkspace/5197 "2012-09-26T16:16:43Z")

</div>

I'm creating new tree nodes for my resources in the project browser hierarchy. I have registered a ResourceWorkspace implementation using DesignerContext.registerResourceWorkspace() and setup AbstractNavTreeNode.getWorks…

---

## [Custom spinner component](https://forum.inductiveautomation.com/t/custom-spinner-component/5113)

<div class="topic-metadata">

**Author:** [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Replies:** 8\
**Last updated:** [September 21, 2012, 8:54pm UTC](https://forum.inductiveautomation.com/t/custom-spinner-component/5113 "2012-09-21T20:54:07Z")

</div>

I would really like to get into development in a big way. I've downloaded the SDK and am reading the manual right now. I think that the next step is going to be to actually create and upload something custom into the des…

---

## [ProjectChangeListener execution order](https://forum.inductiveautomation.com/t/projectchangelistener-execution-order/4978)

<div class="topic-metadata">

**Author:** [@systemparadox](https://forum.inductiveautomation.com/u/systemparadox)\
**Replies:** 1\
**Last updated:** [September 21, 2012, 10:02am UTC](https://forum.inductiveautomation.com/t/projectchangelistener-execution-order/4978 "2012-09-21T10:02:38Z")

</div>

Given two modules A and B: - A stands alone (does not require B) - B stands alone (does not require A) - If both A and B are installed, the projectUpdated() event for A must run before the one for B How can I enf…

---

## [SQLTag CSV Enumerations](https://forum.inductiveautomation.com/t/sqltag-csv-enumerations/5103)

<div class="topic-metadata">

**Author:** [@lisawas](https://forum.inductiveautomation.com/u/lisawas)\
**Replies:** 3\
**Last updated:** [September 17, 2012, 3:55am UTC](https://forum.inductiveautomation.com/t/sqltag-csv-enumerations/5103 "2012-09-17T03:55:48Z")

</div>

We're working on generating a csv to import new tags into Ignition, based on spreadsheets from other facets of our facility. By and large, we have figured out what the Ignition CSV should look like, but I have a few rem…

---

## [Redundancy - Synchronize active backup node to master node](https://forum.inductiveautomation.com/t/redundancy-synchronize-active-backup-node-to-master-node/5079)

<div class="topic-metadata">

**Author:** [@chi](https://forum.inductiveautomation.com/u/chi)\
**Replies:** 6\
**Last updated:** [September 5, 2012, 10:32pm UTC](https://forum.inductiveautomation.com/t/redundancy-synchronize-active-backup-node-to-master-node/5079 "2012-09-05T22:32:32Z")

</div>

Sorry, its me again. I'm trying to add support for redundancy to my driver module, and stuck at transferring the state of the active backup node to the passive master node. Using the persistent record system works as exp…

---

## [Weather Module failed to build](https://forum.inductiveautomation.com/t/weather-module-failed-to-build/5096)

<div class="topic-metadata">

**Author:** [@hngo](https://forum.inductiveautomation.com/u/hngo)\
**Replies:** 2\
**Last updated:** [September 5, 2012, 4:20am UTC](https://forum.inductiveautomation.com/t/weather-module-failed-to-build/5096 "2012-09-05T04:20:15Z")

</div>

Hi guys, I'm copying the whole folder from the bootcamp and rebuilding the dev environment on my computer but it fails at the very first step trying to build the Weather module (Module Bootcamp -Instroduction.pdf page …

---

## [UADriver - Subscribed item quality after driver restart](https://forum.inductiveautomation.com/t/uadriver-subscribed-item-quality-after-driver-restart/4596)

<div class="topic-metadata">

**Author:** [@chi](https://forum.inductiveautomation.com/u/chi)\
**Replies:** 13\
**Last updated:** [August 27, 2012, 7:48pm UTC](https://forum.inductiveautomation.com/t/uadriver-subscribed-item-quality-after-driver-restart/4596 "2012-08-27T19:48:50Z")

</div>

When a driver is restarted, all the subscribed items have 'Unknown' quality until the driver is connected. They only get updated after any client executes a read on the item. For example, i implemented a diagnostic 'IsCo…

---

## [Debuggin Webstart Clients with Eclipse](https://forum.inductiveautomation.com/t/debuggin-webstart-clients-with-eclipse/4204)

<div class="topic-metadata">

**Author:** [@gmazzola](https://forum.inductiveautomation.com/u/gmazzola)\
**Replies:** 2\
**Last updated:** [August 16, 2012, 5:56pm UTC](https://forum.inductiveautomation.com/t/debuggin-webstart-clients-with-eclipse/4204 "2012-08-16T17:56:57Z")

</div>

Hi, I'm working on a module and I've sucessfully it when it runs the Gateway code part. Now I want to attach the Eclipse's remote debugger on a Webstart client, so I can test the client part of the module. ¿How can I a…

---

## [Debugging in the Client](https://forum.inductiveautomation.com/t/debugging-in-the-client/5020)

<div class="topic-metadata">

**Author:** [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Replies:** 0\
**Last updated:** [August 16, 2012, 5:56pm UTC](https://forum.inductiveautomation.com/t/debugging-in-the-client/5020 "2012-08-16T17:56:32Z")

</div>

Hi everyone, This has come up a few times, and we've finally added how to do this into the Programmer's guide. Just thought I'd post so it was here as well. To debug client scoped code (in the designer or a client), …

---

## [Shared code between gateway and client](https://forum.inductiveautomation.com/t/shared-code-between-gateway-and-client/4977)

<div class="topic-metadata">

**Author:** [@systemparadox](https://forum.inductiveautomation.com/u/systemparadox)\
**Replies:** 4\
**Last updated:** [August 13, 2012, 4:15pm UTC](https://forum.inductiveautomation.com/t/shared-code-between-gateway-and-client/4977 "2012-08-13T16:15:13Z")

</div>

What is the recommended way to distribute shared code that needs to be available to both the gateway and the client? It seems that the gateway doesn't unpack pack200 (pack.gz) files. I would like to avoid having to hav…

---

## [Where is the SerialDisplayDriver example?](https://forum.inductiveautomation.com/t/where-is-the-serialdisplaydriver-example/4960)

<div class="topic-metadata">

**Author:** [@systemparadox](https://forum.inductiveautomation.com/u/systemparadox)\
**Replies:** 4\
**Last updated:** [August 9, 2012, 3:21pm UTC](https://forum.inductiveautomation.com/t/where-is-the-serialdisplaydriver-example/4960 "2012-08-09T15:21:42Z")

</div>

These two topics talk about an example SerialDisplayDriver module: viewtopic.php?f=74&t=6762&p=19490&hilit=serial#p19490 viewtopic.php?f=74&t=6760&p=19488&hilit=serial#p19488 Has this example been removed? I cannot f…

---

## [Where is the client log?](https://forum.inductiveautomation.com/t/where-is-the-client-log/4953)

<div class="topic-metadata">

**Author:** [@systemparadox](https://forum.inductiveautomation.com/u/systemparadox)\
**Replies:** 1\
**Last updated:** [August 9, 2012, 7:40am UTC](https://forum.inductiveautomation.com/t/where-is-the-client-log/4953 "2012-08-09T07:40:31Z")

</div>

Where do client/designer log messages go? Is there anywhere I can see stdout/stderr? What about uncaught exceptions? I've setup log4j with the following, but I still can't find the message anywhere: public class Cli…

---

## [Script Module Editor kills scripts added through module hook](https://forum.inductiveautomation.com/t/script-module-editor-kills-scripts-added-through-module-hook/3723)

<div class="topic-metadata">

**Author:** [@cgz](https://forum.inductiveautomation.com/u/cgz)\
**Replies:** 6\
**Last updated:** [August 8, 2012, 11:07am UTC](https://forum.inductiveautomation.com/t/script-module-editor-kills-scripts-added-through-module-hook/3723 "2012-08-08T11:07:39Z")

</div>

When exposing python scripts to a project through module's hook like this: public static void exposeJythonBindings(ClientContext context) throws IOException { ScriptManager scriptMan = context.getScrip…

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

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