AlexShkarin / pyLabLib

Python package for device control and experiment automation
http://pylablib.readthedocs.io
GNU General Public License v3.0
125 stars 28 forks source link

Princeton Instruments PICam library Windows Error #40

Open sp-99 opened 1 year ago

sp-99 commented 1 year ago

Hi, I am trying to setup pyLabLib to work with a PIXIS 100F, with PiCam installed on the PC. I have tried using the example code from https://pylablib.readthedocs.io/en/stable/devices/Picam.html, but it fails if I try to list devices or connect to the camera (terminal below). I have tried setting pll.par["devices/dlls/picam"] (even though PiCam is in the default install directory C:\Program Files\Princeton Instruments\PICam\Runtime) but there is no difference. Any ideas what could be causing the problem? Thanks! image

mitchem890 commented 1 year ago

Tagging on that I am also getting the same error with the Pixis 1024

mitchem890 commented 1 year ago

Okay, I think I have my issue fixed hopefully this fixes yours as well.

I followed this guide https://answers.microsoft.com/en-us/windows/forum/all/error-code-0xc06d007e-brand-new-computer/e76fbd4d-fdea-4c51-8357-16267d150ed1

Running SFC /scannow found some corrupted files DISM was able to fix them I then reran SFC 3 more times and it reported no corrupted files

After that I had to restart my computer. Now when running the sample code in the read the docs. PrincetonInstruments.list_cameras() is able to find my camera