01-11-2023 12:36 PM
I am trying to build a deployment that includes an instrument library by default from C:\Program Files\National Instruments\LabVIEW 2020\instr.lib\R&S_Phase_Noise_Analyzer. The first thing that happens is TestStand changes the destination directory as to not interfere with other NI files. I don't really understand that as the files in this destination should not be on the destination machine by default. Anyway I changed the destination directory in the deployment as suggested. Now I am getting the following error, LabVIEW: (Hex 0x81) The path to access is too long for the current operating system. This is because of the path structure in the 3rd party library. Looking for some help with how to resolve this issue.
V/r,
Troy
02-20-2023 10:42 PM
I had this problem today too. Not sure what the path limit is, but I shortened the build path to something almost ridiculously short (Z:\tmp) and the build was successful.
02-20-2023 10:44 PM
oh - I should have specified: I encountered this problem while building a real-time executable (*.RTEXE) within the LabVIEW project.
02-24-2023 08:44 AM
Windows is limited to 260 chars path length. Shorten folder names and/or Subst command to shorten it further.
Subst g: "C:\program files(x86)\National Instruments\Labview2021" will save you some 55 chars ...