-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix IDS uEye support in UC480 driver #26
Comments
I havent tried Instrumental since the addition of NiceLib but after cloning the latest version my script for using the Thorlabs CMOS camera (IDS uEye) fails as follows: from instrumental.drivers.cameras.uc480 import UC480_Camera,list_instruments error Traceback (most recent call last) C:\Anaconda3\lib\site-packages\instrumental_lib-0.4.dev0-py3.6.egg\instrumental\drivers\cameras\uc480.py in () C:\Anaconda3\lib\site-packages\nicelib-0.4.dev1-py3.6.egg\nicelib\nicelib.py in new(metacls, clsname, bases, classdict) error: symbol 'is_PersistentMemory' not found in library 'C:\Windows\system32\uc480_64.dll': error 0x7f |
@eedm thanks for the report! This is an interesting error, because several things appear to be going on. As the error suggests, your DLL is missing What's odd is that this means your header does not match the library you have installed. If I recall correctly, you were using the IDS uEye DLLs before, yet I see that NiceLib is accessing |
After switching to NiceLib for this driver, we're currently only searching for the Thorlabs version of the header (
uc480.h
), not the IDS version (uEye.h
). I think it's reasonable to implement support for multiple sets of possible headers within NiceLib, just as multiple possible lib binaries are supported.The text was updated successfully, but these errors were encountered: