Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

does pathname in makepath have to be 260 elements?

I'm trying to create a file inside a subdirectory inside a working directory. So far, I'm able to create
a sub inside the working but can't create a file inside
the subdirectory. I'm currently experimenting w/makepath and I keep getting an error telling me the pathname has to be 260 elements. It's probably something simple but it eludes me. Thanks
0 Kudos
Message 1 of 3
(2,394 Views)
The maximum path length on Windows is actually 260 characters. The error you are getting means that your path has more than 260 characters.
Please find the attached VI that creates a text file inside of a newly created subdirectory. The VIs was created in LabVIEW 6.0.2.
I hope this works for you.
Have a great day.

Zvezdana S.
National Instruments
0 Kudos
Message 2 of 3
(2,394 Views)
Sir,
Do you mean CVI as the programming language? This was posted to the LabVIEW forum, but I see there is a e-mail in the CVI support box as well that look very similar.

Daniel McChane
Application Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,394 Views)