• Increase font size
  • Default font size
  • Decrease font size

pathStripToDir - Retrieve the path to the directory containing a VI

Quick solution for retrieving the path to the directory where a VI is stored.

The main purpose of this VI is to avoid problems when a VI is inside a LLB library and we want to get the path to the directory that contains the VI instead of that to the library. The input is stripped until it gets to a directory (folder).

e.g. c:\labview\example.llb\example.vi and c:\labiew\example.vi will both turn into c:\labview

created with LabVIEW 7.1, can be used with LabVIEW 7.1 or higher



Add your comment

Your name:
  The word for verification. Lowercase letters only with no spaces.
Word verification: