Creates a new path by appending a name or a relative path to an existing path.


icon

Inputs/Outputs

  • cpath.png base path

    base path specifies the path to which this function appends name or relative path.

    The default is an empty path. If base path is invalid, this function sets appended path to <Not A Path>.

  • cpath.png name or relative path

    name or relative path is the new path component appended to base path.

    If name or relative path is an empty string or an invalid path, this function sets appended path to <Not A Path>.

  • ipath.png appended path

    appended path is the resulting path.

  • Suppose you want to build the path c:\dir1\vis\first.vi. The following table shows examples of how you can specify base path and name or relative path to build this path.

    Operation base path name or relative path
    To specify a name c:\dir1\vis first.vi
    To specify a relative path c:\dir1 vis\first.vi
    To specify an absolute path c:\dir1\vis\first.vi