LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a reference spectrum to carry out spectral measurements in ocean optics spectrometer

Solved!
Go to solution

I have corrected the vi , as you said I have removed every thing and made an empty array with the shift register . Is it the correct way. please guide me if am wrong.

Thanks for replying .

0 Kudos
Message 11 of 22
(3,064 Views)

Thanks a lot for the reply . 

I want to make the vi similar to the spectra suit .

I will make it clear how i want to make my vi

I want to have integration time , scans to avegrage , scope  options in it .

Then i would like to have remove the dark sectrum and make a reference spectrum to carry out measurements .

Then to measure the most important parameters i.e Absorbance and Transmittance .

This is my aim .

Please help me with this! any example vi will be very help ful 

Thanks in Advance 

 

 

0 Kudos
Message 12 of 22
(3,063 Views)

am waiting for help ! anyone there to guide me plz...

I have tried to use array to store the spectrum in an array and subtracted from the (zero) spectrum is it correct way to get the reference line !

Need help!! 

0 Kudos
Message 13 of 22
(3,041 Views)

Hi tanveer,

 

what have you tried so far to allow all those requirements from your list?

 

You surely need a button to allow to store your "dark spectrum"only when the button is pressed.

Then you need a case structure (or Select function) to handle to storing process conditional…

 

Again: Please attach your code as VI or snippet. We cannot (and don't want to) debug any images…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 22
(3,031 Views)

this is the code which i used to removed dark spectrum with a click ! so that i can have a reference to carry out measurements .

suggest if am wrong !

 

0 Kudos
Message 15 of 22
(3,026 Views)

The spectrum is a 1D array, the background spectrum (in the shift register) should also be a 1D array. Do not store a new background every time, otherwise you will not be able to analyze whatever light source you're looking at.

0 Kudos
Message 17 of 22
(3,014 Views)
Solution
Accepted by tanveer1993

I've made a little VI you can play with. Light source on and off is just for fun. Pay attention to what happens in the bottom shift regsiter when you click "take background". Then look in the timeout case and note the difference in the "background" vs. "no background" case. 

0 Kudos
Message 18 of 22
(3,012 Views)

hello ,

Firstly thanks alot for the support with your guidence (specially Gregoryj) i coud make the reference spectrum .(base line correction ).

I have done base line correction , Integration time , Scans to average and 

Now the next  task is to make the Absorbance and Transmission measurements  of the sample.

In spectra suit after removing dark spectrum (baseline line correction ), we save the reference spectrum and carry out the absorbance and transmission measurements .

The most important issue is I wanna use the say graph to display all !

So I wanna make the labview software in the similar way.

 

 

 

0 Kudos
Message 19 of 22
(2,990 Views)

This smells like homework or an assignment......

0 Kudos
Message 20 of 22
(2,981 Views)