Hi everyone,
I am a new LabVIEW user and I am trying to drive the USB2000 spectrometer with LabVIEW.
I followed the procedure descripted in http://sine.ni.com/apps/utf8/ niid_web_display.download_ page?p_id_guid= 7833BD4A31DA1274E04400144FB7D2 1D
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!