02-17-2021 03:40 AM
Hi, I have problem while running my labview program. It say "the path is empty or relative. you must use an absolute path". anyone can help me? I attach the error screenshoot below. thank you
Solved! Go to Solution.
02-17-2021 03:50 AM - edited 02-17-2021 03:50 AM
02-17-2021 04:38 AM
What is your OS? (Since you use forward slashes, it's probably not windows)
(Your path is definitely malformed, but unfortunately we cannot see your code. Do you use "build path" or plain string operations? What is the path supposed to be?)
02-17-2021 06:17 AM
I'm guessing an error happened upstream that led to an empty string being part of your path instead of whatever was supposed to go there.
02-17-2021 07:05 AM
Since it looks like you are trying to write to the U drive and the forward slashes, I'm guessing you are using a cRIO.
But "//" being in your path indicates that you are missing something in your file path. Check for any upstream errors. Something returned an empty string.
02-17-2021 11:16 AM
On crio, an absolute path should start with a "/" (details).
Could it be the path root is mistyped and should be "/u" instead of "u/"? (Maybe correct path is /u/labviewgarek.csv instead of u//labviewgarek.csv).