Giter Site home page Giter Site logo

Comments (10)

barnstee avatar barnstee commented on July 21, 2024

Looks like you ran BuildAndRunSimulation twice, instead of calling StopSimulation in between?

from manufacturingontologies.

georgethomas08 avatar georgethomas08 commented on July 21, 2024

Hi @barnstee

I have ran only once, if I delete all the containers and Run the file will it resolve? or any other solution to resolve this?

from manufacturingontologies.

barnstee avatar barnstee commented on July 21, 2024

Stop simulation will clean up everything, so yes. Then simply run BuildAndRunSimulation afterwards.

from manufacturingontologies.

georgethomas08 avatar georgethomas08 commented on July 21, 2024

Hi @barnstee ,

I found the issue there were two network with same name each, i deleted all the networks and rebuilt it,

now except these containers all other are working, these containers are keep on restarting

image

from manufacturingontologies.

barnstee avatar barnstee commented on July 21, 2024

Check the logs of ua-cloudcommander and also verify that you have replaced all the occurrences of ENTER_IOT_HUB_HOSTNAME_HERE, ENTER_UACOMMANDER_DEVICE_NAME_HERE and ENTER_UACOMMANDER_DEVICE_KEY_HERE in the BuildAndRunSimulation.cmd file.

from manufacturingontologies.

georgethomas08 avatar georgethomas08 commented on July 21, 2024

Hi @barnstee

Thanks for the support, I made mistake instead of primary key I used primary connection string, now everything is running but unable to monitor the telemetry using Azure IoT Explorer

this is the error I'm getting port 8081 is in use
image

I can see one of the containers already using this

image

I have tried using the VS code monitor the built-in endpoint but no data is getting displayed , but from Azure metric I can see messages are getting populated

image

There are my queries regarding this

  1. How to view the telemetry data?
  2. How get the view of the digital twin model and twin graph, do need to setup it manually?
  3. Is it mandatory to store the data in ADX to get the complete view?

from manufacturingontologies.

barnstee avatar barnstee commented on July 21, 2024

You can simply change the port of the publisher in question in the following file:
https://github.com/digitaltwinconsortium/ManufacturingDTDLOntologies/blob/aa1d5e9f7f880b02cf68d1cf6d6f10c032040727/FactorySimulation/BuildAndRunSimulation.cmd#L92

Regarding visualization, I recommend ADX dashboards. ADX can be configured using this writeup:
https://www.linkedin.com/pulse/using-azure-data-explorer-opc-ua-erich-barnstedt/
Just ignore the bits in relation to configuring the publisher as you have already done that.

There are also sample ADX visualization queries here:
https://github.com/digitaltwinconsortium/ManufacturingDTDLOntologies/blob/main/ADXQueries/SampleDashboardQuery.kql

from manufacturingontologies.

georgethomas08 avatar georgethomas08 commented on July 21, 2024

Thanks @barnstee

Coming to digital twin, we need to setup those twin models and model graph, I can see two DTDL files in the folder, do you have any documentation how to setup ?

from manufacturingontologies.

barnstee avatar barnstee commented on July 21, 2024

Use Azure Digital Twin Explorer to upload them. You can also upload the entire graph in one go.

from manufacturingontologies.

barnstee avatar barnstee commented on July 21, 2024

closing since issue was resolved.

from manufacturingontologies.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.