Image:Calculate G Values.png

Picture of LabVIEW code -- I'll post code here too I think.