Hi,
i compiled a Labview project as Standard dll for using in a scripting environment.
Then lib_path.vi return data\h5labview32.dll in the folder of the executable:
Powershell x86: %SystemRoot%\SysWOW64\WindowsPowerShell\v1.0\data\h5labview32.dll
LINQPad: %USERPROFILE%\AppData\Local\LINQPad\ProcessServer5X86B\data\h5labview32.dll
I assume in Python it would would be similar.
It works if I create the folder data there and copy
h5labview32.dll
hdf5.dll
msvcp120.dll
msvcr120.dll
szip.dll
zlib.dll
I use some other dll in the data directory (lvanlys.dll and some .Net dll). They are found in the usual data folder in path of the Labview-Project-dll, also if the executable is at other location.
But possible lib_path.vi could have a path input control, and if it is not empty and the file exists this location is stored inside.
Peter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i compiled a Labview project as Standard dll for using in a scripting environment.
Then lib_path.vi return data\h5labview32.dll in the folder of the executable:
Powershell x86: %SystemRoot%\SysWOW64\WindowsPowerShell\v1.0\data\h5labview32.dll
LINQPad: %USERPROFILE%\AppData\Local\LINQPad\ProcessServer5X86B\data\h5labview32.dll
I assume in Python it would would be similar.
It works if I create the folder data there and copy
h5labview32.dll
hdf5.dll
msvcp120.dll
msvcr120.dll
szip.dll
zlib.dll
I use some other dll in the data directory (lvanlys.dll and some .Net dll). They are found in the usual data folder in path of the Labview-Project-dll, also if the executable is at other location.
But possible lib_path.vi could have a path input control, and if it is not empty and the file exists this location is stored inside.
Peter