1 year ago

#152307

test-img

Owenmoyners

Visa IO error when taking too much data from instrument

I am trying to take data points from an Anto AQ6317C OSA. I have written a script that will take the power and wavelength of the spectrum. It works fine but when I increase the number of data points it gives a visa IO error.

It is an old instrument and gives the data as a string which I convert to a list afterwords. Is there a solution to increase the number of data points without this error arising?

OSA.write("LDATA") spectrum = OSA.read() - error appears here when there is too many points.

python

pyvisa

0 Answers

Your Answer

Accepted video resources