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

Application Server

GetNodeName() function

  • Last UpdatedJul 22, 2024
  • 1 minute read

Returns the node name of the computer.

Syntax

GetNodeName (messagetag, nodenum);

Parameters

messagetag

Message tagname that will contain the node name. Enclose the tagname with double quotes when using the function within the Industrial Graphics Editor Script Editor.

nodenum

Number of characters to retrieve from the node name. A literal integer value, integer tagname, or integer expression in the range of 0 to 131.

Example(s)

This script retrieves the node name and assigns it to the NodeName message tagname.

GetNodeName(NodeName,131);

GetNodeName("InTouch:NodeName",131);

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