Indicating the weight by electrical means, e.g. using photoelectric cells involving comparison with a reference value