Skip to main content
1-Visitor
May 23, 2017
Solved

ThingPredictor demo problems

  • May 23, 2017
  • 1 reply
  • 2046 views

I've been trying out ThingPredictor this morning and I'm having trouble with the demo here.

I was able to upload the ​JetEngine model, test it, create the Thing Template and then create the JetEngineThing and create the Analysis Event. It all seemed to create fine, then I set the value of the data property as per step 10 and nothing happens.

I assume that I should be able to see an Analysis job on the Analytics Manager and that the results would be written to the dataCollection property of the JetEngineThing.

I'm not sure where to look to try and diagnose the problem. The ThingPredictor log has nothing in it for the time I did this which makes me think there's a problem with the event.

I'd appreciate any help.

Thanks

Best answer by cmorfin

Hi Andrew

I have had some issues when defining the Analysis Event on the Thing Template.

Could you try to define it on the Thing (instead of the Thing Template) to check if this work for you ?

Regarding log, information will be written either:

- in ThingPredictor's log. They are to be found i the logs directory created in the startup directory where you executed the java command for ThingPredictor

- in ThingWorx ApplicationLog.log file

Thanks

Christophe

1 reply

cmorfin19-TanzaniteAnswer
19-Tanzanite
May 25, 2017

Hi Andrew

I have had some issues when defining the Analysis Event on the Thing Template.

Could you try to define it on the Thing (instead of the Thing Template) to check if this work for you ?

Regarding log, information will be written either:

- in ThingPredictor's log. They are to be found i the logs directory created in the startup directory where you executed the java command for ThingPredictor

- in ThingWorx ApplicationLog.log file

Thanks

Christophe

ajackson1-VisitorAuthor
1-Visitor
May 25, 2017

Thanks for getting back to me.

That did work, however, is it going to be fixed with getting an event from the template? If we had a large number of Things it would get very tedious configuring an event for each one individually.

19-Tanzanite
May 26, 2017

Hi Andrew

yes, you are right, this won't be the best if we have a lot of things.

I provided you the workaround to allow you to move forward for the time being but I have also reported this to R&D to understand what is happening with Thing Template (see https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS263568 )

Kind regards

Christophe