Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
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
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
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