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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Showing real Time data coming from opc ua service in a time series chart in Thingworx Studio

dsengupta-21
2-Explorer

Showing real Time data coming from opc ua service in a time series chart in Thingworx Studio

Hi,

I have a created a thing which takes real time value from a OPCUA server. Now I want to map those values in a time series chart. How can I make an infotable of those real time data so that I can use it in the time series chart?

Thanks & Regards,

Dipika Sengupta

5 REPLIES 5

Dipika Sengupta​,

Are you logging the real time value in value Stream? If yes, you can use QueryPropertyHistory or QueryNamedPropertyHistory or QueryNumberPropertyHistory to get the infotable values.

I hope it helps.

Hi Ankit Gupta​,

I am not logging the data. Can you provide some reference where I can learn how to log real time data in a value stream .

Regards,

Dipika

Dipika Sengupta​,

Please check following link for details on ThingWorx Help Center - Value Stream

A short answer would be:

1. Create a Value Stream.

2. Assign the ValueStream to the Thing where OPCUA server is coming.

3. Edit each property you want to log and mark the logged checkbox as checked.

I hope it helps.

lets consider you have Data table 'X' thing then You can just make a value stream  'Y'-> map 'Y' to the respective 'X'  data table thing, -> value stream 'Y' consist of subscription-> add new subscription with thing 'X' and with change of the property value in 'X' call service to add data table entry's and get datatable entry's -> map this to your time series chart. you can watch this video to understand value stream https://community.thingworx.com/videos/1467  

Announcements


Top Tags