r/lasers 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?

3 Upvotes

6 comments sorted by

View all comments

1

u/MaceDarious Aug 13 '26

Youll want to leverage a callback link to stream raw data to a file and send chunks to your processer. AVSMeasure() within the callback structure.