LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

spectral lines of RGB Color sensor

hi
I am trying to do spectral analysis of Intensity-wavelength. What I do to connect my RGB sensor to a myDAQ.

i just need to see the signal (DC-Voltage) output on my PC. The sensor has 20 mV - 1,5 V Output.

This sensor detect color change, so I can save the output to a text file using labview.

then i just want to calculate percentage intensity of light for any one wavelength in the source.

color spectrum.jpg

 

How can I use labview to do this analysis and make a real-time graph of Intensity on the Y axis and wavelength on the X axis ?

Also if someone has a VI which can explain me this it would be highly appreciated.

Thanks in advance for any suggesting.

 

0 Kudos
Message 1 of 2
(4,297 Views)

Hi Bocil,

 

getting the voltage to your VI is pretty easy using the DAQ Assistant Express VI. Follow the linke below to get a step by step tutorial.

 

NI-DAQmx Express VI Tutorial

http://zone.ni.com/devzone/cda/tut/p/id/2744

 

Creating a visualization like the on in your screenshot is more advanced. You can use itensity graph or diagram to acomplish this. It would be a lot easier if you only plotted the voltage value, without the repective color in your graph.

 

Displaying 4 Dimensional Data in a 2 Dimensional Intensity Plot

https://decibel.ni.com/content/docs/DOC-14867

 

Have a look at the this example, it comes pretty close to your projec:

 

Light Intensity Measurement

https://decibel.ni.com/content/docs/DOC-16986

 

Regards, Topp

 

0 Kudos
Message 2 of 2
(4,269 Views)