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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Read Device Data

VS_10112707
12-Amethyst

Read Device Data

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

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

Announcements


Top Tags