Add Values - Alert Table

Find and share HowTos to various installations / configurations!
12 posts • Page 2 of 2
francois.blaise
Posts:2
Joined: Mon Oct 07, 2013 9:45 am

Re: Add Values - Alert Table

Post by francois.blaise »

Hello,
Sorry for my English.
On the same subject , I try to write in an alarm variable in a _alert_hdl..add_value_x attribute via alertSet . I like when I found the value I [ - -] .
could you point me to a solution?
I use this information to display the bagottement my alarm.
Thank you

Code: Select all

  anytype c;
  time t;
  t = getCurrentTime();
  alertSet(t, 0, "FRAN7:FRAN_EC_EBA0_EB11.TA.DISCPOS.EXPLOITATION:_alert_hdl.._add_value_16", TRUE);
  alertGet(t, 0, "FRAN7:FRAN_EC_EBA0_EB11.TA.DISCPOS.EXPLOITATION:_alert_hdl.._add_value_16", c);
  DebugN("Val",c);

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Add Values - Alert Table

Post by leoknipp »

Hello,

in an _add_value shall be written for an alarm you have to specify the correct alert time (e.g. time shown in the AEScreen) and alert count.
In your example always the current time and count 0 is used and therefore it might not work.

How you can get this information is described here
https://portal.etm.at/index.php?option= ... =3309#3335

Best Regards
Leopold Knipp
Senior Support Specialist

12 posts • Page 2 of 2