Refreshing tag history binding

I want to display the downtime of one machine. I have a bool tag for machine running
image
I have 2 label binds for seconds and mins that machine has been down for the shift.

Binding tag history with the aggregation mode duration off (timer for when my bool is false = machine not running)

But my values for downtime are not updating in the perspective page (only when I save again the designer)

Is there a way to refresh this, for example every 20 seconds, so that the times update by themselves?

Your End Date is using now(0) which will only poll once. To keep updating every 20 seconds, use now(20000)

https://docs.inductiveautomation.com/display/DOC81/now

1 Like