Ok, you have a different problem. In your case, you have the LOCALE set up to save floating point numbers in a non-LANG_C format, which we can't parse. This line: Thermal[0,500000] Should look like this: Thermal[0.500000] ^ Sorry about the confusion. I'm not sure what to do about this problem.