String To Path Function

Converts a string, describing a path in the standard format for the current platform, to a path.

The connector pane displays the default data types for this polymorphic function.


icon

Inputs/Outputs

  • cstr.png string

    string can be a string or any data structure that contains only strings, such as an array or clusters of strings.

  • ipath.png path

    path is the platform-independent representation of the path described by string.

    If string is not a valid path descriptor on the current platform, the function sets path to <Not a Path>. path is of the same data type structure as string.
    Note If string is <Not a Path>, the function returns a path to <Not a Path>. If you attempt to use the path, LabVIEW cannot find the file and throws an error.