Hi neil408,
Can you describe the RGB sensor for me? Does it output a specific voltage per wavelength or color? If so, it would be very easy to help you. I'm very confused on what kind of hardware sensor you have. Who manufactures it? What does it output?
Chad AE
Applications Engineer - National Instruments