Expressions Logical Calculations
Posted: Thu Feb 14, 2013 12:49 am
Hello
My problem is that i want to control 1 tag with two others.
I have 3 bit tags(Bit1,Bit2,Bit3).
2 of them can toggle them with a click button action.And i have a third tag that is connected to an analog numeric.
I have tried to give to third tag an expression with a logical OR.
So i connect analog numeric with the third tag,and insert expression
"Globals.Tags.Bit1.Value||Globals.Tags.Bit2.Value" (the other two tags)
But nothing happened.I have tried several ways but i cant take the result of logical OR.
Thank you very much.
My problem is that i want to control 1 tag with two others.
I have 3 bit tags(Bit1,Bit2,Bit3).
2 of them can toggle them with a click button action.And i have a third tag that is connected to an analog numeric.
I have tried to give to third tag an expression with a logical OR.
So i connect analog numeric with the third tag,and insert expression
"Globals.Tags.Bit1.Value||Globals.Tags.Bit2.Value" (the other two tags)
But nothing happened.I have tried several ways but i cant take the result of logical OR.
Thank you very much.