Skip to main content
Mar 30, 2021 6:32 AM UTC
Question

How to show live coming sensor data on collection widgets

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

5 replies

Mar 31, 2021 2:12 AM UTC

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_316496Author
Mar 31, 2021 11:04 AM UTC
But how to refresh that live data on collection mashups
Apr 1, 2021 3:36 AM UTC

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