So, not more than 2 mins after I posted this I found a solution! :-D By putting the IF statement before the TIME statement in a single CALC block it works without issue. That said, I have no idea why this is the case. If anyone has any ideas I'd be happy to hear them! IF '^/TIME.CV' < '^/STOP.CV' OR '^/TIME.CV' >= '^/START.CV' THEN '^/PARAM1.CV' := "OK"; ELSE '^/PARAM1.CV' := "NOT OK"; ENDIF; '^/TIME.CV' := time_to_str("%h", time('$time_format:Local'));
View online
You received this notification because you subscribed to the forum. To unsubscribe from only this thread, go here.
Flag this post as spam/abuse.