Skip to main content
1-Visitor
June 2, 2020
Solved

Creo as a Service: When I deploy the model, Creo will start, but not open the assembly!

  • June 2, 2020
  • 2 replies
  • 9890 views

Hello everybody,

I am successfully using Creo Product Insight. Now I want to move on to Creo as a Service on that same maschine to automatically analyse my model and send the result back to ThingWorx. I followed this PTC videoguide: https://www.ptc.com/en/support/article/CS285051?&sourcearticle=CS318055%3F&source=ArticleViewerRelated

 

I can start the service sucessfully and when i create a new analyticsmodel and upload the creofile as a ZIP, the service starts Creo but does not open the model. I have the visible option on. I do get 2 messages when I start Creo this way -> see appendix  <- but i dont know if they have anything to do with the problem.

 

I am on Creo 6 and Thingworx 8.3.4

 

 

 

 

I would like your help to fix that problem and is there a way to enable CAAS for a model that i uploaded from Creo when i was using the "normal" Projuct Insight features?

Best answer by cmorfin

Issue resolved offline - Summary of what has been done offline for benefit of Community is listed below:

 

- Add ip_address hostanme hostname.domainname in Windows/System32/dirvers/etc/hosts file for the local Creo machine hostname and ip

- confirm that settings in serviceconfig.properties are correct

- ensure that timeout setting under Analytics Manager > Settings are high enough

- Publish model 

While publishing model, take care of not selecting anything in the Creo agent window as this block the output and may make one think nothing is happening

Be patient as model publishing may take 10+ min depending on model

In Creo Agent window one can look for messages of type

sendModelDeployStatus called with mode: <model name> for the start of publishing and checking depl status for: <model name> for the end of publishing

2 replies

19-Tanzanite
June 3, 2020

Hi @IoT_Fynn 

 

I am guessing that those warning dialog you get in Creo are going to be an issue, since Creo is likely to wait for a user input on them before moving forward.

Can you try the following:

- initiate the process

- click ok in those warning dialog box

- open manually the model (maybe it is already loaded in session)

- then simulate incoming data in ThingWorx and see if there is communication with Creo.

 

If that does not help, it might be a good option to open a case to Technical Support for a closer look. Choose Product Creo Parametric and Technical Area Product Insight Extension.

 

Thank you

Regards

Christophe

 

IoT_Fynn1-VisitorAuthor
1-Visitor
June 7, 2020

When i open the model manually, the CAAS service (CreoAnalysisAgentStarter.bat) won't recognise the model has been opened. Instead it tries to open this very model which I uploaded for use with Creo Product Insight by clicking publish sensors. CAAS obviously failes to open this model cause the filepath is set to http://dummy:8080/dummypath.

 

As mentioned before, the deploy failes when tying to to upload the Creo assembly as a ZIP.

Is there a way to use CAAS without uploading the file and instead just open it manually and then (somehow) establish a communication?

19-Tanzanite
June 8, 2020

Hi @IoT_Fynn 

 

Thank you for your answer. 
Somehow I overlooked that you had the issue while deploying the model, I thought it was deployed - apologies for that.

 

Is it possible for you to test with the attached sample model zip file, this is the one used int he video and it is confirmed to work, so that would remove any doubt with he zip file itself.
If you still have problem with this model, could you please send the following data:

  • %TEMP%/ThingworxConnectorEdgeClient.log
  • %TEMP%/CloudManager.log
  • <Creo>\Common Files\text\java\scripts\serviceconfig.properties
  • Screenshots of :
    • Analytics Manager > Analysis Provider
    • Analytics Manager > Settings
    • Composer > SYSTEM > Subsystems > WSCommunicationsSubsystem > Configuration

Thanks

Christophe

 

 

Support
June 15, 2020

Hi @IoT_Fynn.

 

If Christophe was able to help you to find a solution, please mark the appropriate reply as the Accepted Solution for the benefit of others on the community.  If you're still searching for a solution, please let us know and I will be happy to open a case on your behalf.

 

Regards.

 

--Sharon