FRelPath (LabVIEW Manager Function)

MgErr FRelPath(startPath, endPath, relPath);

Purpose

Computes a relative path between two absolute paths. You can pass the same path variable for the new path that you use for startPath or relPath. Therefore, you can call this function in the following three ways:

Parameters

Name Type Description
startPath Path Absolute path from which you want the relative path to be computed.
endPath Path Absolute path to which you want the relative path to be computed.
relPath Path Path returned by fAddPath.

Return Value

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

Value Corresponding Error Code or Description
noErrNo error.
mgArgErr1
mFullErr2