Example Program Drafts

Showing results for 
Search instead for 
Did you mean: 

Programmatically Append File Path

This VI demonstrates how to programmatically append a file path. This could be helpful if your application is in a folder where another VI, an excel spreadsheet, or other document is located. There are plenty of times where that folder will be moved around on a computer and this program will show how to make sure that your reference for this file is always correct. By using the Strip Path VI the programmer is able to programmatically move up a level in the file structure.

append file path.JPG

Aaron W.
National Instruments
Active Participant StephenB
Active Participant

You can get the VIs current path with the "Current VI's Path" function inside Programming -> File IO -> File Constants

That way you don't have to use VI server.

Stephen B