Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetGroupInfo - method of the PmgAlarmStateViewer object

Description:
Returns the information regarding PmaAlarmGroup.
Syntax:
String GetGroupInfo(String sWhat)
Parameters:
sWhat(String) Obtained information type.
groupid - Alarm group identifier. See "Alarm group identifier" configurator.
grouptitle - Displayed name of alarm group. See "Displayed group name" configurator.
grouppath - Path to alarm group PmaAlarmGroup.
Return values:
If an error occures, then the method returns: null for JavaScript or Empty pro VBScript (it can be tested by the Pm.IsValid method).
Note:

This method is also functional in Web panels. The method must be called after the onConnect event and therefore is not functional in the onStart event.

Example:
JavaScriptVBScriptSelect and copy to clipboard

var oViewer = pMe.Items("/Viewer");
var sTitle = oViewer.GetGroupInfo("grouptitle");

History:
Pm9.00.14: Created
PROMOTIC 9.0.14 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice