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
noErrNo error.
mgArgErr1
mFullErr2