pmonGetCount()
The function pmonGetCount() returns the number of managers defined.
Synopsis
int pmonGetCount();
Parameters
-
Return value
The function returns the number of defined WinCC_OA managers or in the event of errors, -1.
Description
The function pmonGetCount() returns the number of WinCC_OA managers defined.
NOTE that the pmonGetCount can only be used on a local computer. A remote UI cannot query the PMON of a server.
EXAMPLE
In the following example, the number of WinCC_OA managers defined is returned and output.
main(mapping event)
{
DebugN("pmonGetCount:", pmonGetCount());
}
Assignment
PMON functions.
Availability
UI