psteele (Customer) asked a question.

Inserting tags in text fields

I would LOVE it if we could insert tags into text fields. I've found that I can insert tags into the message field of a multi-state text indicator, but not in a normal text display, or anywhere else that I could find. I would use this quite extensively if it was available, but currently have to stack objects to get the same effect.


.Bob. likes this.
  • kewakl (Customer)

    Have you looked at the Dynamic Text Object? The string tags is not an 'embed' but it can function similarly.

  • psteele (Customer)

    I have used that as a workaround, but it's not always a string tag that I'm after. I can get close to the desired effect by stacking/aligning existing widgets, but it is more work and not as elegant... You have to format each piece to try and match and even then the lines don't adjust to the tag length as it would if it were all one item, so it sometimes gets clipped if the tag value is too long, or you have extra white space if it is shorter than the reserved space.

     

    A couple of examples that I've done on other platforms is:

    Hopper 2 is $$$$$$$$$% at XXX%

    Where $$$$$$$ is a string, (increasing, steady, decreasing) and XXX is a reading from a level sensor.

    Currently logged in as $$$$$$$$$$. Automatically logging off in XXm:XXs.

    Current temp is XXXX °C

    Expand Post
    • kewakl (Customer)

      Yeah, that is why I mentioned that it can function similarly.

      You can condition the desired data to a string, then when the string tag is changed, update the trigger tag a bit later.

      I think of the Static Text Object as a simple, lightweight object that the HMI only needs to build once per the life of the object/screen -- and then expend no other significant effort on the object.

       

      A mid-weight text control could be useful -- one embedded tag, no states to evaluate.

      Expand Post