Hello everyone,
I have TAGs from a PLC and they are already in my foundation within a Thing.
I would like to associate a set of these variables to a time series graph.
I have four variables referring to the OEE of each production line in my factory.
So far I only know how to use the getproperties service but I know that to do this I need to use querypropertyhistory.
How do I bind these variables that I have inside a thing for an infotable to later link to the chart?
I already looked at the guide that talks about it, but I was not able to make it work.
Solved! Go to Solution.
To retain history for a graph, the easiest way is to set the property aspect 'Logged' to true.
Next make sure you have a ValueStream created and associated with either the ThingTemplate or the Thing itself
Now when updates come in, they will not only display real time (getproperties) but also get written to your valuestream. In your mashup you can now use QueryPropertyHistory or similar to display that data in your timeseries chart.
I recommend you browse our online learning catalog, as I am fairly sure this is covered in some of our Thingworx intro courses.
To retain history for a graph, the easiest way is to set the property aspect 'Logged' to true.
Next make sure you have a ValueStream created and associated with either the ThingTemplate or the Thing itself
Now when updates come in, they will not only display real time (getproperties) but also get written to your valuestream. In your mashup you can now use QueryPropertyHistory or similar to display that data in your timeseries chart.
I recommend you browse our online learning catalog, as I am fairly sure this is covered in some of our Thingworx intro courses.