Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

OceanOptics USB2000+ VISA read problem

Hi,

I am having problems communication with my Ocean Optics USB2000+. I use the drivers from the NI webpage.

http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=16709

 

 

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:

Error -1073807339 occurred at VISA Read in Ocean Optics 2000 4000.lvlib:Read Spectra.vi

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.

 

Regards

Jorgen Houmoller. Denmark

0 Kudos
Message 1 of 2
(4,227 Views)

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
(4,194 Views)