Accessing tag attributes (EngUnit, Scaled Low, etc) in PARAMS bound to a UDT

Hi,

I’m using an embedded view as a widget in perspective and have a UDT bound to the PARAMS of the view.

udt1

Is there a way to access the attributes of the PV tag other than the value? I’m specifically looking to access the Engineering Units, Engineering Low/High Limits, and Scaled Low/High.

Thank you,
Ali

Not using the method you’re using, no. What I normally do is to pass in the path to the UDT instance and then use indirect tag bindings to bind to specific tags or properties of tags. Well, actually I pass in

  • deviceName
  • deviceParentPath
    and then bind a custom prop
    deviceTagPath = {deviceParentPath} + '/' + {deviceName} (psuedocode)
1 Like