Measurement of dust grain charging in a laboratory plasma