UDT member property binding

Is it possible to set a property of a UDT member using the value of another member of the UDT?

For example if you have a UDT with 2 members:

  • Temperature
  • Comms OK

I want to disable Temperature if the Comms OK member is false.

If I understand what you are asking, then yes you can. I have a sql tag in a UDT that uses a memory tag in the same UDT with this notation

'{[.]uname}'

That looked promising, but when I bound a boolean OPC tag member to the Enabled property of another member, the enabled status shows null whether the first member is true or false.

Make sure you don’t use quotes in an expression. The quotes around the tag name is only for queries when it needs to be a string. Also, there should be a tag browser option to get to the UDT members.
image