steve wrote:Ah, oops. I added a timeout of one second reading the data from Davis stations, to make sure that reads don't hang. Is it possible with your emulation that a read could take more than one second?
Hi Steve,
It's possible that some readings can take more than one second, at least when Cumulus is starting.
Here is an extract of the log in the MXdiags folder. It always crash at that point, which seems to be just before it attempts to read the console time
2016-08-23 23:54:26.437 Station type = Davis
2016-08-23 23:54:26.437 LOOP2 disabled
2016-08-23 23:54:26.437 Serial device = COM12
2016-08-23 23:54:26.599 Connected OK
2016-08-23 23:54:26.619 Reading firmware version
2016-08-23 23:54:26.926 FW version = 1.90
2016-08-23 23:54:26.926 Last update time = 23/08/2016 23:54:26
2016-08-23 23:54:26.932 Setting console time
2016-08-23 23:54:27.034 Wait for ACK...
2016-08-23 23:54:27.042 ACK received
2016-08-23 23:54:27.043 Wait for ACK...
Here is an extract of the log, with CumulusMX build 3028
2016-08-24 00:16:10.839 Station type = Davis
2016-08-24 00:16:10.839 LOOP2 disabled
2016-08-24 00:16:10.839 Serial device = COM12
2016-08-24 00:16:10.915 Connected OK
2016-08-24 00:16:10.918 Reading firmware version
2016-08-24 00:16:11.224 FW version = 1.90
2016-08-24 00:16:11.224 Last update time = 24/08/2016 00:16:10
2016-08-24 00:16:11.230 Setting console time
2016-08-24 00:16:11.332 Wait for ACK...
2016-08-24 00:16:11.338 ACK received
2016-08-24 00:16:11.340 Wait for ACK...
2016-08-24 00:16:14.937 ACK received
2016-08-24 00:16:14.942 Reading console time
2016-08-24 00:16:16.042 0B-10-00-18-08-74-3F-3F
2016-08-24 00:16:16.043 Console clock: 24/08/2016 00:16:11