LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

File Path vs Directory Path

Solved!
Go to solution

I am getting error 117 when I run Create File with Incrementing Suffix.vi.

 

"Directory path supplied where a file path is required."

 

What is the difference between a file path and a directory path?


Thanks.

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 1 of 5
(9,071 Views)

Directory path is a folder. File path is a file.

 

For example, a Directory path would be c:\myTest\testSeries1

A file path would be c:\myTest\testSeries1\myData.txt

Message 2 of 5
(9,058 Views)

Just a guess, but maybe they want a file name instead of a folder name?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 5
(9,055 Views)
Directory is the folder, file is the file
0 Kudos
Message 4 of 5
(9,054 Views)
Solution
Accepted by topic author diarmaede

I figured out what I was doing wrong. I am using Create Directory Recursive for the first time, and I am creating a folder when I thought I was creating a file within the folder. I can fix it from here.

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 5 of 5
(9,046 Views)