MgErr FPathToArr(path, relativePtr, arr);
Converts a path to a one-dimensional LabVIEW array of strings and determines whether the path is relative. Each component name of the path is converted in order into a string in the resulting array.
If no error occurs, arr is set to an array of strings containing the component names of path. If an error occurs, arr is set to an empty array.
Name | Type | Description |
---|---|---|
path | Path | Path you want to convert to an array of strings. |
relativePtr | Bool32 * | Address at which to store a Boolean value indicating whether the specified path is relative. This parameter is a pointer. |
arr | UHandle | DS handle where FPathToArr stores the resulting array of strings. This handle must already have been allocated. |
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 |
---|---|
noErr | No error. |
mgArgErr | 1 or unallocated array. |
mFullErr | 2 |