How do i compare the values of two (or more) channels in the Sensor Factory and alert if they return different numbers.
I have a checksum that runs on a database table, it returns a number, this checksum runs on what should be identical copies of this database.
so i have Channel Definition
#4:NS4SUM channel(5087,2) #5:NS5SUM channel(5088,2)
and i want to go into error state when channel(5087,2) <> channel(5088,2)
#1:Comparison (channel(5087,2) - channel(5088,2)) = 0
#1:Comparison (channel(5087,2) <> channel(5088,2))
#1:Comparison (channel(5087,2) != channel(5088,2))
and none of them went into error state when the channels reported differnt values. How can this be done? Also, can i compare 4 channel values and go into error state if any of the values differ from the others?