Closed simat closed 4 years ago
If you use tail /mnt/SD/logfile/logfile.txt -f You will see the logfile being updated every ten seconds
I did the git pull and there were a handful of files updated. I must be off on some update or two with software and config. Should be getting close. Now when I run I get the following error:
root@beaglebone:/mnt/SD/BatteryMonitor# python3 Python 3.5.3 (default, Jan 19 2017, 14:11:04) [GCC 6.3.0 20170118] on linux Type "help", "copyright", "credits" or "license" for more information.
import batteries Traceback (most recent call last): File "
", line 1, in File "/mnt/SD/BatteryMonitor/batteries.py", line 30, in from getdata import Readings File "/mnt/SD/BatteryMonitor/getdata.py", line 22, in exec(config['files']['interface']) File " ", line 1, in File "/mnt/SD/BatteryMonitor/getatod.py", line 23, in exec(i + '=' + config['AtoDs'][i]) File " ", line 1, in NameError: name 'AtoD' is not defined
I have moved your last comment to a new issue. I can't work out how to just move the comment, have to copy and paste
Simon
Hi George,
The calibration software uses the last ten entries from the Battery Monitor output log so the first thing to check would be the output is being generated correctly.
You can check this with the shell command tail /mnt/SD/logfile/logfile.txt
Before doing this do a git pull as I have fixed a bug to make sure that the log file is written to disk after each update.
Simon