FSetPathType (LabVIEW Manager Function)

MgErr FSetPathType(path, type);

Purpose

Changes the type of a path, which must be a valid path, to the specified type, relative or absolute.

Parameters

Name Type Description
path Path Path whose type you want to change.
type int32 New type you want the path to have. type can have the following values:
  • fAbsPath—The path is absolute.
  • fRelPath—The path is relative.

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 or invalid type.