Events trigger and colors

Forum Home Forums Understanding the Software Events trigger and colors

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #4520
    Mikhail
    Moderator

    Thanks!

    #6094
    SGG
    Participant

    Hello Mikhail,

    I have been trying to invert the status color for input channel following your instruction but no success yet.

    i want:

    “OFF” to be “NORMAL” with color GREEN.

    “ON” to be “FAULT” with color RED.

    So i created my own record in the unit table, “NORMAL; FAULT.

    Then used a formula at input channel. The formula used is (Cnl; Cnl > 0 ? 114 : 101)

    Thanks for your advice.

    #6099
    Mikhail
    Moderator

    Hi,

    If the above message contains a question, please do the following:
    1. Make screenshots of the settings you already did.
    2. Describe the actual behavior.
    3. Describe the needed behavior.

    #6101
    SGG
    Participant

    Hello Mikhail,

    I have been trying to invert the status color for input channel following your instruction but I have no success yet.

    ACTUAL BEHAVIOR:
    I created my own record in the unit table of administrator, “ NORMAL; FAULT “.

    when the input channel state is NORMAL, the color of the text is RED and when the input channel state is FAULT, the color of the text is GREEN.

    I tried using the formula (Cnl; Cnl > 0 ? 114 : 101) to revert the color so that “NORMAL” text will be GREEN and “FAULT” text will be RED.

    Screenshot of my settings are shown below:
    Event type:
    Event type

    Unit type:
    Unit type

    Input type:
    Input channel with formula

    NEEDED BEHAVIOR:

    I want the “NORMAL” text to be GREEN and “FAULT” text to be RED.

    Help me correct any possible error.
    Thanks for your advice.

    #6102
    SGG
    Participant
    #6113
    Mikhail
    Moderator

    Thank you for the explanation.
    In the Units table set the Sign column like that: Normal; Fault; –
    You need 3 elements to make colors work. I think, we will change the behavior in the future, but now if there is only 2 elements, colors always red and green.

Viewing 6 posts - 16 through 21 (of 21 total)
  • You must be logged in to reply to this topic.