Work path problem
If i try to open an exe-file, by the system execute.vi, so it is no problem, if i add the path where this exe is located. But if this exe-file (called by the system execute.vi) calls another bin-, or dll-file there is a problem because, my exe-file uses the windows work path to call the binary-file.
So you could put all the file in one directory and there is no problem if you start your vi by the normal windows explorer with a double klick. That causes that the windows work path would be set to the current directory.
If you start your vi from the labview (file -> open) the windows work path would not be set to this directory and the called exe uses a wrong path to call the binary-file.
Is there a possibility to set the wind
ows work path in labview manually? I figured out, that the Windows work path und the work path from labview are not the same.
If i create an executable there is no problem with the work path too, because if i call the exe the windows work path would be set to this directory and my files are all in the same directory.