LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ocean Optics Omnidrivers package

Is this thread still available ?

I am running perfect with LabVIEW 2010 and OceanOptics OmniDriver for LabVIEW to get the XY graph of Intensity vs Wavelength for each channel.

However, my client needs me to grab the Intensity of one specific wavelength (say 400) vs time in real-time.

Can anyone share your experience of similar LabView VI ?

 

Joe

0 Kudos
Message 31 of 79
(2,206 Views)

Hi Joe,

I'm afraid this thread is dead but fortunately it happens that after more than 2 years on this package developement I will work on a similar project this month so may be we could share some insight later.

Regards,

Charly

It's always sunny in California! Certified LabVIEW Associate Developer!
0 Kudos
Message 32 of 79
(2,196 Views)

You might consider dropping Omnidriver and using the NI drivers instead:

 

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=7833BD4A31DA1274E04400144FB7D2...

 

These drivers are easier to work with in Labview than Omnidriver, and in my experience are more stable as well.

 

Jason

 

0 Kudos
Message 33 of 79
(2,191 Views)

Hi, Jason,

 

Thanks for your information. It helps but still not solves my problem for getting the detail and specific data from the spetrometer's channel.

 

Joe

0 Kudos
Message 34 of 79
(2,188 Views)

Hi Joe,

 

I work for Ocean, so hope to answer this for you.

 

The data you'll get out of Omnidriver, are wavelenght versus whatever parameter on the Y-axis (counts, reflection, absorption, irradiance, etc). Normally you'll get an array length of 1024, 2048 or 4096 depending on the amount of pixels the CCD Detector has. The pixels are calibrated in the factory to wavelength, that's why you'll get unique wavelengths per device.

 

We are working to actually get functionality in our firmware to choose which wavelengths an user likes/expects as return values.

Until then you have great tools in Labview to handle this. They are called Threshold and Interpolate.

 

As input you give the required X-value, then feed the result into interpolate to find the right Y-value. If you loop this you'll get a new array with the wavelength you'd like.

 

See below an example from my code.

hope this helps! Good luck! Smiley Happy
Marco

 

ps. the NI drivers are indeed great, we like them. NI supports them. Do look at the functionality you need, as Omnidriver (and especially SPAM our analysis module) do have some additional functionalities. Depends what you're looking for.

 

interpolate.JPG

Message 35 of 79
(2,169 Views)

Hi, Marco,

 

It seems that you got my points of question.

My X-value is the time and the Y-value is the Intensity of a user-defined (input) wavelength from a specific channel.

I do use the Omnidriver's LabVIEW NETWrapper llb but It is not enough.

Could you share your codes (Threshold and Interpolate) to me so that I can figure out what my code is going to be ?

Thanks for the valuable information.

 

Joe

0 Kudos
Message 36 of 79
(2,162 Views)

Hi

The two vi's Marco uses are standard LabVIEW functions, you can find them in the array palette.

greetings from the Netherlands
0 Kudos
Message 37 of 79
(2,144 Views)

Hi, Albert,

 

This threshold array can only pick up those Intensities which are greater than the input threshold.

What I need is to pick up those intensities which are exact from a specific wavelength and draw a graph of these intensities vs. time.

I have no idea of this because I do not know how the data is arranged in the array and how to get the timing data for the graph.

Here I attached one of my testing VI which were modified from OceanOptics sample and it can get intensity of all the wavelength from a specifice channel.

Now, I need to further filter some of data and only focus on data from a specific wavelength.

Thanks for the help.

 

Joe

 

 

0 Kudos
Message 38 of 79
(2,126 Views)

Sorry for the last reply without the attachment.

However, I still can not attach the VI file. Please let me know your email address so that I can send you the sample.

Thanks !

 

Joe

0 Kudos
Message 39 of 79
(2,124 Views)

The search should take place on the wavelength because you want a specific wavelength.

The same index, including a linear interpolation can be used to calculate the amplitude.

 

Take your time to play with both vi's, it took me also a few retries and still is not completely easy.

greetings from the Netherlands
0 Kudos
Message 40 of 79
(2,119 Views)