03-12-2018 09:41 AM
I did not notice this, but how can this be, because these are labview tools?
How to fix it?
03-12-2018 10:07 AM
Hi AndryG,
but how can this be, because these are labview tools? How to fix it?
As you only show the error message, but NOT the inputs of your VI I don't know the exact reason.
All I can "see" is: you are working with invalid file paths…
Suggestion: use correct file paths!
03-12-2018 11:22 AM
You have vi, you can see it for yourself! Everything works as long as I do not transfer the exe file to another location, I already wrote, and here the path is set automatically by labview, but when the vi labview root directory changes does not want to create a new file, I'm here and ask why?
03-12-2018 01:55 PM
Hi AndryG,
no, I cannot test by myself!
I don't know
- which parameter you provide to your subVI
- which location the EXE is placed
as long as I do not transfer the exe file to another location,
Why do you do this?
Do you use an installer when you place the EXE on a different computer?
(Even more we don't know as you didn't provide enough information!)
03-12-2018 02:16 PM
I do exe on my computer, and then I use it on another, that's when the problem arises, the path is selected automatically. See the picture, the path is always the same, the directory where exe is, only the file name changes!
03-12-2018 02:21 PM
Hi Andry,
so again I have to ask: what is the "Name dir" parameter? It was empty in your VI…
What is the exact path you put the EXE in?
When we should evaluate your VI you need to provide the information needed to replicate your problem!!!
03-12-2018 02:26 PM
Name dir is the name of the file and the key of the ini file, and the path to the photo in the error is specified.
03-13-2018 02:39 AM
Here is a draft, you can make an exe out of it and test it!
03-13-2018 02:49 AM - edited 03-13-2018 03:03 AM
Hi AndryG,
Here is a draft, you can make an exe out of it and test it!
No, I still can't!
- The LVProj file is just an XML file describing project properties. It does not include any VIs, so the "RW.vi" is missing!
- Even when I use the RedWrite.vi you posted earlier I still miss some information: I have asked several times by now for the "Name Dir" parameter which is empty in that older VI!
Please try this snippet to debug your problem:
Please do string handling with string functions and path handling with path functions, but DON'T mix them in between!
03-13-2018 02:54 AM
In dir can write any name, the project I will prepare and will send you with all vi, thanks.