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

AVEVA™ Plant SCADA

PathToStr

  • Last UpdatedJul 18, 2023
  • 1 minute read

Converts a Plant SCADA path into a string. The path string can contain one of the standard Plant SCADA path operators, BIN, DATA, RUN, USER or a user-configured path. If the string does not contain a Plant SCADA path, it is unchanged.

Syntax

PathToStr(sPath)

sPath:

The Plant SCADA path to convert.

Return Value

A string containing the converted path.

Example

Variable=PathToStr("[data]:test.txt");

! Sets Variable to "c:\MyApplication\data\test.txt".

! assuming that DATA=C:\MyApplication\DATA

See Also

String Functions

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