Page 1 of 1

Comms error

Posted: Mon 30 Apr 2012 8:53 am
by andrew.eastland
I have been running Cumulus for a number of years now without problem but after a recent power fail it will no longer connect to the device.

Easyweather works fine and has been running without issue for a few weeks now since Cumulus stopped working.

I have tried updating Cumulus to the latest version with no effect and I have now completely re-installed Cumulus onto a second PC with a fresh installation of Win XP, but it still gives the same error. Easyweather works fine on the new setup.

I have copied the Cumulus log entry below.

30/04/2012 09:34:50.885 : 09:34:50 EWUSB: Initialising EW USB
30/04/2012 09:34:50.885 : 09:34:50 EWUSB: Looking for station...
30/04/2012 09:34:50.885 : 09:34:50 EWUSB: Found Fine Offset station
30/04/2012 09:34:50.885 : Loading last N hour data from data logs: 30/04/2012 09:34:48
30/04/2012 09:34:50.885 : Loaded 0 entries to last hour data list
30/04/2012 09:34:50.885 : Loaded 0 entries to last 3 hour data list
30/04/2012 09:34:50.885 : Loaded 0 entries to last 24 hour data list
30/04/2012 09:34:50.885 : 09:34:50 EWUSB: Get history data
30/04/2012 09:34:51.448 : Request EW data block, addr = 000000
30/04/2012 09:34:51.463 : EWUSB: EW startup data line 01 00 AA FF FF FF FF FF FF
30/04/2012 09:34:51.463 : EWUSB: EW startup data line 02 FF FF FF FF FF FF FF FF
30/04/2012 09:34:51.479 : EWUSB: EW startup data line 03 1E 20 08 40 09 00 00 00
30/04/2012 09:34:51.479 : EWUSB: EW startup data line 04 00 00 00 C4 08 00 30 8D
30/04/2012 09:34:51.479 : EWUSB: Bad startup block 0, discarding. Byte 0 = 00 Byte 1 = AA
30/04/2012 09:34:51.510 : PleaseWaitForm.Close executed
30/04/2012 09:34:51.510 : PleaseWaitForm destroyed - end of startup sequence
30/04/2012 09:35:30.261 : MainForm can close
30/04/2012 09:35:30.261 : Showing splash screen
30/04/2012 09:35:31.073 : Exit FormCloseQuery
30/04/2012 09:35:31.073 : MainForm.FormClose
30/04/2012 09:35:31.073 : Terminating threads...
30/04/2012 09:35:31.073 : Threads terminated
30/04/2012 09:35:31.073 : Cumulus closing

I believe Cumulus is expecting to see a 55 aa at the start of the data stream which is why it is dropping the connection, but this unit has been working fine for a number of years previously with Cumulus so why has it suddenly changed and does anyone know how I can get it back working with Cumulus? I have already done all the resets, both from Easyweather and from the panel and I have also let it run with Easyweather for a month to flush through the memory, but nothing will clear the error with Cumulus.

Any help/ideas appreciated.

Re: Comms error

Posted: Mon 30 Apr 2012 9:10 am
by steve
andrew.eastland wrote:I believe Cumulus is expecting to see a 55 aa at the start of the data
That's correct; those are the values that indicate that the station has been initialised correctly. If a full reset of the station hasn't corrected the problem, you can override the check; see the FAQ: http://wiki.sandaysoft.com/a/FAQ#When_I ... ialised.22

Re: Comms error

Posted: Mon 30 Apr 2012 9:42 am
by andrew.eastland
Thanks Steve, that has stopped the error occurring but I am not getting any data through either. Everything is just staying at 0. Log extract below shows we read pressure at least but screen shows pressure at 0000.

