Promotic
Login logon

Acknowledge - method of the PmgAlarmStateViewer object

Description:
Acknowledgment of one selected item or all displayed items.
Syntax:
Empty Acknowledge(String sWhat, [String sUserNote])
Parameters:
sWhat(String) Obtained information type.
sel - Acknowledgment of the selected item
all - Acknowledgment of all displayed items
sUserNote[optional] (String) The text note that is stored to the data together with the acknowledged alarm item (it is enabled on the "Storage" tab).
Note:
This method is also functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oViewer = pMe.Items("/Viewer");
oViewer.Acknowledge("sel");

History:
Pm9.00.34: New sUserNote parameter containing a text note.
Pm9.00.00: Created
PROMOTIC 9.0.34 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences