Creating a New Directory Each Time I Run My LabVIEW Code

Updated Jan 3, 2019

Reported In

Software

  • LabVIEW

Issue Details

I have data that is being stored as I run tests in a loop. I want this data to be stored in a new directory each time I run the program, so that the data doesn't get overwritten. How do I create a new directory each time I run my program?

Solution

To create a new folder each time you run the program, you need a loop like the one below to check for created directories and creates the first one that it doesn't find. 

WAS THIS ARTICLE HELPFUL?

Not Helpful