Skip to main content
Question

Charts Calculations: How to specify offset

  • December 19, 2024
  • 3 replies
  • 49 views

Forum|alt.badge.img+6

When saving & scheduling a calculation, how do I specify the offset? For example, I can specify that I want the calculation to run every day, but how do I specify that I want it to run at 12pm every day?

3 replies

Hi Emily! 

Currently we do not provide this functionality. 

I think this is a great feature request! ​@Arun Arunachalam 


Forum|alt.badge.img+6
  • Active
  • December 20, 2024

Emily,

Maybe you can create and schedule a custom Python function to pull the data from CDF (let’s say a flowmeter), calculate what you need (a daily totalization that runs everyday at 12pm) and write the data back to CDF. To achieve this, you can create a new Time Series to store the data coming from the Python function and then add this TS to your chart. 

It takes a bit of work, but it’s a way to get around this limitation.


Forum|alt.badge.img+6
  • Author
  • MVP
  • January 2, 2025

Emily,

Maybe you can create and schedule a custom Python function to pull the data from CDF (let’s say a flowmeter), calculate what you need (a daily totalization that runs everyday at 12pm) and write the data back to CDF. To achieve this, you can create a new Time Series to store the data coming from the Python function and then add this TS to your chart. 

It takes a bit of work, but it’s a way to get around this limitation.

@alanjhones thank you for sharing this knowledge! Unfortunately, I think this would be a barrier to many of our users who are looking for a no-code solution.