FVolName (LabVIEW Manager Function)
- Updated2025-01-28
- 1 minute(s) read
FVolName (LabVIEW Manager Function)
MgErr FVolName(path, vol);
Purpose
Creates a path for the volume of an absolute path by removing all but the first component name from path. You can pass the same path variable for the volume path that you use for path. Therefore, you can call this function in the following two ways:
- err = FVolName(path, vol); /* the parent path is returned in a second path variable */
- err = FVolName(path, path);/* the parent path writes over the existing path */
Parameters
Name | Type | Description |
---|---|---|
path | Path | Path whose volume path you want to determine. |
vol | Path | Parameter in which FVolName stores the volume path. |
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 |
---|---|
noErr | No error. |
mgArgErr | 1 |