You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even with the only_windows_dlls lib param set to False, you're blocked at load_lib here (easy change, remove the 'not')
Am I correct in assuming that the load_lib function should be called with the cdeclcall_conv, e.g. here?
is ctypes.WINFUNCTYPE → ctypes.CFUNCTYPE correct? e.g. here
I will continue attempting to sidestep these issues, but if you have any guidance that would be appreciated 🙏
I am happy to lodge a PR eventually (or not) with a clean solution for a couple of camera types, but if you would like a more general solution (across other devices), I am happy to discuss that too.
The text was updated successfully, but these errors were encountered:
Thanks for bringing these issues up! I'll fix them by the next release. What you are suggesting (replacing windll with cdecl and WINFUNCTYPE with CFUNCTYPE seem correct to me. And the only_windows_dlls line is, indeed, a typo on my part.
Let me know how this works out, and if you uncover any other issues!
Works well for all of the Andor cameras I have available so far 🚀
I'll let you know if there's any other issues, especially when I go to other manufacturers. Cheers
Hiya, thanks for the nice package. Andor cameras working nicely on windows.
We're attempting to move to linux, and so I'm digging into pylablib to see if it's simple to swap to .so libs. Also note #69.
I specify the lib location with:
So far the roadblocks I've come up against:
only_windows_dlls
lib param set toFalse
, you're blocked atload_lib
here (easy change, remove the 'not')load_lib
function should be called with thecdecl
call_conv
, e.g. here?ctypes.WINFUNCTYPE
→ctypes.CFUNCTYPE
correct? e.g. hereI will continue attempting to sidestep these issues, but if you have any guidance that would be appreciated 🙏
I am happy to lodge a PR eventually (or not) with a clean solution for a couple of camera types, but if you would like a more general solution (across other devices), I am happy to discuss that too.
The text was updated successfully, but these errors were encountered: