I think everything is ok so far. It ran first time but I had to make some mods involving changing folder references in the config file.
One thing that I notice is that now, every time that the external program (a batch file) is invoked, a command prompt window is displayed showing its progress. Is this a Cumulus thing or something else?
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
External program displayed
Moderator: mcrossley
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
External program displayed
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
Re: External program displayed
It's ok, Googling found me some code for a VBS...
Set WshShell = CreateObject("WScript.Shell" )
WshShell.Run chr(34) & "C:\WinSCPMX\upreally.bat" & Chr(34), 0
Set WshShell = Nothing
... that calls my batch file, so the VBS is my "external program" now, instead of the BAT and the command prompt window no longer displays.
I'm not an expert but is it something to do with you using a DOS call now, instead of a WIN call, for the external program?
Set WshShell = CreateObject("WScript.Shell" )
WshShell.Run chr(34) & "C:\WinSCPMX\upreally.bat" & Chr(34), 0
Set WshShell = Nothing
... that calls my batch file, so the VBS is my "external program" now, instead of the BAT and the command prompt window no longer displays.
I'm not an expert but is it something to do with you using a DOS call now, instead of a WIN call, for the external program?
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: External program displayed
The underlying mechanism is the same, but MX uses .Net, so the system calls that it makes are different. With the 'daily' program, I've specified the 'CreateNoWindow' option, but I haven't done that for the others. I'll change it to do that, so hopefully that will fix it.gluepack wrote:I'm not an expert but is it something to do with you using a DOS call now, instead of a WIN call, for the external program?
Steve
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
Re: External program displayed
Thanks
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau