Hi!
I am trying to create a formula which accounts for different reference times depending on the product to be produced. It would be like the Splice function, but for conditions instead of signals or scalars.
My objective is to create a pressure reference profile which is modified depending on the product which is produced. For this matter, I need:
- A formula with different reference capsules (input condition in the reference profile tool).
- A formula with different conditions depending on the product ((Apply to condition in the reference profile tool).
What I would like to do (if it was possible), would be the next:
condition(capsule("2021-06-27T07:15+02:00", "2021-06-28T10:50+02:00"
.splice(condition(capsule("2021-06-27T07:15+02:00", "2021-06-28T10:50+02:00")),$GradeA)
.splice(condition(capsule("2021-06-27T07:15+02:00", "2021-06-28T10:50+02:00")),$GradeB)
.splice(condition(capsule("2021-06-27T07:15+02:00", "2021-06-28T10:50+02:00")),$GradeC)