I am trying to create a PE that looks at a digital tag to see if it is on or off. If the digital tag is on, I want to ignore the value I am reading, if the flag is off I want the value to become the snapshot value.
So lets say tag A is the yes/no flag and tag B is my raw data.
If A = 0 (no) then A=B
If A = 1 (yes) then nothing is updated for A. I want it to appear as no data was read, or at the very least store the previous value for A which would flat line the data while A=1
Make sense? Any help available?