Get/Set Current Directory in LabVIEW

Publish Date: Jan 06, 2010 | 11 Ratings | 3.55 out of 5 | Print | 4 Customer Reviews | Submit your review

Overview

This VI demonstrates how to set or get the current directory in which LabVIEW is working. It calls the functions SetCurrentDirectoryA and GetCurrentDirectoryA located inside the kernel32.dll Windows file. You can use this example as a subVI in your application. If you wire a path to the VI, it sets the current directory to that path. If you do not wire a path, the VI returns the current directory.

 -

Back to Top

Customer Reviews
4 Reviews | Submit your review

Current version  - Oct 5, 2009

Code saved for LabVIEW 8.0+ :http://decibel.ni.com/content/docs/DOC-7192

Convert this to 8.5  - Aug 18, 2008

Could somebody convert this to LV8.5? I would like if all articles on NI.com have 8.5 support.....

  - Oct 24, 2007

Would be nice if labview 8.5 could actually open this!!!

  - Oct 14, 2004

It works partially, sometimes it goes default data directory instead of the current directory.

View more reviews

Bookmark & Share


Downloads

Attachments:

GetSetCurrentDir.VI

Requirements

GetSetCurrentDir.VI

Requirements


Ratings

Rate this document

Answered Your Question?
Yes No

Submit