Instrument Control (GPIB, Serial, VISA, IVI)

Showing results for 
Search instead for 
Did you mean: 

OceanOptics USB2000+ VISA read problem


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", 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

Possible reason(s):

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

0 Kudos
Message 1 of 2

Hi Jørgen.



Plaese have a look at this forum post:

*  Trubble initiating USB 2000 Ocean optics spectrometer


Best Regards

Alex E. Munkhaus
Certified LabVIEW Developer (CLD)
System Engineer
Message 2 of 2