I have an ASEQ instruments LR1 14bits version spectrometer and I want to build a custom python script to get the spectra from a spectrometer. I have visual studio code and its working fine but I don't know about python. I have build the python script but its returning some random data. I want to get it fixed. Basically it would be great if anyone can covert the c code to python script.