Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

FDirName (CIN Function)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

MgErr FDirName(path, dir);

Purpose

Creates a path for the parent directory of a specified path. You can pass the same path variable for the parent path that you use for path. Therefore, you can call this function in the following two ways:

  • err = FDirName(path, dir);
    /* the parent path is returned in a second path variable */
  • err = FDirName(path, path);
    /* the parent path writes over the existing path */

Parameters

Name Type Description
path Path Path whose parent path you want to determine.
dir Path Parameter in which FDirName stores the parent path.

Return Value

MgErr, which can contain the following errors. If you receive errors from CIN functions, most error names correspond to LabVIEW error codes.

Value Corresponding Error Code or Description
noErrNo error.
mgArgErr1

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit