09-11-2014 07:25 PM
I ran into a bizarre problem with super long file paths and I think I finally identified it as a bug in LabVIEW (LV 2013). My users sometimes create large file trees with descriptive folder names to keep track of their projects. Files are generated by a non LV application. I had a case where a user would select a file using a LV file dialog (express vi) but the path that was returned truncated the file extension which caused problems. It appears that MAX_PATH in Windows OS (win 7) is considered 260 characters which includes the drive letter and null character at the end; so really its 259 characters for an absolute path. However the LV file dialog cut things off after 255 characters. This small disparity is just enought to cut off the extension on file paths allowed by Windows. Just thought I'd mention it in case anybody else ever runs into this one.
09-12-2014 04:26 PM
09-12-2014 05:05 PM
Thanks Hoovah
09-12-2014 06:55 PM
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-13-2014 07:25 AM