05-19-2006 02:31 AM
05-19-2006 02:41 AM
05-03-2010 12:24 PM
Norbert B,
I'm having the same trouble that my "list folders" function in my program. When I try to view you link you ask zyl7 to do I'm unable to access this link. Could you please send me this link so I can review what you have relayed to zyl7.
Thank you,
Gary Tyrna
05-03-2010 04:42 PM
I believe the link that Norbert was using was this:
Why Does My Executable Not Work When Using the Current VI's Path Constant?
05-04-2010 10:26 AM
Smervurio_fc, thanks you for the information but my problem is in the development environment and I get the error. When I read zyl7's I was focused on the error message since it match what I was getting and I was hoping that the answer would have pointed me to something in the code. I'll keep searching to see if this has shown up in the development environment.
I'm running LV 8.0 and I believe that I have an issue with the path I'm giving the "list folders" function so I'm going to beat up on that before I post anything, I hate to waste other peoples time on a pilot error.
Thanks Again,
Gary
05-05-2010 02:34 AM
Dear Gary,
As far as I remember the problem was coming from the start path given to the "list folder" function. I was buiding this path according to "This VI's path" but not adapting it to the fact I was running the code as an EXE...
05-05-2010 12:15 PM
zyl7,
Thanks for the heads up and the problem was what I was passing to the list folder. I had to go back to the function and change what I had to (trying to concatenate onto a current path) build a new path and that seem to cure the problem. I believe it could have something to do with the path being a network path and not a local. There was also a error in my original path and with permission to the network folder, so it was a bit of a hoop jump.
Thanks Again,
Gary