In situ measurement with the portable XRF device