FArrToPath (LabVIEW Manager Function)

MgErr FArrToPath(arr, relative, path);

Purpose

Converts a one-dimensional LabVIEW array of strings to a path of the type specified by relative. Each string in the array is converted in order into a component name of the resulting path.

If no error occurs, path is set to a path whose component names are the strings in arr. If an error occurs, path is set to the canonical invalid path.

Parameters

Name Type Description
arr UHandle DS handle containing the array of strings you want to convert to a path.
relative Bool32 If TRUE, the resulting path is relative. Otherwise, the resulting path is absolute.
path Path Path where FArrToPath stores the resulting path. This path must already have been allocated.

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