How to get a calculated value from datalink back into PiVision

I'm trying to get a motor run hours meter display for Pi Vision, but all I have to work with is a tag that returns "running" when the motor is running. I don't know how to do that.

 

I am able to use data link to calculate total hours that a motor is on, using In data link's "time filtered" calculation, but I don't see a way to import that into PiVision. 2 questions:

 

  1. is there a way to import the value from datalink to PiVision
  2. Is there a way to do the calculation in PiVision?
Parents Reply Children