Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADT #4

Closed
rploeg opened this issue Apr 23, 2022 · 4 comments
Closed

ADT #4

rploeg opened this issue Apr 23, 2022 · 4 comments

Comments

@rploeg
Copy link
Contributor

rploeg commented Apr 23, 2022

Hi,

I see in the documentation that you leverage Azure Digital Twins. In the sample code I can 'only' find:
Simulator --> IoT Hub --> ADX. Is that correct? Is there no 'integration' sample with ADT?

I have found the DTDL models that I can import in ADT, but don't see the flow yet between the other items.

thanks!

Remco

@barnstee
Copy link
Collaborator

barnstee commented Apr 25, 2022

There is a built-in extension in ADX to query ADT, see here for two sample queries:
https://github.com/digitaltwinconsortium/ManufacturingDTDLOntologies/blob/main/ADXQueries/GetStationsForLineMunich.kql
https://github.com/digitaltwinconsortium/ManufacturingDTDLOntologies/blob/main/ADXQueries/GetUACloudLibraryURLs.kql

so the flow goes: Simulator --> IoT Hub --> ADX <-- ADT

@rploeg
Copy link
Contributor Author

rploeg commented May 6, 2022

Thanks, I saw that. But normally you 'store' the latest datapoints also in ADT (to create for example 3D maps). In this solution ADT is 'only' used as ontology if I am correct?

Thanks for the great work!

@barnstee
Copy link
Collaborator

barnstee commented May 6, 2022

That's correct. For industrial workloads, you get much better perf sending data from IoT Hub directly to ADX and then querying the ADT graph via ADX, just like this reference implementation does.

@rploeg
Copy link
Contributor Author

rploeg commented May 7, 2022

Thanks for explaining the choices!

@rploeg rploeg closed this as completed May 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants