Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

FAddPath (CIN Function)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

MgErr FAddPath(basePath, relPath, newPath);

Purpose

Creates an absolute path by appending a relative path to an absolute path. You can pass the same path variable for the new path that you use for basePath or relPath. Therefore, you can call this function in the following three ways:

  • err = FAddPath(basePath, relPath, newPath);
    /* the new path is returned in a third path variable */
  • err = FAddPath(path, relPath, path);
    /* the new path writes over the old base path */
  • err = FAddPath(basepath, path, path);
    /* the new path writes over the old relative path */

Parameters

Name Type Description
basePath Path Absolute path to which you want to append a relative path.
relPath Path Relative path you want to append to the existing base path.
newPath Path Path returned by FAddPath.

Return Value

MgErr, which can contain the following errors. If you receive errors from CIN functions, most error names correspond to LabVIEW error codes.

Value Corresponding Error Code or Description
noErrNo error.
mgArgErr1
mFullErr2

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit