Hello
I'm using python API and couldn't found appropriate board so came here. 😛
I have a question about loading nicaiu.dll
Windows 10, python 3.7.6, NIDAQmx 21.8, PyInstaller 4.8
In my code,
self.nidaq = ctypes.windll.nicaiu << spits error message as below.
File "ctypes\__init__.py", line 434, in __getattr__
File "PyInstaller\loader\pyimod04_ctypes.py", line 79, in __init__
pyimod04_ctypes.install.<locals>.PyInstallerImportError: Failed to load dynlib/dll 'nicaiu'. Most likely this dynlib/dll was not found when the application was frozen.
I just installed NIDAQmx and run my code, and it doesn't work for one PC, and it works for the other PC.
One of my friend told me that if somebody used NI module with some PC, nicaiu.dll might remain there even if NIDAQmx is uninstalled, and won't be installed properly later. Is that a possible situation? NIDAQmx was not found in the control panel when I install it on those 2 PCs.
Unfortunately I don't know the history of those PCs.
I also look for the way to include dll when I generate executable program, but still it's strange cause exactly same program (generated by PyInstaller) works in one PC and not works in the other one.
Please let me know if you have any idea or need further information.
Thank you in advance! 🙂
Best,
J.E.Suh