Results 1 to 4 of 4

Thread: alarm email

  1. #1
    Join Date
    07.06.2009
    Posts
    738

    Default alarm email

    Hello,

    I was trying to create a new alarm email.

    But I can't seem to figure out what I'm doing wrong ( I compared it to my other loops for sensors but I missing it.)

    running FW 5.10

    according to this page in the web token doc
    $$ALMS[n]$$
    Current alarm state, n determines which alarm source should be displayed
    Since it is unknown if and how many alarms are active the use of the indexed alarm-token makes only sense if used in a loop, see example below
    (ProfiLux firmware 5.05e or higher required)


    msg:
    taken from last page of the token manual

    Alarms

    $$REPS[10][5]$$
    <p>$$ALMS[x]$$</p>
    $$REPE$$

    and I just get :

    Alarms

    Whats wrong ?

  2. #2
    Join Date
    11.09.2011
    Posts
    44

    Default

    I don't think you need the < p> and for an email only when writing webpages (HTML)

    Mine also has [xx] instead of [x]. not sure if that would make a difference.

  3. #3
    Join Date
    18.02.2009
    Location
    Kaiserslautern
    Posts
    7,710

    Default

    and there was an alarm pending when testing?
    No support or warranty issues over PM! Please send PMs to the moderators only if you have general problems with using the forum! Thanks for helping us to keep the support efficient.
    Kein Support oder Reklamationsabwicklung über PM! Bitte senden Sie an die Moderatoren nur PMs bei allgemeinen Problemen mit der Verwendung des Forums! Danke dass Sie uns dabei helfen, den Support effektiv zu gestalten.

  4. #4
    Join Date
    07.06.2009
    Posts
    738

    Default

    Hello,

    I guess user error and docu error (I need to blame something )
    I'm now using this message

    I added the general part+ the $$ALMS$$ because if there are no alarms this tokens becomes => no alarm - all OK

    Why ????
    if you only use the loop
    the msg remains empty if no alarm so you get an empty msg with just nothing

    so I get a repeat on the alert (in general and details ) but at least I get something that is clear with Zero , 1 or more alarms

    Where as in the past I just used the ALMS token and I missed multiple alarms

    General:
    $$ALMS$$

    Alarm Detail:
    $$REPS[10][5]$$
    $$ALMS[xx]$$
    $$REPE$$



    With 3 alarms active I get this email

    General:
    Alarm: Co.S 1

    Alarm Detail:


    Alarm: pH 1

    Alarm: Co.S 1

    Alarm: Co.S 2

    When no alarms I get this msg

    General:
    no alarm - all OK


    Alarm Detail:
    Last edited by Blahenazo; 30.12.2011 at 17:11.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •