Skip to main content
1-Visitor
March 30, 2021
Question

How to show live coming sensor data on collection widgets

  • March 30, 2021
  • 1 reply
  • 2111 views

Hi Everyone

I want to show live sensor data on the collection widgets when it will come.
use case:

  • I have 10+sensor which having(member_id,heart_rate_device_id) parameter
  • I have created a service which is storing that live data into DB
  • I want to show all member live data on collection on time when it will come it should be a refresh of every member data
  • I have created an info table property which I am inserting live data but it should not update on member id wise it is adding the next row for the same member id 
  • Please check the screenshot that I have attached I want to show the same as this.

Please suggest the way how to overcome this problem in thingworx

1 reply

5-Regular Member
March 31, 2021

Don't use infotable property, use DataTable or Stream instead, and then you can use primary key to easily update each row of data, and when you bind it to collection widget, you can use autorefresh to trigger the GetDatatable/Stream entries service.

DT_3164961-VisitorAuthor
1-Visitor
March 31, 2021
But how to refresh that live data on collection mashups
5-Regular Member
April 1, 2021

We usually use AutoRefresh widget to trigger the Collection input service.