Open binflo13 opened 5 years ago
Hi @binflo13 , did you resolved that issue? I have the same problem here
would you please let me know did you fix your question or not? I got already try this code but it still not work.
pParam = ueye.c_wchar_p("....ini") ueye.is_ParameterSet(hCam, ueye.IS_PARAMETERSET_CMD_LOAD_FILE, pParam, 0)
Good morning,
I´m trying to load a camera configuration file (.ini) with the following function:
pParam="config.ini"
ueye.is_ParameterSet(hCam, ueye.IS_PARAMETERSET_CMD_LOAD_FILE, pParam, 0)`But I get this error:
File "E:/Proyectos/PruebaIDS/FreerunMode.py", line 55, in <module> ueye.is_ParameterSet(hCam, ueye.IS_PARAMETERSET_CMD_LOAD_FILE, pParam, 0) File "E:\Proyectos\PruebaIDS\venv\lib\site-packages\pyueye\ueye.py", line 8271, in is_ParameterSet _pParam = _pointer_cast(pParam, ctypes.c_void_p) File "E:\Proyectos\PruebaIDS\venv\lib\site-packages\pyueye\ueye.py", line 102, in _pointer_cast _to_obj = ctypes.cast(ctypes.pointer(from_obj), to_type) TypeError: _type_ must have storage info
Am I passing the right parameters to the function?