From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-11-2013 07:40 PM
Solved! Go to Solution.
02-11-2013 07:42 PM
02-13-2013 12:23 AM
Here, I post the figures because previously I had some problems with the internet.
02-14-2013 10:30 AM
This is a cross post and I replied to the other post at http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Trubble-initiating-USB-2000-Ocean-optics-spec...
However, since this seems like the more proper post fot a solution I will repeat, (please forgive me forum gods)
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 11:14 AM
Thanks James for updating this.
(I also replied to the other message first)
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:36 PM
The rotate is faster than the rebuild, that makes sense but didn't occur to me.
As far as the error stuff I guess I modified an out of date copy in my rush to get a quick fix. Thank you for a looking at these issues. PS I am also not an NI employee. I am an Ocean Optics employee but also a LV enthusiast.
James
02-14-2013 11:07 PM
Thanks for your solution. In fact, I was trying to find what the problem was and as you mentioned it is neccesary to move 10 pixels. This information appears in the page 12 of the datasheet of QE65000 (http://www.oceanoptics.com/technical/engineering/OEM%20Data%20Sheet%20--%20QE65000.pdf). Here it is describe how the data should be reorganized. I think that the Sub.vi called "Read Spectra.vi" should be modified before to send the data to the variable "Spectrum by pixles", and check if it's neccesary to modify in a similar way the spectrum for other kind of spectrometers.
Thanks so much for your help.
Best Regards
02-26-2013 01:54 PM - edited 02-26-2013 01:54 PM
Version 1.3.2 should be live in a few hours and this latest version implements the changes suggested previously. Would someone mind trying these out and let us know how it goes?
Ocean Optics 2000 4000 Driver Page
03-01-2013 03:01 PM
Hi Shawn
Fast response. Only the solution you implemented was not mine but a good catch from James_G from ocean optics.
My version used the rotate instead of the cut and build.
I can test this end next week, and will supply also some rewritten examples.
I simply hate the "wait until next multiple ms" that NI seems to use in all examples.
I will try to find my arguments on that again, but the most irritating behaviour is the undefined first wait, followed by : why should a multiple be necessary, a simple wait is good enough to keep the machine quiet!
I know that you did not change this but maybe you can help in the fight against using this wait mult in all examples.