10-01-2007 06:55 PM
Hi,
I am developing an application using an Ocean Optics (OO) spectrometer under LabVIEW V8.5. My spectrometer is the USB2000 and I have SpectraSuite and the OmniDriver package (OMNI+SPAM Beta release). The OmniDriver package consists in 2 modules (OmniDriver and SPAM). The java-based functions of those modules are both wrapped into the OmniDriverSPAM32.dll (on a windows platform). The OmniDriver package also comes with 2 LabVIEW libraries corresponding to OmniDriver and SPAM modules. Basically the subvis from these libraries are calling functions from the OmniDriverSPAM32.dll with Call Library Function Nodes.
Is there someone who is using that library under LabVIEW?
Do you guys have a kind of conflict with LabVIEW 8.5 and the OmniDriverSPAM32.dll? Does your application crashes systematically when you REopen your application WITHOUT closing LabVIEW? (I can send you the description to bring about the bug)
I'm trying to get the wavelength calibration of the spectrometer (It comes with the spectrometer) but I'm stuck. I need it to compute the absolute irradiance then the optical power in Lumens. So far I can acquire the spectrum from the spectrometer but only in counts (photons)
Did someone do it before?
Charly
10-02-2007 06:03 PM
Hi Charly,
I see that you are using a couple of different drivers/applications with LabVIEW. I have looked a bit into SpectraSuite and OmniDriver to see if there are any resources internally that would be beneficial in this situation. Unfortunately, I can't find anything at all to reference specifically. I would suggest to try and using the provided resources in LabVIEW to try and access the USB ports, but other than that I would recommend trying to investigate the drivers. If these include subVIs in LabVIEW then they probably have a better route to find more information.
Otherwise, it would be best for another customer to respond if they have referenced these specific packages.
Jason W.
10-02-2007 07:14 PM
Open LabVIEW 8.5
Open sample.vi (from Ocean Optics) ->OK
Run sample.vi ->OK
Stop from the front panel or abort execution ->OK
Run sample.vi again ->OK
Stop from the front panel or abort execution ->OK
Close sample.vi ->OK
Reopen sample.vi ->OK
Run sample.vi -> error 1097 An exception occurred within the external code called by a Call Library Function Node. The exception may have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW.
To run the sample application again I must close LabVIEW then reopen the sample application.
Do you see the same bug?
10-03-2007 04:07 PM - edited 10-03-2007 04:07 PM
Charly,
In searching for the Ocean Optics VIs that you speak of, I see that the package is located on our instrument driver network. Our customers are able to post drivers and software applications here that others can download for use. As you can see from the pages in which these can be downloaded, it has not been looked over by our R&D department and NI Certified. Thus if you are having specific problems it might be best to contact a developer specifically. However, if you have the ability to open and edit these VIs and can pinpoint a location of the error there might be more we can look into. Keep us updated if this can be broken down any further, and more specifics found. Thanks and good luck!
Regards,
Jason W.
Message Edited by jason_w on 10-03-2007 04:09 PM
10-08-2007 06:52 PM
Hi,
I'm trying to do exactly the same thing with you (absolute irradiance
measurements), using the usb2000.
The difference is that I'm trying to do it with the oolvd drivers (although I believe
it’s easier with SPAM).
10-09-2007 11:59 AM
Hi Nasos,
I started to develop my application with the oolvd drivers. OMNI+SPAM drivers are a bit more complicated (for example you have to handle the creation and the destruction of java objects) but more powerful than the oolvd drivers.
1_As for the 'conflict' between LabVIEW and the ocean optics dll I got in touch with ocean optics developers and they are investigating.
2_As for the absolute irradiance I understand that I need a calibration file. However as I don't have an ocean optics calibration lamp I thought I could skip to make an formal calibration by READING the calibration programmed onto my spectrometer's memory chip.
3_In my lab I have a Labsphere integrating sphere LMS-200 and its corresponding calibration lamp. I don't have an irradiance probe yet. My spectrometer is the usb2000 and I have a P400-2-VIS/NIR optical fiber.
Can you let me know about your calibration lamp data file and send me a sample. I think I can load it.
Please can you rephrase that sentence I don't get it If I had some of the OMNI+SPAM documentation could help me
Thanks,
Charly
10-24-2007 03:36 PM
10-24-2007 07:49 PM
02-19-2008 06:16 PM
02-19-2008 08:31 PM
Hi Andrea,
I used the OmnidriverSPAM library not the OOILVD32 library. They both call dlls.
I solved the problem you described by double-clicking on a .bat file which was provided in the installation package. It registered the DLLs onto the windows registers.
Hope it helps
Charly
Labview 8.5