Nebul0us
Lifetime Supporting Member
Hey everyone, I am trying to right an expression in FTView and getting syntax errors.
If {[PLC]System.Auto} Then 1 OR If {[PLC]System.Estopped} Then 2 Else 0
That's the statement I am using.
Basically if the first tag is true then I want to output a 1, if the second tag is true I want to output a 2, otherwise output a 0.
The error reads...
"Error at line 1, column 34:
Expression is empty or incomplete."
Can anyone help? Very rusty with FTView....
If {[PLC]System.Auto} Then 1 OR If {[PLC]System.Estopped} Then 2 Else 0
That's the statement I am using.
Basically if the first tag is true then I want to output a 1, if the second tag is true I want to output a 2, otherwise output a 0.
The error reads...
"Error at line 1, column 34:
Expression is empty or incomplete."
Can anyone help? Very rusty with FTView....