Associated data ref. within exp. prop. binding return null

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?

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?

  1. dump: associated data
  2. dump: display path expression



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

OK, thank you for the workarounds…

So it’s a bug.

Prehaps

it could be a feature :smiley: