Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5661

LabVIEW and OceanOptics USB2000

$
0
0

Hi everyone,

I am a new LabVIEW user and I am trying to drive the USB2000 spectrometer with LabVIEW.

 
and I was able to use the USB4000 (which is the older spectrometer model) with the VIs provided with the drivers. I also modified the "acquire continuously" VI adding the possibility to adjust the integration time.
Everything worked fine until I switched to the USB2000 (for its better optical resolution) and I found out that it seems "impossible" to both set the integration time and acquire the sampled spectrum. If I use the basic "acquire continuously" VI it works fine: on the other hand, when I try to add the integration time regulation, it returns me only the first sample. Then, for the following cycles, it remains stuck waiting for the "read optical spectrum" VI results.

I wonder if there is a different procedure to follow in order to set the integration time while acquiring the spectrum (which is a basic function for a spectrometer!) or if I am missing something.
I attach the zipped VI that I modified (the one that works correctly with the USB4000).
Thank you all in advance!

Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>