FName (LabVIEW Manager Function)
- Updated2025-01-28
- 1 minute(s) read
FName (LabVIEW Manager Function)
MgErr FName(path, name);
Purpose
Copies the last component name of a specified path into a string handle and resizes the handle as necessary.
Parameters
Name | Type | Description |
---|---|---|
path | Path | Path whose last component name you want to determine. |
name | StringHandle | Handle in which FName returns the last component name as a Pascal string. |
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 |
mFullErr | 2 |