Hi,
I have a lot of programming experience but I am fairly new to deltav. I have a CND (Condition Block) which is going to set the output of the block when a variable (pressure) passes a certain limit. I want to make sure the output of the CND block goes low only if the value of that variable goes for example 50 less than the limit.
Variable > 100 then CND block output =1
Varable < 50 then CND block output =0
I can also use Calc block and Upper and Lower parameters. I just don't want to Overkill it.
Thanks
In reply to Jack_France:
Andre Dicaire
In reply to Andre Dicaire:
In reply to Bill Tinley:
In reply to learner:
Correct. PP > 50.Sorry for the error.
I agree with Bill that if a block provides the function, best to use it rather than use custom written expressions.
As for CALC blocks in general, my rule is to avoid large complex expressions. One function per CALC block. This makes it easier to troubleshoot and maintain.