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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

MQTT Data doesn't update automatically in Vuforia Studio

DG_10787729
4-Participant

MQTT Data doesn't update automatically in Vuforia Studio

Hello, I'm new to Vuforia and Thingworx, so I would appreciate some help with my problem:

I'm trying to get the data from an MQTT-Broker to Vuforia. I've already set up a Thing in Thingworx, which is connected to the MQTT-Broker and I've also created a mapping (subscribed to the topic) and a property with the same name.

The data is being updated automatically in the property, but when I want to use the same data/property in Vuforia Studio (I've added the property from Thingworx to Vuforia Studio as external data), I either have to reload the preview or restart the experience in Vuforia View. At the same time, if I change the value in Thingworx manually, the change is automatically applied in Vuforia Studio/View.

Software:
ThingWorx 9.6.1-b253
Vuforia Studio 9.25.6 (9.25.6.0)

HiveMQ (Free Plan)

Thank you in advance!

ACCEPTED SOLUTION

Accepted Solutions

Click + on "External Data" in Vuforia (right panel). Search your TWX entity in the list. Select Services tab. Search GetPropertyValues. Click green plus. In right panel, drill down into service, under Configuration, set  Auto-Refresh and/or Invoke on Entity Change.

Expand node "current selected item", on the desired property drag/drop to the widget to create the binding.

View solution in original post

4 REPLIES 4

Try not to use the property but the GetPropertyValues service and set it to Auto-Refresh and/or Invoke on Entity Change.

Bind the property from the service result, under "Currrent selected item".

DG_10787729
4-Participant
(To:Rocko)

Hi @Rocko!

Thanks for your reply!

I'm sorry but I'm completely new to this, so I don't really know what/how to do it... ^^'
I'm guessing you want me to use "GetPropertyValues" in Subscriptions in my thing and set the "Auto-refresh" in Vuforia Studio.
I would appreciate it if you could elaborate a bit.

Best regards,
Dan

Click + on "External Data" in Vuforia (right panel). Search your TWX entity in the list. Select Services tab. Search GetPropertyValues. Click green plus. In right panel, drill down into service, under Configuration, set  Auto-Refresh and/or Invoke on Entity Change.

Expand node "current selected item", on the desired property drag/drop to the widget to create the binding.

DG_10787729
4-Participant
(To:Rocko)

Hi @Rocko!

Thank you very much!

It works now.
I really appreciate your help.

Best regards,
Dan

Announcements


Top Tags