I am having problems communication with my Ocean Optics USB2000+. I use the drivers from the NI webpage.
The driver for the spectrometer is the one from the NI drivers, so I can see (and talk?) to the device via NI MAX.
The problem comes when I try to get a spectrum from the supplied examples using the "Acquire multiple" or "Acquire Continuous waveform".
When I use the supplied drivers from OceanOptics, and their software oceanview, the device works as it should.
When setting up the connections and initializing the device there do not seem to be a problem, the problem comes in the "Read Spectra.vi", where the VISA read times put before it can read the 512 bytes (it also fails for 1 byte and other).
Error -1073807339 occurred at VISA Read in Ocean Optics 2000 4000.lvlib:Read Spectra.vi
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
I have tried running an IO trace on the problem, the file is attached.
I have tried different solutions found on the web, but none has seemed to work.
I hope you can help me solve this problem.
Jorgen Houmoller. Denmark