mik977
August 20, 2014, 11:03am
1
I am trying to do the following:
add an alarm to a tag
add a few associated data properties like “MyCustom1”
reference these properties in an expression binding on ‘Display path’ property
I can access all standard properties such as:
{Value}, {notes}, …
but not
{MyCustom1}
I get null as result.
Using Ignition 7.7
Is this a bug?
mik977
August 22, 2014, 11:08am
2
Can anyone confirm this is a bug, or am I doing something wrong?
Can you post a screen shot of how you set up your custom prop and how you are doing the referencing?
mik977
September 1, 2014, 5:29pm
5
Hi, I will need this feature for alarm journal customization, and possibly event journalling…
Have I bumped into a bug or am I doing something wrong?
Hi Mik977
I can repeat this, it looks like the display path expression returns a Null when evaluating associated data, you could overcome this by placing your text as either fixed such as this
concat("hello", " - ",switch({Value},0,1,2,’Zero’,’One’,’Two’,"???"))
or by using string tags
concat("hello", " - ",switch({Value},0,1,2,{[.]Text/Zero},{[.]Text/One},{[.]Text/Two},"???"))
and place your text in the tags.
Chris
mik977
September 2, 2014, 9:26am
7
OK, thank you for the workarounds…
So it’s a bug.