nanophotonics / nplab

Core functions and instrument scripts for the Nanophotonics lab experimental scripts
GNU General Public License v3.0
38 stars 15 forks source link

flameNIR spectrometer not recognised by seabreeze.py's list_spectrometers #106

Closed eoinell closed 4 years ago

eoinell commented 4 years ago

it’s not currently recognised by list_spectrometers despite associating the seabreeze i386 driver. This issue says that it works with the cseabreeze backend, but not the pyseabreeze backend but I'm not sure which nplab uses by default

rwb27 commented 4 years ago

The seabreeze module in nplab is a ctypes wrapper for the C version of seabreeze, using the DLL from their sourceforge page. If it works with the C version of seabreeze published by Ocean Optics on SourceForge (and I'm assuming that's what you mean by cseabreeze - I've not heard it called that before) then it ought to work for us.

Your inclusion of i386 is interesting - does that mean there's something 32-bit flavoured happening? Everything I've tested is using 64-bit DLLs and 64-bit Python. The driver usually shows up with winusb mentioned somewhere, I think that's the key thing to make sure of.

eoinell commented 4 years ago

We upgraded to windows 10, and everything is 64bit and working now, thanks!