py-ic-imaging-control
py-ic-imaging-control copied to clipboard
Access violation and IC errors when calling some functions from a separate thread
When calling something like:
cam = ic_ic.get_device(cam_names[0])
from a child thread an access violation occurs.
When passing an IC_Camera
object to a thread and attempting to open the camera from the thread an unexpected IC error occurs.
Threading works without issue if initialisation and opening of cameras are done in the main thread and then passed to worker threads.