ijustdunnoaname
Member
I'm working with Ignition 8.0.7 and am trying to enable/disable certain UDT members based on what PLC the UDT is originating from.
I have a parameter called {PLC_NAME} and I'm trying to evaluate a true/false expression in the "enabled" property of a UDT's member.
It seems no matter what I do, I can't use an expression to disable a member.
I've tried the following
if( ( {PLC_NAME}==name1), 1, 0)
if( tostring({PLC_NAME})==name1), 1,0))
if( tostring({PLC_NAME})="name1"), 1, 0)
Just to see if I could get the enabled functionality to even toggle, I tried:
if(1,0,0) which should disable the member regardless. However that gave me "error committing edit value"
I received the same error when I tried if(true,false,false)
Does Ignition not allow expressions to define when a member is enabled or disabled?
I have a parameter called {PLC_NAME} and I'm trying to evaluate a true/false expression in the "enabled" property of a UDT's member.
It seems no matter what I do, I can't use an expression to disable a member.
I've tried the following
if( ( {PLC_NAME}==name1), 1, 0)
if( tostring({PLC_NAME})==name1), 1,0))
if( tostring({PLC_NAME})="name1"), 1, 0)
Just to see if I could get the enabled functionality to even toggle, I tried:
if(1,0,0) which should disable the member regardless. However that gave me "error committing edit value"
I received the same error when I tried if(true,false,false)
Does Ignition not allow expressions to define when a member is enabled or disabled?