Perspective Module Example

#1

Hi Perry,

Could you please share the URL to more information and/or the module example?

S.

0 Likes

Ignition 8 / Perspective module
#2

Module SDK examples are available here, including a Perspective component example.

1 Like

#3

Is there a change in the API on version 8.0.3 ?

I am getting following error in designer when I build and install the Perspective Example module on Ignition 8.0.3-rc2 (b2019072512).

11:31:30.377 [Designer-Startup] INFO designer.main - Starting module: RadComponents [+7166]
11:31:30.378 [Designer-Startup] INFO RadComponents - Registering Rad Components in Designer!
11:31:30.381 [Designer-Startup] ERROR designer.main - Error starting up module RadComponents
java.lang.NoSuchMethodError: com.inductiveautomation.perspective.designer.api.PerspectiveDesignerInterface.getComponentRegistry(Lcom/inductiveautomation/ignition/designer/model/DesignerContext;)Lcom/inductiveautomation/perspective/designer/DesignerComponentRegistry;
	at org.fakester.designer.RadDesignerHook.startup(RadDesignerHook.java:20)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner$LoadedModule.startup(IgnitionDesigner.java:1828)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner.startupModule(IgnitionDesigner.java:1079)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner.lambda$loadProject$8(IgnitionDesigner.java:909)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:908)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler.lambda$new$2(IgnitionDesigner.java:1892)
	at java.base/java.lang.Thread.run(Unknown Source)
0 Likes

#4

Yes, @PerryAJ has been updating the example here: https://github.com/inductiveautomation/ignition-sdk-examples/pull/28/files

I’m not sure if it’s completely up to date right now, but I’m sure he’ll finish the PR and we’ll merge it once 8.0.3 is released.

0 Likes

#5

Yep! There are a number of changes/api additions for 8.0.3. Should have the final updates for that PR within a day or two of 8.0.3 being released.

0 Likes

#6

Thank you.

0 Likes