Skip to main content
1-Visitor
January 21, 2022
Solved

Read Device Data

  • January 21, 2022
  • 1 reply
  • 831 views

how to read data from device (thing) and show in to mashup?

Best answer by SachinSharma

@VS_10112707 

 

To view the current property values on a mashup you can use the GetPropertyValues service. If the properties are logged then you use QueryPropertyHistory service of the value stream assigned to the thing. Add these services in the data section of the mashup.

Details of these services are provided here,

http://support.ptc.com/help/thingworx_hc/javadoc/com/thingworx/things/Thing.html

https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Composer/DataStorage/ValueStreams/UsingTheQueryPropertyHistoryService.html

 

Regards,

Sachin Sharma

1 reply

16-Pearl
January 21, 2022

@VS_10112707 

 

To view the current property values on a mashup you can use the GetPropertyValues service. If the properties are logged then you use QueryPropertyHistory service of the value stream assigned to the thing. Add these services in the data section of the mashup.

Details of these services are provided here,

http://support.ptc.com/help/thingworx_hc/javadoc/com/thingworx/things/Thing.html

https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Composer/DataStorage/ValueStreams/UsingTheQueryPropertyHistoryService.html

 

Regards,

Sachin Sharma