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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Control Thing from vuforia studio

Paitoon
12-Amethyst

Control Thing from vuforia studio

 

Hello, I have control i/o would like to make sample control from vuforia studio

First Thing, I use Thingworx industrial connectivity get the i/o 
It's can show control from Thingworx platfrom panel

 

i/o will show the result when i written value direct to i/o

 

thingworx01.PNG

 

but I dont know how to make control from vuforia studio.
I trial it from slide-bar which it give volume around 0-2

 

i use general service UpdatePropertyValues.
bind the slidebar-value to service value

give the event trigger when value change call service

 

thingworx02.PNG

 

And also to check the service is execute or not

i bind service-update time to label text

 

thingworx03.PNG

 

 

Result of test, I think service is execute, but value i expect it can passed to my i/o is not work
how can i pass the data of slide-bar to my i/o

Thank you

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hello i will update my progress.

PTC Technical staff, suggest me to try to create my own service in purpose to update my Industrial-Thing (SV01tag)

so, 
in Thingworx Platform
- I create service name OnOff
- I create input parameter name InputAR
- I coding service like this
- Then I test service and its work (On Thingworx Platform)

 

thingworx04.PNG


in Vuforia Studio
- I add service name i created (OnOff)
- I bind value toggle button  with service parameter , and trig service when click

 

thingworx05.PNG

 

And its work !!!

that all
 

View solution in original post

3 REPLIES 3

Hi @Paitoon,

u

unfortunately I do not have currently industrial connectivity Thing on my TWX test server and it will take more time to configure it - so therefore will try to answer more general.

I think when we want to use service form Thingworx in Vuforia Studio 

1.) the first step is to test this service on the Thingworx platform to see if this service exactly does that what we want to do. So , you can go on Thingworx to services for the SV01tag thing and test the service with parameter if it will change the value as desired. 

2.) When this work you can check also the permission of this Thing and the permission for execution of services for you used /for Vuforia Studio and for the es-public-access.

If you could verify 1.) and 2.) you can now add your service to external data and bind it to slider. I think your binding is correct  and should work if the service also will manage to change the property on thingworx platform. The slider change event will call the method and the value of the slider is the service parameter- I do not think that you need any points in the service configuration ( so e.g.  uncheck the autoselect first row) because your service is called by the slider change event. 

im in a busy day, will try it later
Thank for your reply

Hello i will update my progress.

PTC Technical staff, suggest me to try to create my own service in purpose to update my Industrial-Thing (SV01tag)

so, 
in Thingworx Platform
- I create service name OnOff
- I create input parameter name InputAR
- I coding service like this
- Then I test service and its work (On Thingworx Platform)

 

thingworx04.PNG


in Vuforia Studio
- I add service name i created (OnOff)
- I bind value toggle button  with service parameter , and trig service when click

 

thingworx05.PNG

 

And its work !!!

that all
 

Top Tags