When executing the Python program of CS/EG series cameras, the following error message may be displayed and cannot be executed.
FileNotFoundError: Could not find module ‘MvCameraControl.dll’ |
This is due to the fact that the folder where the MvCameraControl.dll resides is not passed through the Windows path.
MvCamCtrldll = WinDLL(“MvCameraControl.dll”)
・Changes for 32-bit environments
MvCamCtrldll = WinDLL(“C:\Program Files (x86)\Common Files\MVS\Runtime\Win32_i86\ MvCameraControl.dll”)
・Changes for 64-bit environments
MvCamCtrldll = WinDLL(“C:\Program Files (x86)\Common Files\MVS\Runtime\Win64_x64\ MvCameraControl.dll”)