DCC-Lab / PyHardwareLibrary

A simple application-oriented and device-oriented library with a variety of communication ports for controlling devices (POSIX serial, USB, etc...)
9 stars 3 forks source link

Support for more spectrometers in place #14

Closed dccote closed 3 years ago

dccote commented 3 years ago

A main class (OISpectrometer) has replaced USB2000, and USB2000 now derives from the main OISpectrometer. The differences between models are very small, so the main class can do most of the work. For now, it is fine to provide only a getSpectralData() function (highly specific to the model) and a setIntegrationTime, because the timers are different.

Major overhaul of the documentation to provide solutions if it does not work.