Skip to main content
1-Visitor
November 9, 2021
Solved

Auto Refresh Properties

  • November 9, 2021
  • 1 reply
  • 1593 views

Hey All! 

 

I am using Vuforia Studio for a project with the Hololens 2. 

To connect IoT-Data I use Thingworx with the MQTT extension. There I use a data change subscription to refresh the data every time new data comes in. So the properties are updated every time new MQTT Data come it. I am now wondering if the data is also refreshed in Vuforia (Properties)? I enabled auto refresh, but in the preview no changes can be observed. 

 

Thanks for the help!

Best answer by RolandRaytchev

Hi @MS_FLiX_HSD ,

so using MQTT e.g.  as mentioned in the  extension quick start    this  is a setting what should be done on TWX server instance where the Experience Service is connected to. The only important point  what you need first to ensure is  that entity will really change. In this case for Studio , so far I know, is not much relevant how the entity will change in TWX (via MQTT or via other event ...). When you know that the entity will change as expected then you need to  :

- depending on project setting (public access ... etc) you need to set the TWX permissions according:

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FAnonymousAccess.html%23

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FGrantUserPermissions.html

-add the entity to datasection according:

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FBeginnerBindTWXData.html

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2Fmetadata%2FMetadata_303_Bind_cartThing.html

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2Fmetadata%2FMetadata_302_Add_Thing.html

 

e.g, samples:

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2Fmetadata%2FMetadata_303_cartThing.html%23

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2Fmetadata%2FMetadata_303_Bind_cartThing.html%23

 

 

 

1 reply

21-Topaz I
November 10, 2021

Hi @MS_FLiX_HSD ,

so using MQTT e.g.  as mentioned in the  extension quick start    this  is a setting what should be done on TWX server instance where the Experience Service is connected to. The only important point  what you need first to ensure is  that entity will really change. In this case for Studio , so far I know, is not much relevant how the entity will change in TWX (via MQTT or via other event ...). When you know that the entity will change as expected then you need to  :

- depending on project setting (public access ... etc) you need to set the TWX permissions according:

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FAnonymousAccess.html%23

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FGrantUserPermissions.html

-add the entity to datasection according:

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FBeginnerBindTWXData.html

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2Fmetadata%2FMetadata_303_Bind_cartThing.html

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2Fmetadata%2FMetadata_302_Add_Thing.html

 

e.g, samples:

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2Fmetadata%2FMetadata_303_cartThing.html%23

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2Fmetadata%2FMetadata_303_Bind_cartThing.html%23

 

 

 

1-Visitor
November 11, 2021

This works. Thank you 🙂