Page 1 of 1

Latest build 3184 can not connect to WMR200

Posted: Tue 07 Jun 2022 6:00 pm
by frankben
Hi,

Since I am using the latest version of cumulusMX I can't make contact with my WMR200 station, previously this was never a problem.
When I select the WMR200 and I restart cumulus I get the following error message.
When I choose WMR100 I can make contact, but then of course I get wrong data readout.
What could be the cause?

Kind regards
Frank

Cumulus MX v.3.17.0 build 3184
Working Dir: C:\CumulusMX\

Cumulus running at: http://localhost:8998/
http://192.168.0.23:8998/

Open the admin interface by entering one of the above URLs into a web browser.

Today.ini = data\today.ini
Last update=2022-06-07T19:45:17
7/06/2022 19:45:17
Type Ctrl-C to terminate
System.InvalidOperationException: The port is closed.
at System.IO.Ports.SerialPort.get_BytesToRead()
at CumulusMX.WM918Station.Start()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
error.PNG

Re: Latest build 3184 can not connect to WMR200

Posted: Tue 07 Jun 2022 6:28 pm
by freddie
frankben wrote: Tue 07 Jun 2022 6:00 pm**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Could you please follow this instruction? The log files will give much more information.

Re: Latest build 3184 can not connect to WMR200

Posted: Tue 07 Jun 2022 6:32 pm
by frankben
Hi Freddie,

Here is the zip file

Thaks

Re: Latest build 3184 can not connect to WMR200

Posted: Tue 07 Jun 2022 6:35 pm
by frankben
I see now in the logfile that the station type is not set!

I did choose WMR200 while doing the wizard setup.

Re: Latest build 3184 can not connect to WMR200

Posted: Tue 07 Jun 2022 7:04 pm
by freddie
Are you upgrading from a previous version of MX? If so, then you can just use your previous copy of Cumulus.ini.

That doesn't explain why your station type didn't save, though. I've not used the setup wizard for a while - is there a "save" button you should press before restarting MX?

Re: Latest build 3184 can not connect to WMR200

Posted: Tue 07 Jun 2022 7:04 pm
by frankben
So, when I choose the wmr200 from the drop down list during the setup wizard it says in the Cumulus.ini at [station] Type=3
If I change this to type=9 then everything works normally.
Type=9 is what it says when I choose wmr100.

Re: Latest build 3184 can not connect to WMR200

Posted: Tue 07 Jun 2022 7:07 pm
by frankben
Are you upgrading from a previous version of MX? If so, then you can just use your previous copy of Cumulus.ini.
It is a clean install and Yes there is a save button.

Re: Latest build 3184 can not connect to WMR200

Posted: Tue 07 Jun 2022 8:07 pm
by mcrossley
Hmm, the log files are saying the station type is to WM918 which corresponds to an ini file type value of 3.

The WMR200 should be type = 9

So does it work correctly with the type = 9 in the ini file?

It could be the wizard page html code is incorrect, could you check what it is set to in the main Station Settings screen (and what the ini file is set to as well)?

Re: Latest build 3184 can not connect to WMR200

Posted: Tue 07 Jun 2022 9:10 pm
by mcrossley
Yep, it is an error in the wizard and settings interface files.

If you replace the files in your folder with this zip, it should work correctly...