10-02-2012 09:04 PM - edited 10-02-2012 09:24 PM
Sorry, I can't attache anything - some problems with the website. What a rot((
Will do it a bit later today.
UPD
I opend MAX - device manager - Ocean Optics spectrometer. MAX says "This device is working properly."
Then I go to visa test panel and check everything:
Manufacturer: USB2000 1.03.1 D (0x2457)
Model: Ocean Optics USB2000 (0x1002)
Serial number: NI-VISA-0
Pipe settings:
Control Pipe: Default (0)
Bulk in Pipe 82
Bulk Out 02
I/O settings :
Timeout 20000
I/O protocol : normal
View attributes:
there is the only with error:
Interupt In Pipe Status: Error VISA: (Hex 0x3FFF0082) The specified object reference is uninitialized.
Input/output : gives error when "querry", "read":
Read Operation
Error
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
Gives error when "read status byte":
Read STB Operation
Error
VISA: (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state).
That's it.
12-14-2012 10:33 AM
Hi.
Did you manage to solve this problem? I'm getting the same errors, but I'm using the ocean optics usb 4000.
Can anyone tell me how can I fix this?
Thanks.
12-14-2012 01:21 PM
12-17-2012 06:19 AM
Hello Albert,
Thank you for your response.
I'm having problems controlling an ocean optics usb4000 spectrometer with LabView.
Software details that I'm using:
-windows Xp, sp2
-Labview 2011, student edition
-NI_VISA 5.1.2
-USB4000 firmware version 3.00.03
Yes, I read it. I'm using the NI drivers for the usb4000 for windows xp (INF and PNF files), I even deleted the ones from OO but I keep getting the same errors.
The MAX recognises the device, USB4000, and says "The device is working properly".
But in the atributes there is one error, HEX 0x3FFF0082, "The specified object reference is uninitialized".
PrintScreen:
configurarion_view_atributes.JPG
In the input/output, MAX test panel returns errors when "query", "read" and "Read Status Byte". Visa (HEX 0xBFFF0015): "Timeout expired before operation completed".
PrintScreen:
IO_basicIO_read.JPG
In the input/output usb control the error is Read STB operation error, VISA: (HEX 0xBFFF003A), "Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state)".
In the advanced,MAX test panel returns errors when execute "Events" and "Triggers". VISA: (HEX 0xBFFF003A).
I even tried the USBRAW-control.vi from the examples folder of Labview and it gave me an output error code 107367418.
PrintScreen:
control_vi_error.JPG
And that's it.
I would like to thank in advance for your time and attention.
Best regards,
ToyB
12-17-2012 01:38 PM
02-08-2013 01:07 AM
Hi, a few months ago I installed the driver to use the USB4000, HR4000 and QE65000 spectrometers with LabVIEW 2010. Recently, I measured the spectrum of the HG-1 Mercury Argon Calibration Source with QE65000 spectrometer using either SpectraSuite Software and a LabVIEW program ("Ocean Optics 2000 4000 Acquire Continuous Waveform.vi, example of library"). When I obtained both spectra I observed that with LabVIEW program there is a shift to infrared region, so I would like to know if there are problems with the example program of the library or what is the problem?. Because this shift can provoke stronger effects on the measurements. Attached to the this message I send the image of the spectra obtained.
The black graphic is the spectrum obtained with example program of LabVIEW including in ocean optics library. The red graphic is the spectrum obtained with SpectraSuite and which coincides with the real spectrum of the HG-1 Lamp.
Regards, Diego
02-09-2013 10:31 AM
Hi
First of all you should not hijack another post with a new message but open a new post.
Having said that:
In both LabVIEW and Spectra suite the software relies on the settings in the spectrometer to calculate the wavelength scale.
Did you correctly read those coefficients and can you check which one was correct with the Hg lines?
And which LabVIEW driver did you use (downloaded from NI?)
02-14-2013 10:25 AM
There is a discrepancy between the LabVIEW drivers and the OOI drivers. NI did not know that some 10 pixels on the Qe65000 are moved from the front to the back in our Omnidriver software. This matters only because our manufacturing uses our driver internally to wavelength calibrate our devices, which means the calibration will be off by this amount when using the NI drivers. The simple fix is to move the first 10 (I think its 10, please check) pixels to the back of the array in the "read spectra.vi". I have put a quick fix together but need someone to verify it. Everything from there onward should work fine.
02-14-2013 10:53 AM
Thanks for updating this.
You indeed moved the pixels to the back, but with rotate (-10) pixels I get the same result, without rebuilding the array, this makes it 10 times faster
Furthermore there is a problem with the merge error in this vi that is already solved on the NI webpage.
In fact the order inwhich the errors are merged is the wrong way around.
When not wiring a visa resource (and that happens sometimes) you will get the wrong errormessage (power needs to be cycled) instead of resource unknown.
So please update the internal used NI software.
PS I'm not an NI employee , just using ocean optics spectrometers.
02-14-2013 08:06 PM
Hi,
I still have exactly the same problems that you have dscribed. So I finally gave up.
It does not work with any vrsion of LV or visa. usb200 works well with original soft from OO.