FRefNumToPath (LabVIEW Manager Function)

MgErr FRefNumToPath(refNum, path);

Purpose

Gets the path associated with the specified file refnum and stores the resulting path in the existing path.

If no error occurs, path is set to the path associated with the specified file refnum. If an error occurs, path is set to the canonical invalid path.

Parameters

Name Type Description
refNum LVRefNum The file refnum whose associated path you want to get.
path Path Path where FRefNumToPath stores the path associated with the specified file refnum. This path must already have been created.

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