Updating a String

Thanks for the follow up Carl - I called into Tech Support and we figured it out via trial & error. It turned out to be a HTML glitch. I needed the string to “wrap” and “center” so I was sending the “” in the string from the PLC. When you do this, the label gets really confused:

[ul]

  1. Type this STRING “This is the Message of the Day” in the PLC tag.
  2. The Label shows “This is the Message of the Day”
  3. Change the PLC String to “No Message Today”
  4. The Label shows “No Message Todayage of the Day”
    [/ul]

The Label won’t update the entire string (not sure why). So I removed that code from the string and we bound it as an expression:

"<HTML><CENTER>" + {HMI/IND/MsgOfDay/STRING}

Then the label started updating the entire STRING as intended. Thank you!