Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

ProcessIsServer

  • Last UpdatedJul 18, 2023
  • 1 minute read

Determines if the currently executing process contains a particular server component.

Syntax

ProcessIsServer(sServerType [, sClusterName] [, sServerName])

sServerType:

Case insensitive string specifying the type of server to check for. Supported values are "IOServer", "Trend", "Alarm" and "Report".

sClusterName:

Optional case insensitive string specifying the cluster name to combine with the server type specified in the first argument and the server name (if specified).

sServerName:

Optional case insensitive string specifying a server name to combine with the server type specified in the first argument and the cluster name (if specified).

Return Value

TRUE (1) if the process contains the specified component, otherwise FALSE (0).

ProcessIsClient, ServerInfo, ServerInfoEx, ServiceGetList

Example

To execute disk PLC tag simulation code only on the I/O server in Cluster1 with the name IOServer3:

IF (ProcessIsServer("IOServer", "Cluster1", "IOServer3")) THEN

SimulateDiskTags();

END

See Also

Miscellaneous Functions

In This Topic
TitleResults for “How to create a CRG?”Also Available in