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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Read Device Data

VS_10112707
11-Garnet

Read Device Data

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

1 ACCEPTED SOLUTION

Accepted Solutions

@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

View solution in original post

1 REPLY 1

@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

Top Tags