Skip to main content
Question

Charts Calculations: How to specify offset

  • December 19, 2024
  • 3 replies
  • 29 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
  • 1 reply
  • 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
  • Committed
  • 16 replies
  • January 2, 2025
alanjhones wrote:

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. 


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings