Measurement of grid spacing between solar cells