What is LabVIEW File Path Control/Constant Length Limit?

Updated Aug 21, 2023

Reported In

Software

  • LabVIEW

Operating System

  • Windows

Issue Details

When I specify file path in LabVIEW, it seems that the data may not be transferred correctly if the path length and file name is too long or when the folder hierarchy is too deep. What is the maximum number of characters for LabVIEW file path control and constant? 

Solution

The length of the file name and file path that can be recognized by LabVIEW is the same as the length that is specified by Windows. For Windows 10, you can specify a file path or file name up to 260 characters, while for Windows 7, the maximum length is 265 characters. Please refer to your Windows version regarding the length limit.

Disclaimer: LabVIEW does not support long path names on Windows. Although Windows includes support to enable LongPaths in the Registry Editor, each individual application must have this support included in the code.

Windows is a registered trademark of Microsoft Corporation.