Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
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
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
And also to check the service is execute or not
i bind service-update time to label text
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
Solved! Go to Solution.
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)
in Vuforia Studio
- I add service name i created (OnOff)
- I bind value toggle button with service parameter , and trig service when click
And its work !!!
that all
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)
in Vuforia Studio
- I add service name i created (OnOff)
- I bind value toggle button with service parameter , and trig service when click
And its work !!!
that all