Discussion:
Ocean Optics USB4000 Spectrometer
(too old to reply)
MAH2681
2007-07-13 17:40:05 UTC
Permalink
Hello all,
 
I am trying to get an Ocean Optics USB4000 Spectrometer working under Labview.  Several months back I was able to get the USB2000 model working correctly using a set of vi's I came across on the web, however I seem to have found a snag with the newer model.  The vi's I currently use have the option to specify the USB4000 as the model to be used.  There is one vi in particular that calls the DLL.  I tried exchanging the previous function for the USB2000 with the same one that corresponds to the new model, but have no luck.  This causes and error to appear to appear or Labview crashes. 
 
I was hoping maybe someone out there has either used Labview and the USB4000 or could help me out with the problem I seem to be having with my older set.  The spectrometer works fine under the standard Ocean Optics packages.  I could provide vi's if needed for further explanation.
 
Thanks.... 
TWR21
2008-02-07 20:40:09 UTC
Permalink
I recently had similar problems with my USB2000+ from OceanOptics.  I was receiving a "invalid access to memory" error related their dlls. 
The following fix they suggested worked...but don't ask me how :smileywink:
Goto Start -> Run -> Type in "ooidrv.ini" (without the quotes).  This will bring up the .ini file for your oceanoptics device.  Make sure that "Initialized = 1".
Mine was set to 0 and changing it to one miraculously fixed all the .dll errors I was receiving!
Benlyons
2008-03-04 19:10:06 UTC
Permalink
I was having the same problem with the USB4000 vi. I kept getting a message saying "Error 1097 at Call Library Function node... An exception occurred..." and got Ocean Optics gave me the following advice: "Make sure the user doesn?t have a OOIDrv.ini file in C:\Windows.  If he does,
delete it.  If the user uses the USB4000_sample.vi, all the user has to do is
click ?Cancel? and it should work fine.  However, also make sure that the user
has OOIDrv32.dll, NatUSB.dll and JoeDriver.jar all in the USB4000_specific
folder (by default, these three files are in the C:\Program Files\Ocean
Optics\OOILVD\ folder)."A few other things give that Error 1097, for example: reopening and running a LabVIEW project containing the USB4000 drivers a second time without completely shutting down LabVIEW, or if the spectrometer is already connected before turning your computer on.
Shib
2008-05-26 19:10:04 UTC
Permalink
hi all,cn nybdy help me to get vi for UBS4000 in Labview6.1 to integrate with DAQ(NI-1407) tghrough USB..........thnx in advance..........:)  
Shib
2008-05-26 19:10:05 UTC
Permalink
hi all,cn nybdy help me to get vi for UBS4000 in
Labview6.1 to integrate with DAQ(NI-1407) tghrough USB..........thnx in
advance.........i am using WIn2000(SP4)
CharlyStardust
2008-05-27 19:40:07 UTC
Permalink
Shib,
You'd better start a thread next time you have a question. This one is out dated.
Labview (and other programming languages) drivers for Ocean Optics spectrometers USB2000 and USB4000 can be purchased at Ocean Optics website. They're not good quality though and may not work with Labview 6.1.
Charly
Shib
2008-06-04 19:10:06 UTC
Permalink
Thnx...:)
chris_amadasun
2008-05-27 19:10:10 UTC
Permalink
Hello,Those are not NI drivers. Your best bet is to wait for some one else to reply or you can try sending a message to the posters above you.Message Edited by chris_amadasun on 05-27-2008 01:52 PMMessage Edited by chris_amadasun on 05-27-2008 01:55 PM
Abhinav_Jain
2008-07-19 08:10:04 UTC
Permalink
Hi, I read your post that you worked on ocean optic's USB4000 VI.  I am a chemical engineer and want to automate my analysis which involves USB4000. It is kinda hard for me to get the generic VI work for USB4000.  It would be a great help from your side if you could send me the VI's of USB4000.  My thesis work is struck at obtaining obtaining data from the spectrometer. ***@gmail.com
Shib
2008-07-20 18:40:05 UTC
Permalink
Abhinav,              I am still not got th drivers required for my work using USB4000....I am trying to have it.....
A_J
2008-07-28 06:40:07 UTC
Permalink
Hi Shib,
I have the generic driver and the programming manual with me. If you need then let me know. I can email them to you.
AJ
Beach Comber
2008-08-11 17:40:06 UTC
Permalink
This post might be inappropriate. Click to display it.
CharlyStardust
2008-08-11 18:40:08 UTC
Permalink
Hey Karl,
Can you be more specific? I experienced some timeout issues with Omnidriver.dll too. Sometimes the OO spectrometer stays frozen for no reason at initialization.
 
I noticed that to get a corrected signal the spectrometer has to 'run several integration times'. I mean that there is a signal offset that is corrected run after run. I figured out that a bit less than 20 runs are necessary to to get a corrected signal.
I developed a progress indicator with LV whose total time is 20 runs * integration time. It doesn't communicate with the dll it just assess the necessary time to get accurate measurements.
Charly
cschneider
2008-08-11 19:10:08 UTC
Permalink
Hi, coming back to the original question posted by MAH: In our Lab, we had a similar problem with the OmniDriver-Package from Ocean Optics. See this thread: <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;thread.id=275400&amp;view=by_date_ascending&amp;page=2" target="_blank">http://forums.ni.com/ni/board/message?board.id=170&amp;thread.id=275400&amp;view=by_date_ascending&amp;page=2</a> We finally solved it, but with a trial-and-error-game :-)Hope this helps,Christian
Loading...