Binary data logger for long-time measuring