Applies To: |
|
Summary: |
How can I initialise Alarm or Trend Cicode functions that can only be called on the server, from a display node? |
Solution: |
The functions below give an example of how
to execute the AlarmAckRec() and AlarmFirstTagRec() functions from
any node. They use the message functions, first to send a message
from a display node to the primary server and then from the primary
server to the standby server.
/*The AlmAck() function is initialised by the Display node
(Don't forget that servers are also Display nodes.) The Alarm tag
is passed into the function as a string and a message is sent to
the alarm server to initialise the AlmAckMsg() function.*/ /* The AlmAckMsg() function is executed on the Alarm server that
the display node is connected to. This could be either the primary
or standby alarm server. The function first preforms the alarm
acknowledge and then sends a message to the other alarm server for
it to also preform the alarm acknowledge.*/ /*OurAlarmAckRec() simply searches for the first occurrence of
an alarm tag and acknowledges it by its record number.*/ |
Keywords: |
Related Links
Attachments