30/04/2012 10:33:23.578 : 10:33:23 EWUSB: Initialising EW USB
30/04/2012 10:33:23.578 : 10:33:23 EWUSB: Looking for station...
30/04/2012 10:33:23.578 : 10:33:23 EWUSB: Found Fine Offset station
30/04/2012 10:33:23.578 : Loading last N hour data from data logs: 30/04/2012 10:33:21
30/04/2012 10:33:23.578 : Loaded 0 entries to last hour data list
30/04/2012 10:33:23.578 : Loaded 0 entries to last 3 hour data list
30/04/2012 10:33:23.578 : Loaded 0 entries to last 24 hour data list
30/04/2012 10:33:23.578 : 10:33:23 EWUSB: Get history data
30/04/2012 10:33:24.109 : Request EW data block, addr = 000000
30/04/2012 10:33:24.140 : EWUSB: EW startup data line 01 00 AA FF FF FF FF FF FF
30/04/2012 10:33:24.140 : EWUSB: EW startup data line 02 FF FF FF FF FF FF FF FF
30/04/2012 10:33:24.156 : EWUSB: EW startup data line 03 1E 20 08 40 09 00 00 00
30/04/2012 10:33:24.156 : EWUSB: EW startup data line 04 00 00 00 C6 08 00 50 8D
30/04/2012 10:33:24.156 : Request EW data block, addr = 000020
30/04/2012 10:33:24.171 : EWUSB: EW startup data line 05 85 27 B7 26 00 00 00 00
30/04/2012 10:33:24.171 : EWUSB: Read pressure values: rel=1011.7 abs=991.1 offset =20.6
30/04/2012 10:33:24.187 : EWUSB: EW startup data line 06 00 00 00 12 04 30 11 35
30/04/2012 10:33:24.187 : EWUSB: EW startup data line 07 41 23 C8 00 00 00 46 2D
30/04/2012 10:33:24.203 : EWUSB: EW startup data line 08 2C 01 64 80 C8 00 00 00
30/04/2012 10:33:24.203 : UseDataLogger set, read current data
30/04/2012 10:33:24.203 : Request EW data block, addr = 008D50
30/04/2012 10:33:24.218 : EWUSB: EW startup data line 09 13 27 F2 00 41 83 00 B7
30/04/2012 10:33:24.218 : EWUSB: EW startup data line 10 26 07 11 00 08 AB 03 00
30/04/2012 10:33:24.234 : EWUSB: EW startup data line 11 1E 1F E6 00 4C 4F 00 9A
30/04/2012 10:33:24.234 : EWUSB: EW startup data line 12 27 11 1F 00 0C 0F 02 00
30/04/2012 10:33:24.234 : EWUSB: No history data to read, starting timers
30/04/2012 10:33:24.234 : 10:33:24 EWUSB: Switch to normal running
30/04/2012 10:33:24.234 : Drawing initial graphs from data logs
30/04/2012 10:33:24.234 : Finished drawing initial graphs from data logs
30/04/2012 10:33:24.234 : 10:33:24 Starting Timers
30/04/2012 10:33:24.234 : 10:33:24 Realtime FTP login start
30/04/2012 10:33:24.265 : 10:33:24 Realtime FTP login end
30/04/2012 10:33:24.265 : EWUSB: Closing Please Wait form
30/04/2012 10:33:24.265 : PleaseWaitForm.Close executed
30/04/2012 10:33:24.265 : Initial data processing complete
30/04/2012 10:33:24.265 : PleaseWaitForm destroyed - end of startup sequence

Re: Comms error

Posted: Mon 30 Apr 2012 10:38 am
by steve
Edit cumulus.ini and add a line to the [Station] section:

Logging=1

This turns on the debug log by default.

Run Cumulus for a few minutes, then close it. Zip up the diags folder and attach it here, together with the debug.log file.

Re: Comms error

Posted: Mon 30 Apr 2012 11:12 am
by andrew.eastland
I added that line and then when I restarted it burst into life. It has updated the min/max records with some realistic looking figures but is now showing 0's again in all the current values although the two trend fields have non zero figures.

Log files attached

Re: Comms error

Posted: Mon 30 Apr 2012 11:19 am
by steve
Could you attach the debug.log file, please?

Re: Comms error

Posted: Mon 30 Apr 2012 1:18 pm
by andrew.eastland
Debug.log attached

Re: Comms error

Posted: Mon 30 Apr 2012 1:59 pm
by steve
It seems that the EWdisablecheckinit setting doesn't actually help, because the same check is done each time new data is read. It's odd that no-one else has ever reported this; I guess they've fixed the problem by resetting the station. I've put a fix into the next build of 1.9.3.

Re: Comms error

Posted: Mon 30 Apr 2012 2:34 pm
by andrew.eastland
Ok thanks for the help. Is there any way to reset the station to factory? I have done the memory clear described in the user manual and also done the reset from Easyweather but neither helped.

Re: Comms error

Posted: Mon 30 Apr 2012 3:10 pm
by steve
The way to reset the station is to remove the power - remove the batteries and disconnect the USB cable.

Re: Comms error

Posted: Mon 30 Apr 2012 7:22 pm
by andrew.eastland
Thanks Steve, that seems to have fixed the problem. I am up and running again at last.