Writing Voltage and Temperature to Output File