Author Topic: MessageDisplayByValue  (Read 3227 times)

Tom

  • Newbie
  • *
  • Posts: 1
    • View Profile
MessageDisplayByValue
« on: August 26, 2014, 03:59:35 PM »
I am new to the Advanced HMI system.  I am trying to use the MessageDisplayByValue.  I am pointing the "PLCAddressValue" to a RSLogix5000 tag of "INT" type.  The message function is working properly.  The background color feature is not. Can I select a different color for each value of the "PLCAddressValue"?  It does not appear to be working correctly for me.  I am trying to set 0 = White, 1 = Yellow, and 2 = Red.  When I run the application, I get 0=White, 1=Red, 2=Red.

Any Suggestions

BLFTech

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • BLF-Tech LLC Website
Re: MessageDisplayByValue
« Reply #1 on: August 26, 2014, 05:02:09 PM »
I have used this control and I believe you can select 3 different background colors. You select the default background color to display when you have no alarms. You then can use HighlightColor and HighlightColor2 to select a different color based on the HighlightKeyCharacter and  HighlightKeyCharacter2 that you use. When you create a message you add either HighlightKeyCharacter or HighlightKeyCharacter2 to the end of your message and it will change the background color. Hope this helps.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: MessageDisplayByValue
« Reply #2 on: August 27, 2014, 07:47:02 AM »
The timing of this coming up is actually good. I have been working on an application that replaces a Panelview that uses multiple background colors based on the message. I have modified the MessageDisplayByValue to allow each individual message have it's own background color. Look for this feature in the next version of 3.67