If ((('ATT1'-'ATT2') < 10) and (('ATT3'-'ATT4')<0.1) and (('ATT5'- 'ATT6')> 0.5)) then 1 else 0
Currently I have the above analysis running, and writing back to a PI tag.
Below is how the PI tag is configured in the AF template. I have the calculation running every minute. Right now when it runs and the calculation reads an instantaneous 1 and then drops back to zero, how do I keep the calculation at the value until it calculates again? I know its a setting for the tag but can't remember what it is.