Ok there is now a new update for the IA labs scripting module. You can download it on the marketplace:
marketplace.inductiveautomation. … oduleId=46
Here is the changelog:
Fixed bug with system.tag.browseTags returning error: does not have the @KeywordArgs annotation.
I’m trying to download the module, however I can’t see it on the marketplace. Where can I found it?
marketplace.inductiveautomation. … oduleId=46
Or
Go to marketplace.inductiveautomation.com , click on “Most Popular” tab and then in the IA Labs Scripting.
Next, go to “Try module” on the upper right, agree the terms, click on continue and click on “download module”
Troubles with
system.device.listDevices()
function (IA Labs Scripting 1.6.4 (b14)).
It's returning me a set of devices.
Two of them are None in each column (Name, Enabled, State, and Driver), in fact what i see in the Device page is a N/A under the Status column and not the Connected/Disconnected string.
I've found the related exceptions in the console:
[ERROR]
Time Logger Message
16.00.59 DeviceManagerPage$StatusField Error getting status for DriverInstance '<mystationname >'
java.lang.NullPointerException
at com.inductiveautomation.xopc.gateway.config.drivers.DeviceManagerPage$StatusField.getFieldvalue(DeviceManagerPage.java:64)
at com.inductiveautomation.xopc.gateway.config.drivers.DeviceManagerPage$StatusField.getFieldvalue(DeviceManagerPage.java:52)
at com.inductiveautomation.ignition.gateway.web.components.RecordActionTable$CalculatedFieldModel.load(RecordActionTable.java:359)
at org.apache.wicket.model.LoadableDetachableModel.getObject(LoadableDetachableModel.java:121)
at org.apache.wicket.Component.getDefaultModelObject(Component.java:1615)
at org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1643)
at com.inductiveautomation.ignition.gateway.web.components.NbspLabel.onComponentTagBody(NbspLabel.java:30)
at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71)
at org.apache.wicket.Component.internalRenderComponent(Component.java:2535)
at org.apache.wicket.markup.html.WebComponent.onRender(WebComponent.java:56)
at org.apache.wicket.Component.internalRender(Component.java:2365)
at org.apache.wicket.Component.render(Component.java:2293)
at org.apache.wicket.ajax.XmlAjaxResponse.writeComponent(XmlAjaxResponse.java:121)
at org.apache.wicket.ajax.AbstractAjaxResponse.writeComponents(AbstractAjaxResponse.java:214)
at org.apache.wicket.ajax.AbstractAjaxResponse.writeTo(AbstractAjaxResponse.java:145)
at org.apache.wicket.ajax.AjaxRequestHandler.respond(AjaxRequestHandler.java:363)
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:814)
at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:253)
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:281)
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:245)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Any suggestion?
Thank you!
Any news about my script issue? Thank you