I have implemented a simple scaling function on a current reading of a pressure sensor, but now each time I start Enviromon I get an error message saying "logger configuration appears to be incorrect". If I click "OK", all readings seem to be correct except the 4-20mA signal that should be converted to a pressure is off by a factor of 1000; for example, I calculated that it should be 0.47 mbar (over ambiant) at 4.415 mA but Enviromon states it is 470 mbar.
Here's what is in my scaling file:
As extra information, the pressure sensor connected is rated to return a current between 4 and 20 mA, but for an ambiant measurement it returns 3.9 on average.
Does anyone know what is going wrong?