Datalogger working