In order to calculate the transparency of a liquid, I have an RGB LED and a light dependant resistor either side of some clear tubing inside a clamshell to trap all the light inside.
In my VI, I flash the light 100 x times and read the data from the LDR and put it into High Array. I then read the data 100 times with the LED turned OFF and enter this into Low Array. The data from High array is put into a 'LED ON Graph', and the data from Low array is put into 'LED OFF Graph'. Below is an example of my results.
Does anyone know why my data from the 'LED ON' tends to the value that it reads when the value is OFF. Is there a better way of doing this to get a flat horizontal line for 'LED ON' Vales.
Thank you