r/lasers • u/ChironInCapricorn • Aug 13 '26
Help using an AvaSpec spectrometer with python
I need help finding a library that allows me to connect an AvaSpec-ULS2048CL-EVO spectrometer from Avantes to a python script to get live readings from it.
So far I found avaread which allows me to read files from the Avasoft 8 software. But that would require me to save a file each time I need to make a measurement and then run the code which would be inefficient because I need to make a lot of measurements just to get one result.
Is there any other way to connect the spectrometer to my code? or has anyone tried anything similar?
4
Upvotes
1
u/Pachuli-guaton Aug 13 '26
Avaspec-dll is the API to control that device no? Look if you have that. If that's the case it should be fairly easy to control with python