IFSTALE Examples
- Last UpdatedJan 25, 2024
- 1 minute read
Example 1
The following expression replaces every value in the input stream older than 40 minutes with the value -1.
IFSTALE(SysTimeHour, 40 minute, -1)
Example 2
The following expression replaces every value in the input stream H100.TotalFlow older than 40 minutes with the value from the alternative stream Pump1.FlowRate + Pump2.FlowRate at the corresponding time.
IFSTALE(H100.TotalFlow, 1 hour, Pump1.FlowRate + Pump2.FlowRate)