cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Connecting HoloLens 2 with Thingworx Composer

WB_9962145
6-Contributor

Connecting HoloLens 2 with Thingworx Composer

Hello everyone,

 

I was wondering how would i go on about connecting HoloLens 2 with Thingworx ?

I'm currently exploring the capabilities i could get out of the mix of the two. Maybe displaying a mashup?

 

Any insight about connexion protocol's and/or any sort of reading would be helpful.

 

Thank you in advance. 

3 REPLIES 3

WB_9962145
6-Contributor
(To:WB_9962145)

I'd like to add that i'm considering using Vuforia on Unity

Hi @WB_9962145 ,

in generally the Vuforia on Unity as Vuforia Engine is only a AR feature which is added to Unity functionality and allow to track the video inputs of the device camera , the device sensor etc. according to the overview   https://library.vuforia.com/articles/Training/vuforia-fusion-article.html

The Vuforia Engine functionality does not contains any functionality to access data on external servers ( expect the license features  of Vuforia Engine check https://developer.vuforia.com/license-manager  and  Vuforia cloud when cloud targets are used  according   https://library.vuforia.com/objects/cloud-recognition

Therefore when you need to have a connection from your app (unity app) to a Thingworx server you need to implement this functionality  by yourself e.g. as part of unity library - e.g. To access to some Thingworx functionality  you need to be able to use some browser functionality to open a TWX mashup or to call a rest api call to the Thingworx server ->  means to call TWX services and to received the results

I think the simples way is to use some rest API calls -> as mentioned in https://www.red-gate.com/simple-talk/development/dotnet-development/calling-restful-apis-unity3d/

The mentioned link describes the usage  of the  general rest API calls form Unity. To performs a TWX rest call you need to check the  following related documentation links (below) to see the syntax of the call which should be sent to TWX server

http://support.ptc.com/help/thingworx/platform/r9/en/#page/ThingWorx/Help/REST_API/ThingWorxRESTAPI.html#

https://www.ptc.com/en/support/article/CS329281

When you use Vuforia Studio on HoloLens (means without Unity) and the app is working inside the Vuforia View – In this case you can use the Studio External Data functionality  (definition in external data UI panel) to receive data from executed TWX services and to get values of diverse things properties  so that you could basically display this data using the Studio 2d and 3d widgets. This means the efforts is much lower compared to the implementation work of such connection to Thingworx in Unity.

Top Tags