Reads meter pulses and writes them, along with analog reading, to text file.