Build Path Function

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: File I/O VIs and Functions

Requires: Base Development System

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

Details  

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>.
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>.
appended path is the resulting path.

Build Path Details

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.

Operationbase pathname or relative path
To specify a namec:\dir1\visfirst.vi
To specify a relative pathc:\dir1vis\first.vi
To specify an absolute pathc:\dir1\vis\first.vi

WAS THIS ARTICLE HELPFUL?

Not Helpful