Click or drag to resize
OSIsoft, LLC

PIPointFindPIPoint Method (String)

Returns the PIPoint identified by the path.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.6.195
Syntax
public static PIPoint FindPIPoint(
	string path
)

Parameters

path
Type: SystemString
A string containing a fully qualified pathname to the PIPoint.

Return Value

Type: PIPoint
Returns the PIPoint identified by the path.
Remarks
Resolves a string containing a fully qualified pathname to the PIPoint. When resolving multiple points, the FindPIPointsByPath(IEnumerableString) method will provide better bulk performance by reducing round trips to the server. The FindPIPoints Overload methods also provides bulk resolution by PIServer along with the ability to specify point attributes that are loaded.

The fully qualified pathname should be in the form \\server\point. The server portion of the path should be in one of the following forms. The order of the serverName and serverID determines the preference (the first one has higher preference) when resolving the server by Name or ID.

  • serverName
  • {serverID}
  • serverName;{serverID}
  • {serverID};serverName
  • PIServers[serverName]
  • PIServers[{serverID}]
  • PIServers[{serverID};serverName]
  • PIServers[serverName;{serverID}]

The PI Point (tag) portion of the path should be in one of the following forms. The order of the pointName and pointID determines the preference (the first one has higher preference) when resolving the PI Point by Name or ID.

  • pointName
  • ?pointID
  • pointName?pointID
  • pointName;?pointID
  • ?pointID;pointName
  • PIPoints[pointName]
  • PIPoints[?pointID]
  • PIPoints[?pointID;pointName]
  • PIPoints[pointName?pointID]
  • PIPoints[pointName;?pointID]

Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5
See Also
Enabling Operational Intelligence